From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: After Effects Write Permissions Errors
   Date: Tue, 29 Jan 2008 19:50:18 -0500
Msg# 1676
View Complete Thread (5 articles) | All Threads
Last Next
Marco Recuay wrote:
> Just for completeness, the adjustment to afterfx-submit.pl that added 
> requeing for this error specifically:
> 
> # HANDLE EXIT CODES
> if ( $exitcode == 0 )			# OK?
>     { print STDERR "\n--- AERENDER SUCCEEDS\n"; exit(0); }
> elsif ( $exitcode == 9 )	# WEIRD WRITE ERROR
>     { print STDERR "--- AERENDER FAILED...REQUEING: EXITCODE=$exitcode\n"; }
> elsif ( $exitcode > 0 && $exitcode < 128 )	# NON-ZERO EXIT
>     { print STDERR "--- AERENDER FAILED: EXITCODE=$exitcode\n"; exit(1); }
> elsif ( $exitcode )				# SEGFAULT/SIGNAL
>     { print STDERR "--- AERENDER FAILED: $errmsg\n"; exit(1); }

> Just needed to remove the exit() code from the end of the line, and it 
> now runs through the retry count after failing.

	Yes, sounds right.

	By removing the exit(2); you had previously, it won't requeue
	to some other machine, but rather will fall through to the
	retry loop (just as you said), so that it tries on this same machine
	up to the number of retries configured for the Retries: prompt
	in the submit form.


-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next