AWS Thinkbox Discussion Forums

Nuke Plugin script error in Nuke13/python3

Hello,

When I use the Nuke plugin with a script job in Nuke13/Python3, I have the following error.
I’m using Deadline 10.1.18.4. It seems that execfile command no more exists in python 3.
Thank you

Error: FailRenderException : NameError: name ‘execfile’ is not defined
at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File “/var/lib/Thinkbox/Deadline10/workers/rf048-2/plugins/61a69f312649e15c1af7edf2/Nuke.py”, line 222, in RenderTasks
self.WritePython( “execfile(”%s")" % scriptFileName )
File “/var/lib/Thinkbox/Deadline10/workers/rf048-2/plugins/61a69f312649e15c1af7edf2/Nuke.py”, line 39, in WritePython
self.WaitForProcess()
File “/var/lib/Thinkbox/Deadline10/workers/rf048-2/plugins/61a69f312649e15c1af7edf2/Nuke.py”, line 46, in WaitForProcess
self.FlushMonitoredManagedProcessStdout( self.ProcessName )
File “/var/lib/Thinkbox/Deadline10/workers/rf048-2/plugins/61a69f312649e15c1af7edf2/Nuke.py”, line 621, in HandleError
self.deadlinePlugin.FailRender( self.GetRegexMatch( 0 ) )
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(Task task, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

Privacy | Site terms | Cookie preferences