Renderer returned non-zero error code 211

Hi everybody,

I’m sending the job from Maya2009 with the Subission Script, sending also the scene to the render nodes (10 frames each).
Every render nodes can reach the outputs paths, and the very strange thing is that they render the assigned frames and also saved the images to the correct path (I meand that i can open the .tga’s), but after arriving to 100% of the job I got the error attached below and they start the previously assigned job again and again.
I’ve also disabled the “Enable Strict Error Checking”.

Does anyone please help me out of this?
thanks

Michele

Error Message
Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code 211. Check the renderer’s output. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log
esolution … 0.638926
0: STDOUT: PHEN 0.2 info : maya_shaderglow(): Normalization … 1.058000
0: STDOUT: PHEN 0.2 info : maya_shaderglow(): Halo: Filter Width … 57
0: STDOUT: PHEN 0.2 info : maya_shaderglow(): Resolution … 0.260841
0: STDOUT: PHEN 0.2 info : maya_shaderglow(): Normalization … 6.498000
0: STDOUT: PHEN 0.2 progr: maya_shaderglow(): Done!
0: STDOUT: PHEN 0.2 progr: writing image file R:/Molinari/Spot/New_Molinari/Renders/Beauty_pass/Shot6_.0429.tga (frame 429)
0: STDOUT: IMG 0.2 warn 102002: type rgba_fp not supported by tga format, using default type rgba
0: STDOUT: RC 0.2 progr: rendering finished
0: STDOUT: RC 0.2 info : wallclock 0:06:37.23 for rendering
0: STDOUT: RC 0.2 info : allocated 763 MB, max resident 977 MB
0: STDOUT: GAPM 0.2 info : triangle count (including retessellation) : 1588334
0: STDOUT: PHEN 0.2 info : Reflection rays skipped by threshold: 2536142
0: STDOUT: PHEN 0.2 info : Refraction rays skipped by threshold: 931739
0: INFO: Deadline is ignoring error: “Error: Scene C:\Documents and Settings\Administrator\Local Settings\Application Data\Frantic Films\Deadline\slave\jobsData\Shot6_v2.mb failed to render.” because plugin setting StrictErrorChecking is enabled and this error is not usually fatal.
0: STDOUT: Error: Scene C:\Documents and Settings\Administrator\Local Settings\Application Data\Frantic Films\Deadline\slave\jobsData\Shot6_v2.mb failed to render.
0: STDOUT:
0: STDOUT: // Maya exited with status 210
0: INFO: Process exit code: 211
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code 211. Check the renderer’s output. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Error Type
RenderPluginException

Error Stack Trace
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

Near the end of the log, Maya is printing this out:

Maya is returning the non-zero exit code because it thinks an error occurred, so naturally Deadline presumes the render failed and handles it accordingly. Since the frames appear to be saving out correctly, you could modify the MayaCmd plugin to ignore this error. However, if Maya returns this exit code in the future and the frame actually failed to render, Deadline won’t catch it. The first thing you should try is using the MayaBatch plugin option, which there is a checkbox for in the submission script. This doesn’t use command line rendering, so this might not even be a problem.

To modify the MayaCmd plugin, open the file \your\repository\plugins\MayaCmd\MayaCmd.py in a text editor and find this block of code:

## Called by Deadline to check the exit code from the renderer. def CheckExitCode( self, exitCode ): if exitCode != 0: if exitCode == 206: FailRender( "Maya could not parse the command line. Two common causes for this are using the... else: FailRender( "Renderer returned non-zero error code %d. Check the renderer's output." % exitCode )

Change the code to look like this:

## Called by Deadline to check the exit code from the renderer. def CheckExitCode( self, exitCode ): if exitCode != 0 and exitCode != 211: if exitCode == 206: FailRender( "Maya could not parse the command line. Two common causes for this are using the... else: FailRender( "Renderer returned non-zero error code %d. Check the renderer's output." % exitCode )

Note that the first FailRender line of code is actually longer, and I’m just appending the … to prevent wrapping. The only line you’re actually changing is the if exitCode != 0: line.

Cheers,

  • Ryan

Thanks Ryan, now it is working! As you said is dangerous but for the moment I guess it is the only solution for me.

p.s. Deadline is working really well on our test render… guess I’ll contact you soon for a quote :slight_smile: