I saw a cool feature which i didn´t kow existed: you can submit a draft job from the version page in shotgun…? That is a geat tool as it would mean our production team can trigger the creation of a low rez quicktime if they need it, very handy indeed…
Currently this is only available on Windows boxes; I still have to look into getting it working for Mac/Linux (but it should be doable). You’ll need to run the Monitor as Administrator (windows administrator that is), and go to Scripts -> Install Integrated Submission Scripts. From there, click the ‘Draft (Shotgun)’ button and hit Install (if it’s not there, make sure you’re on the new RC1 version of Deadline).
That should theoretically take care of everything; it will add a “Submit Draft Job” right-click option to Versions in Shotgun, which should pop up a Draft submitter.
i just tested the draft plugin submission script and it gave me an error “…\clientSetup\Draft\DraftShotgunAction.py” could not be found…
So i copied both files to where they belong manually and the menu in shotgun appeared.
If i then select a version and click on the “submit draft job”, a menu appears, asking me which app i want to open it with. It suggests “python.exe” “C:Program…DraftShotgunHandler.py” "%1 > “C:\Test\test.out”
After clicking OK, Shotgun hangs…(and the job never arrives at the monitor).
I’m guessing it’s probably because you don’t have a Python install in your PATH environment. That’s my bad, I should just be explicitly pointing to the Deadline install of Python manually anyways. I’ll modify the script to fix this.
Fixed the script to point to Deadline’s Python, and fixed the typo that prevented the script files from getting copied over properly to begin with.
Just extract the updated script to your repository under the scripts/General/SubmissionScriptAutoDeploy/Draft folder and run the auto-deploy script from the Monitor again. You might have to restart your machine to get it working.
Cheers,
Jon
EDIT: Oops. forgot to upload the actual file… DraftWin.zip (1.7 KB)
it works now, the submission script opens and fills out the frame sequence automaticaly. It doesn´t fill out the output though, which is strange/inconvenient as it does it when i go the normal way though scripts.
Unfortunately i cannot submit because it gives me a python error: "TypeError: cannot concatenate “str” and “int” objects (Python.Runtime.PythonException).
Attached you´ll find the screenshot with the error…
Here’s a fixed-up version of the Draft submitter. It should also be filling out the Output field now, based on the input it pulled from Shotgun. Just extract it to your repository into the scripts/Submission/DraftSubmission folder, and you should be good to go.
Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, -1073741819, which represents a Memory Access Violation. There may not be enough memory, or the memory has become corrupt.
bei Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
Could you post the Draft Script you are using that’s causing this crash? And also, could you post the full slave log of that error? The one in your last post seems to have been truncated
Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, -1073741819, which represents a Memory Access Violation. There may not be enough memory, or the memory has become corrupt.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
The machine that logged the error (rk10) only has 4 gigs of ram as it was meant to be used only as a dedicated draft machine. I tried to run it on a machine with 24 gigs though and still got the same error, so i don´t think it is an issue with the machine not having enough memory…