SMTD error calling Deadline Command to get Repository Root

Hi All

A while ago I installed deadline 7, but then reverted to deadline 6. The process has broken the 3ds max submission script on the deadline server and I wondered what the best way to reset the default repository path or do a fresh install of the smtd is?

When I try and open smtd I get this error: “SMTD error calling Deadline Command to get Repository Root. (error code: 1005)”

Have tried to run the Deadline3dsMaxClient macro script again but did not help.

Thanks for any pointers

David

In both Deadline 6 and 7, the access to the deadlinecommandbg.exe depends on resolving the Env.Variable DEADLINE_PATH.

local commandArguments = "-outputfiles \"" + submitOutputFile + "\" \"" + submitExitCodeFile + "\" -getrepositoryroot" local deadlineCommandBG = systemTools.getEnvVariable( "DEADLINE_PATH" ) + "\\deadlinecommandbg.exe" ShellLaunch deadlineCommandBG commandArguments
It is possible that the DEADLINE_PATH is still pointing at a Deadline 7 folder that does not contain a binary anymore.
Please check the content of the variable by going to the computer properties > Advanced system settings > Environment Variables…

You can check the content of that variable by evaluating in the MAXScript Listener

systemTools.getEnvVariable( "DEADLINE_PATH" )

On my system with Deadline 7, the path points at C:\Program Files\Thinkbox\Deadline7\bin
On your system with Deadline 6.2, it should point at the respective folder for Deadline 6 (I believe it is simply “C:\Program Files\Thinkbox\Deadline\bin”.

Hope this helps.

Perfect, added the DEADLINE_PATH to the environment path as suggested and now working as expected.

Thanks!