If the last line of a job script (the right click menu / scripts type of script) starts with a #, it will crash no matter what.
This is the crash i get:
2013-10-11 18:25:45: Traceback (most recent call last):
2013-10-11 18:25:45: File “DeadlineUI\UI\Commands\ScriptCommands.py”, line 85, in InnerExecute
2013-10-11 18:25:45: Exception: Python Error: SyntaxError : (‘invalid syntax’, (‘none’, 49, 1, ‘#’)) (Python.Runtime.PythonException)
2013-10-11 18:25:45: Stack Trace:
2013-10-11 18:25:45:
2013-10-11 18:25:45:
2013-10-11 18:25:45: at FranticX.Scripting.PythonNetScriptEngine.a(Exception A_0)
2013-10-11 18:25:45: at FranticX.Scripting.PythonNetScriptEngine.ExecuteScript(String scriptName, String script)
2013-10-11 18:25:45: at Deadline.Scripting.DeadlineScriptManager.CreateScopeFromScript(String scopeName, String scriptName, String script, Boolean addGlobalFunctions, Boolean redirectToScriptManagerListener)
2013-10-11 18:25:45: at Deadline.Scripting.DeadlineScriptManager.CreateScopeFromScript(String scopeName, String scriptName, String script, Boolean addGlobalFunctions)