AWS Thinkbox Discussion Forums

TransferJob RC script on non-suspended Max job

RC6 not happy if you try and RC TransferJob script on a non-suspended job (ie: queued).
STDERR from console panel:

2013-05-27 23:17:18: Traceback (most recent call last):
2013-05-27 23:17:18: File “DeadlineUI\UI\Commands\ScriptCommands.py”, line 82, in InnerExecute
2013-05-27 23:17:18: Exception: Python Exception: NameError : global name ‘transferJobStatus’ is not defined (Python.Runtime.PythonException)
2013-05-27 23:17:18: Type: <type ‘exceptions.NameError’>
2013-05-27 23:17:18: Value: global name ‘transferJobStatus’ is not defined
2013-05-27 23:17:18: Stack Trace:
2013-05-27 23:17:18: [’ File “none”, line 24, in main\n’]
2013-05-27 23:17:18:
2013-05-27 23:17:18: at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
2013-05-27 23:17:18: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName, Python.Runtime.PyTuple args) [0x00000] in :0
2013-05-27 23:17:18: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:18: at Deadline.Scripting.DeadlineScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:18: at Deadline.Scripting.DeadlineScriptManager.CallFunction (System.String scopeName, System.String functionName) [0x00000] in :0
2013-05-27 23:17:18: at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
2013-05-27 23:17:18: at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
2013-05-27 23:17:35: Traceback (most recent call last):
2013-05-27 23:17:35: File “DeadlineUI\UI\Commands\ScriptCommands.py”, line 82, in InnerExecute
2013-05-27 23:17:35: Exception: Python Exception: NameError : global name ‘transferJobStatus’ is not defined (Python.Runtime.PythonException)
2013-05-27 23:17:35: Type: <type ‘exceptions.NameError’>
2013-05-27 23:17:35: Value: global name ‘transferJobStatus’ is not defined
2013-05-27 23:17:35: Stack Trace:
2013-05-27 23:17:35: [’ File “none”, line 24, in main\n’]
2013-05-27 23:17:35:
2013-05-27 23:17:35: at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
2013-05-27 23:17:35: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName, Python.Runtime.PyTuple args) [0x00000] in :0
2013-05-27 23:17:35: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:35: at Deadline.Scripting.DeadlineScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:35: at Deadline.Scripting.DeadlineScriptManager.CallFunction (System.String scopeName, System.String functionName) [0x00000] in :0
2013-05-27 23:17:35: at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
2013-05-27 23:17:35: at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
2013-05-27 23:17:50: Traceback (most recent call last):
2013-05-27 23:17:50: File “DeadlineUI\UI\Commands\ScriptCommands.py”, line 82, in InnerExecute
2013-05-27 23:17:50: Exception: Python Exception: NameError : global name ‘transferJobStatus’ is not defined (Python.Runtime.PythonException)
2013-05-27 23:17:50: Type: <type ‘exceptions.NameError’>
2013-05-27 23:17:50: Value: global name ‘transferJobStatus’ is not defined
2013-05-27 23:17:50: Stack Trace:
2013-05-27 23:17:50: [’ File “none”, line 24, in main\n’]
2013-05-27 23:17:50:
2013-05-27 23:17:50: at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
2013-05-27 23:17:50: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName, Python.Runtime.PyTuple args) [0x00000] in :0
2013-05-27 23:17:50: at FranticX.Scripting.PythonNetScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:50: at Deadline.Scripting.DeadlineScriptEngine.CallFunction (System.String functionName) [0x00000] in :0
2013-05-27 23:17:50: at Deadline.Scripting.DeadlineScriptManager.CallFunction (System.String scopeName, System.String functionName) [0x00000] in :0
2013-05-27 23:17:50: at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
2013-05-27 23:17:50: at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0

Mmm, dunno how that bug slipped by, quick fix though.

Just to be clear, though, we don’t support transferring Queued jobs (only Suspended/Completed/Failed jobs). You would have been informed of that with a nice message box if it wasn’t for this bug :slight_smile:

Absolutely. I was expecting the message box :slight_smile:

Privacy | Site terms | Cookie preferences