I have some utility scripts that are located in
C:\Users%username%\Documents\houdini18.5\scripts
These include things like 123.cmd and a couple ‘onCreated.py’ scripts. Deadline fails (on ifd generation) when I have them enabled, but works fine when I remove this directory. The error message is below:
Error
=======================================================
FailRenderException : Error: name 'hou' is not defined
at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File "C:\ProgramData\Thinkbox\Deadline10\workers\Rocket012\plugins\6089c2d8d0893057b019b55b\Houdini.py", line 424, in HandleStdoutError
self.FailRender(self.GetRegexMatch(1))
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __FranticX_Processes_ManagedProcess_StdoutHandlerDelegateDispatcher.Invoke()
at FranticX.Processes.ManagedProcess.RegexHandlerCallback.CallFunction()
at FranticX.Processes.ManagedProcess.e(String di, Boolean dj)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
=======================================================
RenderPluginException
=======================================================
Stack Trace
=======================================================
at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bcn, CancellationToken bco)
at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter aja, CancellationToken ajb)
=======================================================
Log
and another relevant part of the log:
2021-04-29 11:10:46: 0: DEBUG: PopupHandler.CheckForPopups: Getting popup handles
2021-04-29 11:10:46: 0: DEBUG: PopupHandler.CheckForPopups: Got 0 handles
2021-04-29 11:10:46: 0: DEBUG: PopupHandler.CheckForPopups: Returning
2021-04-29 11:10:46: 0: DEBUG: ManagedProcess.HandleStdoutLine: parsing stdout: C:/Users/JOSHHA~1/DOCUME~1/houdini18.5/scripts/123.cmd (112): Traceback (most recent call last):
2021-04-29 11:10:46: 0: STDOUT: C:/Users/JOSHHA~1/DOCUME~1/houdini18.5/scripts/123.cmd (112): Traceback (most recent call last):
2021-04-29 11:10:46: 0: DEBUG: ManagedProcess.HandleStdoutLine: parsing stdout: File "<stdin>", line 1, in <module>
2021-04-29 11:10:46: 0: STDOUT: File "<stdin>", line 1, in <module>
2021-04-29 11:10:46: 0: DEBUG: ManagedProcess.HandleStdoutLine: parsing stdout: NameError: name 'hou' is not defined
2021-04-29 11:10:46: 0: DEBUG: ManagedProcess.HandleStdoutLine: line was matched by handler "(Error: .*)"
2021-04-29 11:10:46: 0: DEBUG: ManagedProcess.Execute: returning
2021-04-29 11:10:46: 0: Done executing plugin command of type 'Render Task'
I suspect it has something to do with Houdini paths, or python, but it’s hard to pinpoint. Maybe a way to disable script loading on the farm? I’ve had this working at other studios, but this is a relatively new setup here. Any suggestions?
Thanks
Josh