Hi,
Cosmetic, but can we tidy up the shotgun api py module error if the “test shotgun connection” script is executed by someone in a studio without Shotgun?
Thanks,
Mike
Yeah, we should have a better error message. I’ve logged this request.
Cheers,
- Ryan
This will be fixed in the next version
Just started testing Deadline 5.1 today, getting this error when I try to submit a nuke job through the Submit script menu in the monitor. Job is still getting submitted.
Deadline Monitor 5.1 [v5.1.0.44844 R]
Submitting to Repository: \storage\deadline\repository
Submission Contains the Following:
- Auxiliary File #1 (“C:\Documents and Settings\christoffer.hulusjo\Local Settings\Application Data\Thinkbox\Deadline\temp\nuke_plugin_info.job”)
- Auxiliary File #2 ("\storage\deadline\repository\jobs\000_075_000_72df1b58\REA_BRC033_0370_comp_v0021_wip_v0001.nk")
Events plugin ‘Shotgun’ could not be loaded from the repository because: Error executing event plugin script “\storage\deadline\repository\events\Shotgun\Shotgun.py”: Python Exception: ImportError : No module named shotgun_api3 (Python.Runtime.PythonException)
Type: <type ‘exceptions.ImportError’>
Value: No module named shotgun_api3
Stack Trace:
[’ File “none”, line 20, in \n’, ’ File “\\storage\deadline\repository\events\Shotgun\ShotgunUtils.py”, line 4, in \n from shotgun_api3 import Shotgun\n’]
(Deadline.Events.DeadlineEventPluginException)
Result=Success
JobID=999_050_999_0f832b86
Hey Christoffer,
Did you install the Shotgun API script?
viewtopic.php?f=85&t=5225&p=21386#p21386
We’ve just updated these instructions for alpha 4.
Cheers,
- Ryan
Hey Ryan,
No, I haven’t had a chance to try the Shotgun integration just yet! We are still evaluating shotgun for the facility… Maybe if possible, for future builds you guys should make the basic stuff like the Re-submit a job by right clicking it or when you submit a job from the Submission menu in the monitor independent and not require an installation of the Shotgun api? (or just ship the api with deadline)
Cheers
Oops! Glad you caught that. We meant to have the Shotgun event plugin disabled by default, and it looks like that got reverted. This will be fixed going forward. We also plan to start shipping the SG API with Deadline going forward as well.
When enabled, the SG event plugin gets called whenever a job is submitted or is marked as complete. So in one way it’s completely independent of things like job submission, but in another way it’s completely integrated.
Cheers,
- Ryan