Script Job Submission fails from UI - Deadline 6.0

I have been automating Deadline Job submission for a long time now, via script.

This Monday we started having issues with our workstation deployment thanks to Windows update and various other things.
This has caused some errors to pop-up in rendering now.

I’m trying to troubleshoot but submitting a script job via GUI is failing EVERY time, on every machine with the following error:

[code]-- Error occurred in SubmitJobFromUI(); filename: C:\Users\ahosking\AppData\Local\Autodesk\3dsMax\2011 - 64bit\enu\scripts\SubmitMaxToDeadline_Functions.ms; position: 299700; line: 6610
– Frame:
– oldMeditLockedState: false
– BRAZIL_lowThreadPriority: undefined
– copyResult: undefined
– OutputFilenameByUserPattern: undefined
– path: undefined
– initialArgsFileName: undefined
– warnAboutMissingFiles: true
– theSceneXRefsCount: 0
– numViews: undefined
– theFn: undefined
– theXRefObjects: #()
– theMessage: undefined
– oldAmarettoExportMode: undefined
– TempMaxFile: “C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\Test Scene.max”
– oldPriority: undefined
– PFPPL_RenderPassFunctions: undefined
– txt: undefined
– theAnswer: undefined
– theBitmapsFileName: “”
– Amaretto: undefined
– directory: undefined
– FF_AssetTracker_Functions: undefined
– bitmapFilenames: undefined
– sizeInMB: undefined
– imsqFilename: undefined
– initialArgs: StringStream:"-outputfiles
C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\submitOutput.txt
C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\submitExitCode.txt
C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_submit_info.job
C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_job_info.job
C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\Test Scene.max
"
– VRAY_lowThreadPriority: undefined
– theMaxFileName: undefined
– retCode: #success
– theTime: undefined
– oldrendOutputFilename: undefined
– passDependencyList: undefined
– rpmdata: undefined
– doPassDependency: undefined
– BitmapsCopyData: undefined
– oldRenderDialogState: false
– theViewCamera: undefined
– renderMsg: “”
– oldMaxScriptFile: “”
– theNetworkPath: undefined
– initialArgsFile: undefined
– oldSubmitMaxScript: false
– previouslysubmittedJobs: undefined
– queryExternalFiles: true
– oldMatEditorOpenState: false
– oldVRayVFBState: false
– RPMDataNet: undefined
– oldSceneExplorerStates: #()
– theFilterTime: undefined
– filename: undefined
– extension: undefined
– frameList: undefined
– called in btn_submit.pressed(); filename: C:\Users\ahosking\AppData\Local\Autodesk\3dsMax\2011 - 64bit\enu\scripts\SubmitMaxToDeadline.ms; position: 56770; line: 1389
– Frame:
– theMessage: undefined
– result: undefined
– FFPPL_RenderPassVoodoo_Dialog: undefined
– sanity: true
– count: undefined

MAXScript Rollout Handler Exception: – Unknown property: “MAXScriptFile” in (SMTDPathsStruct HomeDir:"C:\ProgramData\Thinkbox\Deadline6" UserHomeDir:"C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6" BinDir:"C:\Program Files\Thinkbox\Deadline6\bin" LogsDir:"C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\logs" tempdir:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp" settingsDir:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\settings" DeadlineExec:“C:\Program Files\Thinkbox\Deadline6\bin\deadlinecommand.exe” DeadlineBGExec:“C:\Program Files\Thinkbox\Deadline6\bin\deadlinecommandbg.exe” SubmitInfofile:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_submit_info.job” JobInfofile:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_job_info.job” ResultFile:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_output.txt” BitmapList:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_sceneBitmaps.txt” RestoreTempMaxFile:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\max_backup_file.mx” SubmitOutput:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\submitOutput.txt” SubmitExitCode:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\submitExitCode.txt” iniFile:“C:\Users\ahosking\AppData\Local\Autodesk\3dsMax\2011 - 64bit\enu\plugcfg\SubmitMaxToDeadline.ini” ImsqVbscriptFile:“C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM\copyImsq.py” NetworkRoot:”\192.168.2.20\DeadlineRepository” submitSubFolder:"C:\Users\ahosking.AD.000\AppData\Local\Thinkbox\Deadline6\temp\11_20_2013_3_01_02_PM") <<
[/code]

I must add that ALL files mentioned in the errors exist, and that Deadline can see each and every network item when it is submitted via maxscript.

I’m at a complete loss at the moment.

The key to debugging this is the actual error message:

>> MAXScript Rollout Handler Exception: -- Unknown property: "MAXScriptFile" in (SMTDPathsStruct

Note that the MAXScriptFile property is a member of the SMTDSettings and not SMTDPaths. Either you are running an older version of the SubmitMaxToDeadline_Functions.ms that has a bug in it (it kind of rings a bell, but I don’t remember when it was fixed), or you have modified something. I suspect the former.

Are you running the very latest Deadline 6.0 deployment? Have you updated your Repository and esp. the submission\3dsmax\Main scripts recently?

Search for “SMTDPaths.MAXScriptFile” in the SubmitMaxToDeadline_Functions.ms file in the Repository and if you find it, replace with “SMTDSettings.MAXScriptFile”. Save the script. Relaunch SMTD. See if it fixes it…

Deadline 6.0.0.51561
This is the latest version I have been provided.

Replacing “SMTDPaths.MAXScriptFile” did the trick Bobo, thanks!

Edit: Everything is fine!