Houdini imports works in houdini interpreter but maya imports does not. I'm (unfortunately) on Win10 and need this to work on Win10 since that is what we use at company. Maya imports works in maya python, but import hou does not. I have merged Maya devkit paths and houdini paths in P圜harm for both maya python and houdini python. …" I don't get how it can find “first” instance (OpenMaya.py) but then it can't find “maya.api._OpenMaya_py2”. closest I to solution is to set P圜harm to search for modules inside maya devkit (while in Houdini python interpreter and completition works) but I'm getting folowing results: " … Traceback (most recent call last): File “U posterToolsBase/mayaScripts/removeNamespace.py”, line 1, in import as om File “C:\Program Files\Autodesk\Maya2018\Python\Lib\site-packages\maya\api\OpenMaya.py”, line 25, in import maya.api._OpenMaya_py2 ImportError: DLL load failed: The specified module could not be found. The temp pythonsync directory I believe is copied over from the Deadline repo pythonsync/pythonsync.zip file at some point during the worker’s operation.I've tried this (and many other ideas) but without success Is anybody succeed running importing hou in Maya python (or PyMel, maya.cmds or in Houdini python)? I can't find any solution on net. However when the temp path is added it’s missing one level of folder structure ( pythonsync) in the path and so it cannot import six. When the system path is added, the MayaBatch plugin is able to import six. We haven’t been able to find a pattern yet for when each path is getting prepended to PYTHONPATH. Temp C:\Users\\AppData\Local\Thinkbox\Deadline10\pythonAPIs\ System C:\program files\thinkbox\deadline10\bin\pythonsync Sometimes the PYTHONPATH ( sys.path) has the system installed copy of Deadline’s pythonsync libraries (containing six) in the first spot of the PYTHONPATH and sometimes it has the temp version in the PYTHONPATH. MayaBatch is importing six at the top of the MayaBatch.py plugin file. 20:33:33: at (TaskLogWriter ait, CancellationToken we’re actually getting a similar error with MayaBatch. 20:33:33: at (String aix, Job aiy, CancellationToken aiz) 20:33:33: at (Job job, CancellationToken cancellationToken) 20:33:33: at (DeadlineMessage bed, CancellationToken bee) 20:33:33: RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-DAN3-0000.log 20:33:33: RenderPluginException.HasSlaveLog: True 20:33:33: RenderPluginException.Level: Major (1) 20:33:33: RenderPluginException.Cause: JobError (2) 20:33:33: RenderPluginException – ImportError : No module named six 20:33:33: Scheduler Thread - Render Thread 0 threw a major error: 20:33:30: 0: Encountered an error while executing plugin command of type ‘Initialize Plugin’ 20:33:30: 0: Executing plugin command of type ‘Initialize Plugin’ 20:33:29: Plugin MayaBatch was already synchronized. 20:33:29: 0: nogui was not added to the CommandLineParser. 20:33:29: All job files are already synchronized 20:33:06: 0: SandboxedPlugin: Render Job As User disabled, running as current user ‘dan’ 20:33:06: 0: WARNING: Python version for ‘MayaBatch’ plugin is not specified! Defaulting to Py2. 20:33:06: 0: Loading Job’s Plugin timeout is Disabled 20:33:05: Scheduler Thread - Job’s Limit Groups: 20:33:05: Skipping house cleaning because it is not required at this time 20:33:05: Skipping repository repair because it is not required at this time The MEL and Python are the scripting languages used in Maya. Skipping pending job scan because it is not required at this time Maya interface by using the MEL script or the Python script. Any help how to solve would be appreciated, we are new to deadline from other managers and not sure where to look! One of our nodes suddenly stopped rendering.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |