Hello guys!
Using betas is so freaking hard sometime, but we have no other way
I have a question - for example, we have a constant error, that create error code, but render just fine. How to override deadline fail rule, that tries to rerender failed task if plugin returned error code ? Still not using 7.1, if that matters.
P.S. How to contact support guys, I think it is not a good idea to post here such an urgent questions. Can someone PM me ? Pleeease!!!
Hey Paul,
Two ways to contact us: Call the number in my signature (ext 2 for support), or e-mail us at support@thinkboxsoftware.com
For the exit code, we have a callback for handling that. For an example, check out “ExitCodeCallback” in “[repo]/plugins/MayaBatch/MayaCmd.py”
def __init__( self ):
...
self.CheckExitCodeCallback += self.CheckExitCode
## Called by Deadline to check the exit code from the renderer.
def CheckExitCode( self, exitCode ):
if exitCode != 0:
if exitCode == 206:
self.FailRender( "Maya could not parse the command line. Two common causes for this are using the wrong project directory, or using a drive root ( i.e. \"c:\\\" ) as the output directory." )
elif ( exitCode == 211 and self.IgnoreError211 ):
self.LogInfo( "Renderer reported an error with error code 211. This will be ignored, since the option to ignore it is specified in the Job Properties." );
else:
self.FailRender( "Renderer returned non-zero error code %d. Check the renderer's output." % exitCode )