AWS Thinkbox Discussion Forums

Anime Studio Pro submission failure when using Integration

Hey guys,

sorry to pull up a bug so late but I only joined the Beta group the other day. Hopefully this isn’t a bug anyway and someone can point me to my mistake.

I’m currently trialing the new Shotgun Integration options in Deadline 7 ie ‘Create/Upload Movie’ and ‘Create/Upload Film Strip’. Our production uses Anime Studio Pro and After Effects.

After half a day of playing around I managed to get the After Effects monitor submitter to render and upload movies and filmstrips from rendered output. I run into a problem when trying something similar with the Anime Studio Pro submitter.

As long as I have ‘Create/Upload Movie’ and ‘Create/Upload Film Strip’ ticked in my submission, the job fails to submit to the repository, and does so ‘silently’. In other words, I’m never given a failure message, I just don’t receive a success message, and the job never joins the queue. All I can think to give you is this from the console:

2014-12-11 10:05:24: Running script AnimeStudioSubmission (C:\DeadlineRepository7\scripts\Submission\AnimeStudioSubmission.py) 2014-12-11 10:06:33: VersionName=Circle Draft Check 2014-12-11 10:06:33: Description=This is an upload test 2014-12-11 10:06:33: UserName=Mark 2014-12-11 10:06:33: TaskName=Manual Creat 2014-12-11 10:06:33: ProjectName=Puffin Rock - Prototype 2014-12-11 10:06:33: EntityName=Circle 2014-12-11 10:06:33: TaskId=2081 2014-12-11 10:06:33: ProjectId=66 2014-12-11 10:06:33: EntityId=1161 2014-12-11 10:06:33: EntityType=Shot 2014-12-11 10:06:33: DraftTemplate= 2014-12-11 10:06:40: PYTHON: Traceback (most recent call last): 2014-12-11 10:06:40: PYTHON: File "none", line 759, in SubmitButtonPressed 2014-12-11 10:06:40: PYTHON: NameError: global name 'jobName' is not defined

I have managed to submit this Anime Studio job successfully without Integration, and with Integration to Shotgun without the Draft Options ticked. In that second case it does create a new version in my Shotgun project so the problem seems to be linked to the Draft Options.

Interestingly, if I then attempt to submit that job again (without closing the submission window) after unticking those options, I get this error:

2014-12-11 10:32:37: PYTHON: Traceback (most recent call last): 2014-12-11 10:32:37: PYTHON: File "none", line 639, in SubmitButtonPressed 2014-12-11 10:32:37: PYTHON: System.IO.IOException: The process cannot access the file 'C:\Users\mmullery\AppData\Local\Thinkbox\Deadline7\temp\anime_studio_job_info.job' because it is being used by another process. 2014-12-11 10:32:37: PYTHON: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 2014-12-11 10:32:37: PYTHON: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 2014-12-11 10:32:37: PYTHON: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 2014-12-11 10:32:37: PYTHON: at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 2014-12-11 10:32:37: PYTHON: at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) 2014-12-11 10:32:37: PYTHON: at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)

Now I don’t know much about this stuff, but it looks like the submission script is ‘hanging’ there, right? Like the previous attempt with filmstrip/movie is still accessing something and preventing the submitter from trying again. Maybe this bit is no use but it seemed pertinent.

I would assume it was a mistake I’d made on my side, except that I managed to do this successfully using the After Effects submitter, so it struck me as possibly an issue with the Anime Studio script.

Let me know if I can provide you with any more info, and of course I can continue to test this if you need me to try anything.

Thanks guys!

Mark

Deadline Version: 7.0.0.50 R (a79b3fb44)
FranticX Version: 2.1.0.0 R (3f765e675)

Windows 7 Pro SP1

Thanks for reporting this. It’s definitely a bug, and it turns out it’s a bug in many of our Monitor submitters. We’ll definitely get this fixed for the public 7.0 release (there likely won’t be time for an RC6).

In the meantime, I’ve attached the fixed Anime Studio script here. Just unzip it to \your\repository\scripts\Submission and overwrite the existing Anime Studio script.

Note that you’ll need to restart the Monitor to unlock that file it’s complaining about in the second error message.

Cheers,
Ryan
AnimeStudioSubmission.zip (9.38 KB)

Works like a dream.

Thanks Ryan!

M

Privacy | Site terms | Cookie preferences