AWS Thinkbox Discussion Forums

Exit code '-130'

I’m sending a job to deadline from 3ds Max. The job on the farm then proceeds to submit additional jobs to deadline for rendering. However I continually get this error right after calling this command…

mxs.logsystem.logEntry('>>> Submitting...', info=True, broadcast=True) 
results = mxs.SMTDFunctions.SubmitJob()
renderMsg = mxs.SMTDFunctions.getRenderMessage() 
mxs.SMTDFunctions.getJobIDFromMessage(renderMsg)
mxs.logsystem.logEntry('>>> Submission Results...', info=True, broadcast=True)

The error:

=======================================================
Error
=======================================================
Error: Process returned non-zero exit code '-130'
   at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=========================================
2019-08-29 18:35:35:  0: STDOUT: 8/29 18:35:35;  >>> Submitting...
2019-08-29 18:35:35:  0: STDOUT: 
2019-08-29 18:35:36:  0: STDOUT: 8/29 18:35:36;  ValueError
2019-08-29 18:35:36:  0: STDOUT: 
2019-08-29 18:35:36:  0: STDOUT: 8/29 18:35:36;  : 
2019-08-29 18:35:36:  0: STDOUT: 
2019-08-29 18:35:36:  0: STDOUT: 8/29 18:35:36;  u'\\\\ws01\\DeadlineRepository10\\submission\\3dsmax\\Main\\' is not in list
2019-08-29 18:35:36:  0: STDOUT: 
2019-08-29 18:35:36:  0: STDOUT: 8/29 18:35:36;  
2019-08-29 18:35:36:  0: STDOUT: 
2019-08-29 18:35:49:  0: STDOUT: 8/29 18:35:48;  >>> Submission Results...

Working with one of the Deadline employee’s we were able to narrow down the issue to this command being called. I’ll continue to investigate and update this ticket with more information as i find it

SMTDSettings.AssetsResolved = SMTDFunctions.resolveAssetsFromAssetTracker SubmitExternalFilesMode:3

Greetings. I ran into a similar error, which I fixed on my end by fixing a bug in SubmitMaxToDeadline_Functions.ms. The bug happens around line number 1522 in the code, where Python code gets wrapped in a MaxScript try/catch block. Here’s my fix:

– BUGFIX CODE STARTS HERE.
if findItem (sys.path as Array) SMTDPaths.MainSubmissionDir == 0 then
(
format “Appending to sys.path: %\n” SMTDPaths.MainSubmissionDir
sys.path.append(SMTDPaths.MainSubmissionDir)
)
– BUGFIX CODE ENDS HERE.
– ORIGINAL THINKBOX CODE STARTS HERE.
– try
– (
– – list.index will fail if it’s not in the list ( why not -1? :[ )
– sys.path.index(SMTDPaths.MainSubmissionDir)
– )
– catch
– (
– sys.path.append(SMTDPaths.MainSubmissionDir)
– )
– END OF ORIGINAL THINKBOX CODE.

I hope this helps you with your situation.

1 Like
Privacy | Site terms | Cookie preferences