Deadline 8 error "name 'ManagedProcess' is not defined"

hey Guys,

we are running deadline 6 (yes i know…) and upgrading to 8 now.
Our slaves and repo are in place, submission to the repo8 works no problem.

but the slaves fail to launch any renders.
they pickup the job and then fail

report/log:

2016-11-21 16:19:39: 0: Got task! 2016-11-21 16:19:39: 0: Plugin will be reloaded because Reload Plugin Between Frames is enabled for this job 2016-11-21 16:19:41: 0: Loaded plugin Nuke (\\DEADLINE\Repo8\custom\plugins\Nuke) 2016-11-21 16:19:41: 0: Executing plugin command of type 'Initialize Plugin' 2016-11-21 16:19:41: 0: INFO: Executing plugin script 'C:\Users\andreas.PICTURETHIS\AppData\Local\Thinkbox\Deadline8\slave\pc-05-065\plugins\583272c5f5e06e303479a513\Nuke.py' 2016-11-21 16:19:42: 0: Encountered an error while executing plugin command of type 'Initialize Plugin' 2016-11-21 16:19:42: 0: An exception occurred: NameError : name 'ManagedProcess' is not defined (Deadline.Plugins.RenderPluginException) 2016-11-21 16:19:43: Scheduler Thread - Render Thread 0 threw a major error: 2016-11-21 16:19:43: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2016-11-21 16:19:43: Exception Details 2016-11-21 16:19:43: RenderPluginException -- NameError : name 'ManagedProcess' is not defined 2016-11-21 16:19:43: RenderPluginException.Cause: JobError (2) 2016-11-21 16:19:43: RenderPluginException.Level: Major (1) 2016-11-21 16:19:43: RenderPluginException.HasSlaveLog: True 2016-11-21 16:19:43: RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline8\logs\deadlineslave_renderthread_0-PC-05-065-0000.log 2016-11-21 16:19:43: Exception.Data: ( ) 2016-11-21 16:19:43: Exception.TargetSite: Void a(Deadline.Net.DeadlineMessage) 2016-11-21 16:19:43: Exception.Source: deadline 2016-11-21 16:19:43: Exception.HResult: -2146233088 2016-11-21 16:19:43: Exception.StackTrace: 2016-11-21 16:19:43: at Deadline.Plugins.SandboxedPlugin.a(DeadlineMessage A_0) 2016-11-21 16:19:43: at Deadline.Plugins.SandboxedPlugin.Initialize(Job job) 2016-11-21 16:19:43: at Deadline.Slaves.SlaveRenderThread.a(String A_0, Job A_1, Boolean A_2) 2016-11-21 16:19:43: at Deadline.Slaves.SlaveRenderThread.b(TaskLogWriter A_0) 2016-11-21 16:19:43: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Any ideas? my hunch is a python path or something missing. we tried reinstalling dl8.

Well, for the time being, see about removing your custom script from “\DEADLINE\Repo8\custom\plugins\Nuke” to see if things are working properly as a stop-gap.

Considering ManagedProcess is a built-in it might be that the imports have changed and I don’t remember. Here’s what we’ve got for 8.1 at the moment:

import re
import os
from shutil import copyfile
from System import *
from System.Diagnostics import *
from System.IO import *
from System.Text import *
from System.Text.RegularExpressions import *
from Deadline.Plugins import *
from Deadline.Scripting import *
from FranticX.Processes import *