Quicktime Job Submission error

Testing deadline between two machines and both are reporting the same error. (BTW, xsi renders works fine).



Here’s the juicy part of the error log …



**********************************



0: STDOUT: Loading images

---- September 06 2007 – 09:04 AM ----

0: STDOUT: Initializing exporter

0: STDOUT: Loading exporter settings from file

0: STDOUT: Creating movie…

---- September 06 2007 – 09:11 AM ----

0: STDOUT: Moving movie file to final destination

0: INFO: Process return code: 128

Scheduler Thread - Render Thread 0 threw an error:

Scheduler Thread - Exception during render: QuicktimeGenerator returned a non-zero error code, 128. It may have crashed or been terminated externally.



**********************************



Now the weird thing is it appears that the movie gets created correctly when we check it out on the server but is throwing an error at completion. The major problem is deadline keeps trying to resumbit the “failed” job.



So my question is

A. Can we ignored the 128 error somehow in deadline so the job doesn’t get resubmitted?

B. Is there something when can do when submitting the job to not get such an error?



PS) Both machines have quicktime pro installed and can created the movies using quicktime’s native interface.



Thank you in advance,



Delaney




Hi Delaney,



There is a way to ignore that error code 128. Go to

\your\repository\plugins\QuicktimeGenerator and open the file

QuicktimeGenerator.dlinit. Find this line:



CheckReturnCode=if( ReturnCode() != 0 ) { if( ReturnCode() == 128 ) {

FailRender( “QuicktimeGenerator returned a non-zero error code, 128. It

may have crashed or been terminated externally.” ); } else { FailRender(

"QuicktimeGenerator returned a non-zero error code, " … ReturnCode() …

“.” ); } }





Basically, the script is checking the error code it it isn’t 0. If it is

128, it prints out a more detailed message when it fails the render,

otherwise it just fails the render with a generic message. On the line,

replace the first “FailRender” with “LogInfo”. So the line should now

look like this:



CheckReturnCode=if( ReturnCode() != 0 ) { if( ReturnCode() == 128 ) {

LogInfo( “QuicktimeGenerator returned a non-zero error code, 128. It may

have crashed or been terminated externally.” ); } else { FailRender(

"QuicktimeGenerator returned a non-zero error code, " … ReturnCode() …

“.” ); } }





Note that the code snippets above should be on a single line (word wrap

in this post will chop them into multiple lines). Now Deadline will only

log the message when 128 is returned instead of failing the render. Try

this and let me know if it works. If it does, we will likely make it a

plugin configuration option to fail on 128 return codes or not.



Cheers,

Initial tests look like that works. Thanks a lot! Now another simple thing probably, any way to minimize the slave to the system tray? I keep close it on mistake. Perhaps a service?

Cool, glad it’s working. We’ll make it a configurable option to ignore

this in the future.



The slave doesn’t yet have an option to minimize to system, nor can it

run as a service. However, we are going to add the option to run as a

service in Deadline 3.0, which should be available for beta testing in

the next month or two.



Cheers,

Now another simple thing probably,

any way to minimize the slave

to the system tray? I keep

close it on mistake.



You can use this program http://www.teamcti.com/trayit/trayit.htm for time being. It’s so easy and solved all my problems :wink:



Hope it helps,