Maya server error'ing out

   2918   3   1
User Avatar
Member
14 posts
Joined: Nov. 2017
Offline
Hi there,

I'm not sure what I'm doing wrong here, but I've got a simple file pattern going into a mayaserver begin.

I'm assuming that it has to do with my setup, but cannot figure out what the problem is. Any help would be greatly appreciated

Houdini 18.0.416
Maya 2019.2

I keep getting errors like this:

INFO:__main__:Attempting to connect to sharedserver at ('DE#######DL', 54627)
Traceback (most recent call last):
File “C:/Users/S#######e/AppData/Local/Temp/houdini_temp/TOPSPRoc_A05/pdgtemp/7368/scripts/mayarpc.py”, line 41, in <module>
import maya.standalone
ImportError: DLL load failed: The specified procedure could not be found.
ERROR:__main__:Traceback (most recent call last):
File “C:/Users/S#######e/AppData/Local/Temp/houdini_temp/TOPSPRoc_A05/pdgtemp/7368/scripts/sharedserver.py”, line 381, in <module>
main()
File “C:/Users/S#######e/AppData/Local/Temp/houdini_temp/TOPSPRoc_A05/pdgtemp/7368/scripts/sharedserver.py”, line 368, in main
waitOnPort(net_hostname, port, args.proto_type, args.timeout, proc, log_fname)
File “C:/Users/S#######e/AppData/Local/Temp/houdini_temp/TOPSPRoc_A05/pdgtemp/7368/scripts/sharedserver.py”, line 206, in waitOnPort
raise RuntimeError(“Failed to execute work item. Log file could not be read.”)
RuntimeError: Failed to execute work item. Log file could not be read.


Thanks,

S#######e
User Avatar
Member
14 posts
Joined: Nov. 2017
Offline
On a side note, I just tried the example file from the help docs:
$HFS/houdini/pdg/examples/top_mayapipeline


and had the same error.
User Avatar
Member
326 posts
Joined: Jan. 2013
Offline
Error occurs here
import maya.standalone
ImportError: DLL load failed: The specified procedure could not be found.


Most likely you just need to expand the path of the PATH environment variable.
For example, PATH=“your path where you installed Autodesk Maya\\bin;”
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
I agree it's likely an issue with your system PATH. Adding Maya's bin to the front might help, or removing dirs from the path that have libraries that clash with Maya.

Can you run mayapy from your normal CMD.exe prompt and then “import maya.standalone” from that shell without crashing?
  • Quick Links