Submitting jobs form After Effects & Nuke

Hi

Im not succeeding in submitting jobs internally from the softwares(AE & Nuke). Also im positive i followed the instructions as is from the documentation.

The error im getting when launching the script from After Effects is : Unable to execute script at line 234. root is undefined. This After Effects CS5

For Nuke, i just hit the Submit To Deadline Python from the Prime Focus menu and nothing happens at all in Nuke 6.1v2. When i tested in Nuke6.0v7, also nothing happend except that Xquarts app launched.

Thanks

Hi Mohamed,

Double check where you grabbed the script flies that you installed on your workstations. Based on the AE error, it appears you grabbed the script from the submission\AfterEffects folder in the repository, instead of the clientSetup\AfterEffects folder specified in the documentation:
thinkboxsoftware.com/after-e … ript_Setup

If you did the same thing for Nuke, that would explain why your Nuke submission also fails. Also, just an FYI that there is an updated script for Nuke that fixes some bugs, so once you have submission working from Nuke, I would suggest installing the updated script:
viewtopic.php?f=57&t=4394

Cheers,

  • Ryan

Hi,

The new Nuke script is called “SubmitNukeToDeadline” instead of the old one described here :
* Copy [Deadline Repository]/clientSetup/Nuke/SubmitToDeadline.py to [Nuke Install Directory]/plugins.
* Create a menu item in the Nuke UI by adding the following lines to the menu.py file in the Nuke plugins folder:

  import SubmitToDeadline
  pf = menubar.addMenu("&Prime Focus")
  pf.addCommand("Submit To Deadline Python", SubmitToDeadline.main, "")

Im getting an error while launching Nuke now, i tried to rename it from SubmitNukeToDeadline to SubmitToDeadline

Still not working

Here is the Nuke error:
Traceback (most recent call last):
File “/Users/selim/.nuke/menu.py”, line 342, in
pf.addCommand(“Submit To Deadline Python”, SubmitToDeadline.main, “”)
AttributeError: ‘module’ object has no attribute ‘main’

You need to do something like the following:

pf.addCommand("Submit To Deadline Python", nuke.load(\"SubmitToDeadline\"), "")

Mike

Hi Mohamed,

There are 2 scripts in the Repository which are used for integrated Nuke submission. There is one in the clientSetup folder and the one in the submission folder. The one in the clientSetup folder is the one you install on your workstations. This is basically just a proxy script, which when executed, will call the main script in the submission folder. This allows us to provide updates to the main Nuke submission script without requiring you to reinstall the clientSetup proxy on all your workstations.

The updated script we provide on the forums is an update for the main script in the submission folder:
viewtopic.php?f=57&t=4394

The instructions refer to the folder “\your\repository\submission\Nuke”, which contains a file called “SubmitNukeToDeadline.py”. This is the file we are updating, so there is no need to rename the file or do anything else not specified in the instructions.

Also, this looks correct for the menu.py file:

import SubmitToDeadline
pf = menubar.addMenu("&Prime Focus")
pf.addCommand("Submit To Deadline Python", SubmitToDeadline.main, "")

It’s what we have in our menu.py file and it works fine. Mike, does this not work for you?

Cheers,

  • Ryan

Sorry, I’ve gone and tripped over my own custom Nuke pipeline setup where we are doing something a little bit different. Please ignore my previous post as it is incorrect. :blush: