AWS Thinkbox Discussion Forums

3DSmax STMD Submitter Fails to run

Hello,
I Have an error on my STMD inside 3dsmax 2023

, and i dont know how to solve it:
I did a printscreen to better explain.

I’ve installed everything in the right way.
The client is working, the worker on this pc is working, just the submitter that have this problem.

Thanks in advance for the attention

@Igorhmc looking at the error and where it is failing, seems like 3ds Max is not able to resolve the path " SMTDPaths.SettingsDir + "slaveselectionsets\\slavesinfo.ini"" which it is trying to call. This should return the %LocalAppData% Deadline10 setting path:

"%LocalAppData%\Thinkbox\Deadline10\settings\slaveselectionsets\slavesinfo.ini"

You can try running the 3ds Max application on the machine it is failing and run the below command on the Maxscript Listener to pull the “LocalAppData” path:

SMTDPaths.SettingsDir

Also feel free to share the SMTD logs to investigate the error you got with the script: 3ds Max - Integrated Submitter — Deadline 10.2.1.1 documentation

Hey.
We tried to solve the problem but didn’t worked.
I’m sending the log for analisis.
Let’s hope it has a solution.

Thanks anyways for the help.

Log:
Launching Submit Max To Deadline (SMTD)…
Repository Path [\nas\DeadRepository\submission\3dsmax\Main] Resolved in 719 ms
“The following error occurred while calling Deadline Command:”
“-- Runtime error: .NET runtime exception: Per eseguire l’operazione richiesta è necessaria l’esecuzione con privilegi elevati”
–Failed to get Deadline Directories.
– Error occurred in anonymous codeblock; filename: C:\Users\f.fama\AppData\Local\Autodesk\3dsMax\2023 - 64bit\ENU\scripts\SubmitMaxToDeadline.ms; position: 103193; line: 2403
– MAXScript MacroScript Error Exception:
– No “”+"" function for undefined
– MAXScript callstack:
– thread data: threadID:26692


– [stack level: 0]
– In codeblock macroScript: Deadline_SubmitMaxToDeadline; filename: C:\Users\f.fama\AppData\Local\Autodesk\3dsMax\2023 - 64bit\ENU\scripts\SubmitMaxToDeadline.ms; position: 103194; line: 2403
– Locals:
– deadlinePath: “C:\Program Files\Thinkbox\Deadline10\bin”
– resultFile: <File:C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitOutput.txt>
– ready: true
– theLocalLauncherFilename: “C:\Users\f.fama\AppData\Local\Autodesk\3dsMax\2023 - 64bit\ENU\scripts\startup\SMTD_Loader.ms”
– theSubmissionDir: “\nas\DeadRepository\submission/3dsmax/Main”
– deadlineCommandBG: “C:\Program Files\Thinkbox\Deadline10\bin\deadlinecommandbg.exe”
– localLauncherExists: true
– SMTD_MainRollout: undefined
– startTimeStamp: 36530890
– theFilesToLoad: #(#(“RegionManipulator.ms”, 1040, #userStartupScripts, false, false, true), #(“TileManipulator.ms”, 1042, #userStartupScripts, false, false, true), #(“SubmitMaxToDeadline_Functions.ms”, 1004, #userScripts, true, false, true, false), #(“SubmitMaxToDeadline_SanityCheck_Private.ms”, 1024, #userScripts, false, true, true), #(“SubmitMaxToDeadline_SanityCheck_General.ms”, 1020, #userScripts, false, true, true), #(“SubmitMaxToDeadline_SanityCheck.ms”, 1022, #userScripts, false, false, true), #(“SubmitMaxToDeadline.ms”, 1030, #userScripts, true, false, false), #(“SubmitMaxToDeadline_Defaults.ini”, 1101, #userScripts, false, false, false), #(“SubmitMaxToDeadline_StickySettings.ini”, 1102, #userScripts, false, false, false), #(“SubmitMaxToDeadline_ExcludeFromSceneStorage.ini”, 1103, #userScripts, false, false, false))
– st: 36530876
– result: 0
– theFile: <File:C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitExitCode.txt>
– theLocalLauncher: StringStream:"global SMTD_AutoLoadSuccessful = true
try(fileIn (getDir #userScripts + “/SubmitMaxToDeadline_Functions.ms”) quiet:true )catch(::SMTD_AutoLoadSuccessful = false)
try(fileIn (getDir #userScripts + “/SubmitMaxToDeadline_SanityCheck_Private.ms”) quiet:true )catch(::SMTD_AutoLoadSuccessful = false)
try(fileIn (getDir #userScripts + “/SubmitMaxToDeadline_SanityCheck_General.ms”) quiet:true )catch(::SMTD_AutoLoadSuccessful = false)
try(fileIn (getDir #userScripts + “/SubmitMaxToDeadline_SanityCheck.ms”) quiet:true )catch(::SMTD_AutoLoadSuccessful = false)
"
– goOn: true
– sttotal: 36530855
– submitExitCodeFile: “C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitExitCode.txt”
– errormessage: undefined
– MyMax: dotNetObject:System.Diagnostics.FileVersionInfo
– submitOutputFile: “C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitOutput.txt”
– commandArguments: “-outputfiles “C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitOutput.txt” “C:\Users\F07B9~1.FAM\AppData\Local\Temp\submitExitCode.txt” -getrepositorypath submission/3dsmax/Main”
– theSubmissionInfoArray: undefined
– messageTitle: “SMTD”
– VersionInfo: dotNetClass:System.Diagnostics.FileVersionInfo
– resultMsg: “\nas\DeadRepository\submission/3dsmax/Main”
– getFileInfoDotNet: getFileInfoDotNet()
– Externals:
– SMTD_StartupDialog_Rollout: Global:SMTD_StartupDialog_Rollout : Rollout:SMTD_StartupDialog_Rollout


– [stack level: 1]
– called from top-level

End Log

PS: The folder that the script is trying to find doesn’t exist. Maybe we installed wrong the script. How is the best way to unninstal it? if it is the case?

Thanks again for the Help!

Which script are you referring to that doesn’t exist? There’s a couple being referenced that don’t work but I’ll focus on the one that’s creating a .NET error. It looks like there’s an issue with the Deadline install on the machine.

To test, open a command prompt, and copy+paste the following:

"%deadline_path%"\deadlinecommand -GetPools

That’s a simple call to deadlinecommand for it to list the pools that are created on the farm. If it fails with the same “-- Runtime error: .NET runtime exception: Per eseguire l’operazione richiesta è necessaria l’esecuzione con privilegi elevati” try running that command in an command prompt opened as an administrator.

Thanks!

Privacy | Site terms | Cookie preferences