submission plugin nuke with variables in write node

Hi all.

If I add variables to the write node in nuke (for automatic naming of the output), I can’t submit the script via the nuke submission plugin.

the scripteditor gives me the output:

“V:/DEADLINE/submission/Nuke/Main” is already in the system path
Reading sticky settings from C:\Users\vfx\AppData\Local\Thinkbox\Deadline7/settings/nuke_py_submission.ini
Found a total of 4 write nodes
Creating submission dialog…
Writing sticky settings…
Spawning submission thread…
Preparing job #1 for submission…
Main Deadline thread exiting
Exception in thread Thread-8:
Traceback (most recent call last):
File “C:\Program Files\Nuke8.0v6\lib\threading.py”, line 551, in __bootstrap_inner
self.run()
File “C:\Program Files\Nuke8.0v6\lib\threading.py”, line 504, in run
self.__target(*self.__args, **self.__kwargs)
File “V:/DEADLINE/submission/Nuke/Main\SubmitNukeToDeadline.py”, line 1161, in SubmitJob
if IsPadded( os.path.basename( fileValue ) ):
File “V:/DEADLINE/submission/Nuke/Main\SubmitNukeToDeadline.py”, line 808, in IsPadded
path = pathPrefix + nuke.tcl(“expr”, pathTcl) + pathPostFix
RuntimeError: Nothing is named “script”

It renders fine if I submit the scene from within the deadline monitor.

But the very strange thing is, that it works if I do the exact same thing in proxy mode. I have the same line in the proxy write line:

W:/02 SUBMISSIONS/INHOUSE/[value seq]/[value shot]/out/[value seq]/[value script].mov

In Proxy mode i can submit with the submission script, in normal mode i can’t.

maybe someone has an idea.

thank you

This looks like an issue that was fixed in 7.1, but we changed a 7.0 submit script to have the same fix, which I am including here. This file should go into “[repo]\submission\Nuke\Main” after making a backup of the current file. Let us know how it works.
SubmitNukeToDeadline.zip (18.3 KB)