AWS Thinkbox Discussion Forums

Houdini 19.5 deadline error runing python code

hi,

i got houdini 19.5 and deadline working on the workstation fine, using the trick of copying /python3.7libs and renaming to /python3.9libs, as i said this works submitting from my workstation and doing the job with out errors on the same workstation, but sending the job to my other 2 houdini engine computers gets me this error:


 Connecting to Worker log: MEDUSA
2022-09-27 17:37:07:  0: STDOUT: Error running Python code:
2022-09-27 17:37:07:  0: STDOUT: Traceback (most recent call last):
2022-09-27 17:37:07:  0: STDOUT:   File "<stdin>", line 1, in <module>
2022-09-27 17:37:07:  0: STDOUT:   File "<stdin>", line 54, in main
2022-09-27 17:37:07:  0: STDOUT:   File "<stdin>", line 20, in __enter__
2022-09-27 17:37:07:  0: STDOUT:   File "<stdin>", line 38, in set_up_pycrypto_imports
2022-09-27 17:37:07:  0: STDOUT:   File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303\python39\lib\site-packages\Crypto\Signature\PKCS1_PSS.py", line 72, in <module>
2022-09-27 17:37:07:  0: STDOUT:     import Crypto.Util.number
2022-09-27 17:37:07:  0: STDOUT:   File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303\python39\lib\site-packages\Crypto\Util\number.py", line 139
2022-09-27 17:37:07:  0: STDOUT:     value |= 2L ** (N-1)                # Ensure high bit is set
2022-09-27 17:37:07:  0: STDOUT:               ^
2022-09-27 17:37:07:  0: Done executing plugin command of type 'Render Task'
2022-09-27 17:37:07:  0: Executing plugin command of type 'End Job'
2022-09-27 17:37:07:  0: Done executing plugin command of type 'End Job'
Success
2022-09-27 17:37:11:  Scheduler Thread - Render Thread 0 threw a major error: 
2022-09-27 17:37:11:  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2022-09-27 17:37:11:  Exception Details
2022-09-27 17:37:11:  RenderPluginException -- FailRenderException : Error: invalid syntax
2022-09-27 17:37:11:     at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
2022-09-27 17:37:11:    File "C:\ProgramData\Thinkbox\Deadline10\workers\MEDUSA\plugins\6332a8119c75a371605b9b44\Houdini.py", line 438, in HandleStdoutError
2022-09-27 17:37:11:      self.FailRender(self.GetRegexMatch(1))
2022-09-27 17:37:11:     at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
2022-09-27 17:37:11:     at __FranticX_Processes_ManagedProcess_StdoutHandlerDelegateDispatcher.Invoke()
2022-09-27 17:37:11:     at FranticX.Processes.ManagedProcess.RegexHandlerCallback.CallFunction()
2022-09-27 17:37:11:     at FranticX.Processes.ManagedProcess.e(String di, Boolean dj)
2022-09-27 17:37:11:     at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
2022-09-27 17:37:11:     at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
2022-09-27 17:37:11:     at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
2022-09-27 17:37:11:     at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
2022-09-27 17:37:11:  RenderPluginException.Cause: JobError (2)
2022-09-27 17:37:11:  RenderPluginException.Level: Major (1)
2022-09-27 17:37:11:  RenderPluginException.HasSlaveLog: True
2022-09-27 17:37:11:  RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-MEDUSA-0000.log
2022-09-27 17:37:11:  Exception.TargetSite: Deadline.Slaves.Messaging.PluginResponseMemento d(Deadline.Net.DeadlineMessage, System.Threading.CancellationToken)
2022-09-27 17:37:11:  Exception.Data: ( )
2022-09-27 17:37:11:  Exception.Source: deadline
2022-09-27 17:37:11:  Exception.HResult: -2146233088
2022-09-27 17:37:11:    Exception.StackTrace: 
2022-09-27 17:37:11:     at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
2022-09-27 17:37:11:     at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
2022-09-27 17:37:11:     at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)
2022-09-27 17:37:11:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

any ideas what is happeing? using deadline 10.1.20.3 , works fine with h18.0/18.5/19.0

a bit lost with this one :frowning:

Do you have the plugin installed with the python39libs folder on the rendering machine? as they’ll also need it.

If you just submit via the menu, it doesn’t need the Deadline plugin. BUT if you use the nodes in /out then the render machines also need the deadline plugin configured so they can read these /out/deadline1 nodes

Sounds like a python version mismatch. Crypto is using some syntax that is invalid in the running python (presumably Deadline’s).

tried sending the job via the menu, same exact error… :thinking:

but if you have deadline nodes in /out it’ll still require the plugin installing on the rendernodes, even if you use the menu.

Are they both using 19.5.303 py39 installs? arey the both using matching Deadline versions?

ah, yes. it was a HDA i have been carrying on my env file since H18, as the render nodes are using H Engine i did not find the error sa i would just by opening houdini…it works fine now! :grin:

1 Like
Privacy | Site terms | Cookie preferences