Nuke plugin Exception

Hi Folks,

Admittedly new to Deadline. Taking over Deadline from a co-worker that left last week.
So we have a problem with a Nuke render where we get a RenderPluginException:

=======================================================
Error

Error: ManagedProcessAbort : Monitored managed process “Nuke” has exited or been terminated.
at Deadline.Plugins.DeadlinePlugin.MonitoredManagedProcessExit(String name)
at FranticX.Processes.MonitoredManagedProcesses.VerifyMonitoredManagedProcess(String name)
at Deadline.Plugins.DeadlinePlugin.VerifyMonitoredManagedProcess(String name) (Python.Runtime.PythonException)
File “/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-110-20-235/plugins/5f7684ea45185219f84d0d60/Nuke.py”, line 278, in RenderTasks
self.WritePython(scriptContents)
File “/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-110-20-235/plugins/5f7684ea45185219f84d0d60/Nuke.py”, line 39, in WritePython
self.WaitForProcess()
File “/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-110-20-235/plugins/5f7684ea45185219f84d0d60/Nuke.py”, line 45, in WaitForProcess
self.VerifyMonitoredManagedProcess( self.ProcessName )
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __FranticX_GenericDelegate0Dispatcher.Invoke()
at Deadline.Plugins.DeadlinePlugin.RenderTasks()
at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bbq, CancellationToken bbr)
at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ady, CancellationToken adz)

I’m trying to find out where this error is happening in Nuke. Is there better log information I can dig into on what’s happening during this exception? Like what the plugin it’s trying to load is?

Interestingly this has failed twice, just requeued to I could get a live instance to poke around on, and the error did not occur. Hmmm.

Note that at the end of the process I am getting this message:

WARNING: Monitored managed process Nuke is no longer running

I am wondering if the nuke process is timing out somehow.

The reason you’re not seeing any logging beyond “Nuke” has exited or been terminated is that the render has been run with batch mode enabled.

Batch mode keeps Nuke running between tasks, which means that we don’t always get the error back if Nuke crashes. If you can get this to reliably fail, try submitting the job with the batch mode option disabled. That should get us an error report that explains what’s going on.

2 Likes

That’s extremely handy, thank you!

1 Like