Spoke too soon. So I’m passing it this output…
0: STDOUT: Output: W:\13022 L3 SPYDR Videos\Editorial\Footage\SPYDR_BTY_MP0050_COMP_B01.03_online_(5).mov
and it’s giving me this error.
[code]Scheduler Thread - Render Thread 0 threw a major error:
Exception Details
RenderPluginException – AttributeError : ‘DraftPlugin’ object has no attribute ‘deadlinePlugin’ (Python.Runtime.PythonException)
[’ File “none”, line 255, in HandleStdoutOutput\n’]
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
RenderPluginException.Cause: JobError (2)
RenderPluginException.Level: Major (1)
RenderPluginException.HasSlaveLog: True
Exception.Data: ( )
Exception.TargetSite: Void RenderTask(System.String, Int32, Int32)
Exception.Source: deadline
Exception.HResult: -2146233088
Exception.StackTrace:
at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
WARNING: Exception in CleanupDeadlineEventListener: Python Error: AttributeError : ‘NotifyEventListener’ object has no attribute ‘Cleanup’ (Python.Runtime.PythonException)
Stack Trace:
[’ File “none”, line 31, in CleanupDeadlineEventListener\n’]
(System.Exception)
at FranticX.Scripting.PythonNetScriptEngine.HandlePythonError(Exception e)
at FranticX.Scripting.PythonNetScriptEngine.CallFunction(String functionName, PyObject[] args)
at Deadline.Scripting.DeadlineScriptManager.CallFunction(String scopeName, String functionName, PyObject[] args)
at Deadline.Events.DeadlineEventPlugin.Dispose()
[stack trace (maximumDepth=4)] FranticX.Diagnostics.Trace2.WriteStack line 0
Deadline.Events.DeadlineEventPlugin.Dispose line 0
Deadline.Events.DeadlineEventManager.LoadEventListeners line 0
Deadline.Events.DeadlineEventManager.OnJobError line 0
[/code]
looks like
job = self.deadlinePlugin.GetJob()
isn’t valid code in a deadline plugin? I tried different capitalization but that also didn’t work.
if I rewrite that line to self.GetJob() then I get this error:
[code] at Deadline.Jobs.Job.SetJobOutputFileNames(Object outputFileNames)
at FranticX.Processes.ManagedProcess.HandleStdoutLine(String line, Boolean noHandling)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
[/code]
EDIT: Solved.
I had to remove the .deadlineJob.
And that was just exposing a bug in my code which was the SetJobOutputFileNames() should have been self.GetRegexMatch( 1 ) instead of just self.