Deadline 6 beta 12.
Centos6.3
This all seems to have changed and I am slightly confused…
I started off with Nuke 7.04 and used the same presets / menu items from Nuke 6 and found when I used the submit to deadline option the request just did not go anywhere.
We had to downgrade to Nuke 6 for many workstations due to a bug and this “submit to deadline” works.
Dug further into the thinkbox webpage and found that the menu.py additional parts have changed from SubmitToDeadline to DeadlineNukeClient.
So menu.py within nuke was changed to DeadlineNukeClient.
I now get a popup error which is a start…Problem is the error message does not make sense…
Error:
The SubmitToDeadline.py script could not be found in the Deadline Repository. Please make sure that the Deadline Client has been installed on this machine, that the Deadline Client bin folder is set in the DEADLINE_PATH environment variable, and that the Deadline Client has been configured to point to a valid Repository.
[chrish@z600-10 ~]$ printenv |grep -i dead
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/mnt/vine/software/linux/arnold/current/bin:/opt/Thinkbox/DeadlineRepository6/bin:/mnt/vine/software/linux/rv/current/bin:/mnt/vine/scripts:/mnt/vine/software/linux/arnold/current/bin:/opt/mono/bin:/mnt/vine/software/linux/rv/current/bin:/mnt/vine/scripts:/usr/local/Thinkbox/Deadline/python/2.6.7/x86_64/:/usr/local/bin:/opt/Thinkbox/Deadline6/bin/:/mnt/home/chrish/bin
DEADLINE_PATH=/opt/Thinkbox/Deadline6/bin
[chrish@z600-10 ~]$
Therefore the DEADLINE_PATH is set
[chrish@z600-10 ~]$ deadlinecommand GetRepositoryRoot
/mnt/DeadlineRepository6
[chrish@z600-10 ~]$
As the deadlinecommand runs the DEADLINE_PATH must work and the repository must be setup…
[chrish@z600-10 ~]$ cd /mnt/DeadlineRepository6/submission/Nuke
[chrish@z600-10 Nuke]$ ls -al
total 132
drwxrwxrwx 4 root vine 4096 Feb 28 13:32 .
drwxrwxrwx 18 root vine 4096 Feb 11 12:27 …
drwxrwxrwx 2 root vine 4096 Mar 5 12:48 Client
-rwxr-xr-x 1 root vine 704 Feb 28 13:31 DeadlineGlobals.py
-rw-r–r-- 1 nobody vine 148 Feb 28 13:32 DeadlineGlobals.pyc
drwxrwxrwx 2 root vine 4096 Mar 5 12:51 Main
-rwxr-xr-x 1 root vine 52338 Feb 28 13:30 SubmitNukeToDeadline.py
-rw-r–r-- 1 nobody vine 33982 Feb 28 13:30 SubmitNukeToDeadline.pyc
-rwxr-xr-x 1 root vine 18565 Feb 28 13:30 SubmitNukeToDeadline.tcl
[chrish@z600-10 Nuke]$
The SubmitNukeToDeadline script is available, but I dont think it should be called as the module is now calling DeadlineNukeClient
#Deadline Plugin
#tb = menubar.addMenu("&Deadline")
#tb.addCommand(“Submit To Deadline”, SubmitToDeadline.main, “”)
tbmenu = menubar.addMenu("&Thinkbox")
tbmenu.addCommand(“Submit Nuke To Deadline”, DeadlineNukeClient.main, “”)
Looking through the DeadlineNukeClient calls SubmitNukeToDeadline
Get the repository root
path = GetRepositoryRoot()
if path != "":
path += "/submission/Nuke/Main"
.
.
.
import SubmitNukeToDeadline
SubmitNukeToDeadline.SubmitToDeadline( path )
[chrish@z600-10 plugins]$ cd /mnt/DeadlineRepository6/submission/Nuke/Main/
[chrish@z600-10 Main]$ ls -al
total 72
drwxrwxrwx 2 root vine 4096 Mar 5 12:51 .
drwxrwxrwx 4 root vine 4096 Feb 28 13:32 …
-rwxrwxrwx 1 root vine 704 Jan 30 19:07 DeadlineGlobals.py
-rw-rw-r-- 1 nobody vine 153 Mar 5 12:51 DeadlineGlobals.pyc
-rwxrwxrwx 1 root vine 54513 Jan 30 19:07 SubmitNukeToDeadline.py
[chrish@z600-10 Main]$ pwd
/mnt/DeadlineRepository6/submission/Nuke/Main
[chrish@z600-10 Main]$
So everything looks like its in the correct place, but doesn’t work.
Suggestions please…
Chris