If you switch back from Adv Workflow to Std Workflow for Shotgun you get a “Template box” error of some variety .
An exception occured in the event handler for TemplateBox KeyError: (Python.runtime.PythonException)
If you switch back from Adv Workflow to Std Workflow for Shotgun you get a “Template box” error of some variety .
An exception occured in the event handler for TemplateBox KeyError: (Python.runtime.PythonException)
Good catch; I was able to confirm this as a bug. This will be fixed in the next version. In the meantime if you’re wanting to switch back to the task-oriented workflow to test it out, you can do one of the following:
Switch back to Advanced, open the Shotgun browser, select a Task, then hit OK. (Then switch back to simple)
Delete any ShotgunSettings.ini files (eg, NukeShotgunSettings.ini, MaxShotgunSettings.ini, etc) you have in your Deadline settings folder (in Win 7 this is located in [User Folder]/AppData/Local/Thinkbox/Deadline/settings)
Edit the ShotgunUI.py file in [Repository path]/events/Shotgun as follows:
Find this block of code (should be approximately around line 740):
#might not be a task selected
displayTaskName = scriptDialog.GetValue("TaskBox")
if not IsNoneOrWhiteSpace( displayTaskName ):
task = sgTaskDict[ displayTaskName ]
templateString = re.sub( '(?i)\$\{task\}', task['content'], templateString )
templateString = re.sub( '(?i)\$\{project\}', task['project']['name'], templateString )
templateString = re.sub( '(?i)\$\{shot\}', task['entity']['name'], templateString )
else:
Change the last line (“else:”) to:
elif advancedMode:
Cheers,
Jon