AWS Thinkbox Discussion Forums

Fusion Comp with multiple outputs creating one Draft job

We’ve enabled the Draft QT functionality within out fusion submit tool here and it’s working great for one image seqence per comp but seems we’re hitting a snag when we’re writing more than one image sequence from within the Fusion Flow.

You see it’s auto-creating the draft job after the comp has completed and it’s added the (1/2) [DRAFT] part into the name but it’s not added the (2/2) [DRAFT] job that I suspect should follow.

We’re using Deadline 6.0 (final build) is there an event script I can amend for Draft to loop through list of output folders from the fusion job history? Is there a fix in 6.1 I can back port? :slight_smile:

Many thanks!

Can you right-click on the Fusion job and archive it and post it here? We can drop it into our farm and see if we can reproduce this. From looking at the Draft event plugin code, it should be looping through all output files already…

Sure thing Ryan, Yeah, I’m looking at the Draft event script and there is a loop. I’ll package this up now and maybe throw up the logs as well.

I’ve got a tonne of project specifics embedded into it I’ll send the attachment to support email address if that’s ok.

Yup, that’s fine. We’ll keep an eye out for it.

If you look further down the log in the zip file you’ll see this:

2013-11-07 16:06:27: 0: INFO: Process exit code: 0 2013-11-07 16:06:28: CheckPathMapping: Swapped "Q:\draft\Samples\Encode\encode_to_MOV_H264_FULL_RES.py" with "Q:\draft\Samples\Encode\encode_to_MOV_H264_FULL_RES.py" 2013-11-07 16:06:28: Found Draft Template: 'Q:\draft\Samples\Encode\encode_to_MOV_H264_FULL_RES.py' 2013-11-07 16:06:28: Preparing Draft Job for output 1/3: X:\ApipelineProject\output\assets_and_RnD\users\jamiem\LetterBoxed\H264_QT\comp_out_tester_1080p.mov 2013-11-07 16:06:28: Submitting Draft Job to Deadline... 2013-11-07 16:06:28: Deadline Slave 6.0 [v6.0.0.51561 R] 2013-11-07 16:06:28: Submitting to Repository: \\repoServer\repository 2013-11-07 16:06:28: Submission Contains the Following: 2013-11-07 16:06:28: 1) Auxiliary File #1 ("C:\Users\jamiem\AppData\Local\Thinkbox\Deadline6\temp\draft_event_plugin_info0.job") 2013-11-07 16:06:28: 2) Auxiliary File #2 ("Q:\draft\Samples\Encode\encode_to_MOV_H264_FULL_RES.py") 2013-11-07 16:06:28: Result=Success 2013-11-07 16:06:28: JobID=527bba8480ef930ae4f80b4c 2013-11-07 16:06:28: The job was submitted successfully. 2013-11-07 16:06:28: An error occurred in the "OnJobFinished" function in events plugin 'Draft': An error occurred in function "OnJobFinished" the event plugin script file "\\repoServer\repository\events\Draft\Draft.py": Object reference not set to an instance of an object. (Deadline.Events.DeadlineEventPluginException) 2013-11-07 16:06:28: at Deadline.Events.DeadlineEventPlugin.a(String A_0, Exception A_1) 2013-11-07 16:06:28: at Deadline.Events.DeadlineEventPlugin.OnJobFinished(Job job, String[] auxiliaryFilenames) 2013-11-07 16:06:28: at Deadline.Events.DeadlineEventManager.OnJobFinished(Job job, String[] auxiliaryFilenames, DataController dataController)

Hope it helps! :smiley:

We were able to reproduce this, and attached is an updated Draft.py event file that should fix the problem.

To install, go to \your\repository\events\Draft and make a backup of Draft.py. Then unzip the attached file to the same folder. Try again and let us know if all the Draft jobs are submitted properly, and if they’re not, please send the log again.

Thanks!

Nice one Ryan, will test this in the morning and let you know how it fares. Much appreciated.

Works like a charm, many thanks Ryan!

Privacy | Site terms | Cookie preferences