I am trying Natron for some comp-goodness
When i send a job to Deadline it spits out an error in the log-file:
Error: Renderer returned non-zero error code, -1073740940. Check the log for more information. vid Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
STDOUT: Write1 ==> Frame: 565, Progress: 100.0%, 0.3 Fps, Time Remaining: 0 second
STDOUT: Write1 ==> Rendering finished
INFO: Process exit code: -1073740940
If i try this in a cmd on the rendernode i get no errors.
C:\Natron\NatronRenderer.exe -w Write1 565-569 āC:\Natron\test1.ntpā
Restoring the image cacheā¦
Loading plugin cacheā¦
Info: init.py script not loaded (this is not an error)
Loading PyPlugsā¦
Loading project: C:/Natron/test1.ntp
Write1 ==> Rendering started
Write1 ==> Frame: 565, Progress: 20.0%, 0.3 Fps, Time Remaining: 14 seconds
Write1 ==> Frame: 567, Progress: 40.0%, 0.2 Fps, Time Remaining: 12 seconds
Write1 ==> Frame: 566, Progress: 60.0%, 0.3 Fps, Time Remaining: 6 seconds
Write1 ==> Frame: 568, Progress: 80.0%, 0.3 Fps, Time Remaining: 3 seconds
Write1 ==> Frame: 569, Progress: 100.0%, 0.4 Fps, Time Remaining: 0 second
Write1 ==> Rendering finished
C:\Natron\bin\
So is it possible to change the python-script for Natron.py to just ignore this error?
The render-files is all saved and looks ok, so it is when closing the Natronrenderer.exe this happens.
This is a snippet from the Natron.py, but i canāt seem to get where it should halt on āProcess exit codeā:
def HandleStdoutCompleted( self ):
msg = self.GetRegexMatch( 0 )
self.SetStatusMessage( msg )
self.SetProgress( 100.0 )
def HandleStdoutError(self):
self.SetStatusMessage( "" )
self.SetProgress( 0.0 )
self.FailRender( self.GetRegexMatch(0) )
If i look at the After Effects .py-file i get this:
def CheckExitCode( self, exitCode ):
if self.FailWithoutFinishedMessage: # job marked to fail if no render success message found
if not self.RenderSuccess: # no render success message found
self.FailRender( āAfter Effects did not report successful render; exit code: %s. Check the render log.ā % exitCode )
else:
if exitCode != 0: # if exit code non-zero, then fail the job
self.FailRender( āAfter Effects returned non-zero error code: %s. Check the render log.ā % exitCode )