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.
-Marco
On 2008-01-28 19:18:38 -0800, Marco Recuay <marco@(email surpressed)> said:
The error can occur on any machine, so the problem is universal, and
the fact that it seems to occur randomly makes it really hard to
troubleshoot. I was hoping someone else had seen the problem, but its
not a show stopper.
I'm going to go ahead and try editing the submit-afterfx.pl and see if
I can just tell it to requeue if it happens, as requeuing will fix the
problem.
Would this be the correct way to add this error handling?
# HANDLE EXIT CODES
if ( $exitcode == 0 ) # OK?
{ print STDERR "\n--- AERENDER SUCCEEDS\n"; exit(0); }
elsif ( $exitcode == 9 ) # WEIRD WRITE PERMISSION ERROR
{ print STDERR "--- AERENDER FAILED...REQUEING:
EXITCODE=$exitcode\n"; exit(2); }
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); }
I think this should work, but I am no good with perl.
As for the weird automounter issues with /private/var/automount/... I
did a test install of Leopard, and it appears they have fixed
automounts so they mount only at the point specified in LDAP, so thats
good news.
On a side note, I tried the old AFP doesnt support multiple users bug
out in Leopard, and its still broken. Login as User A, with write
priveleges to AFP server 1. Then from the unix prompt, login as User B
with write priveleges to server 1. Yet User B has no priveleges. Booo.
Marco
|