jance wrote:
If we submit a job from the Mac, both Mac and PCs
will pick it up, and the Mac renders fine, but the PCs all fail until we
go into Job Edit and add //servername/ at the beginning of the perl
command. Then both Macs and PCs render fine.
The submit scripts use the path they were invoked with
to determine the path to invoke themselves with.
So if you invoke the submit script with /jobs/rushscripts/submit-shake.pl
on the Mac, then the script will submit itself to rush with that path,
causing the PCs to fail because /jobs/rushscripts/.. is not a valid path.
It sounds like what you want is to have the submit script
fix paths that are specified as /jobs/xxx -> //servername/jobs/xxx
To do this, edit the .common.pl file found on your file server
in the same directory as the submit script, and add a line to the
'FixPath()' function, ie:
sub FixPath($)
{
my ($path) = @_;
[..]
$path =~ s%^/jobs%//servername/jobs%; # ADD THIS LINE
$path =~ s%/\./%/%g;
return($path);
}
In the root of the Mac
hard drive, we have a folder called servername and a symbolic link
inside called jobs that points to //servername/jobs/. This seems to be
what is allowing the Mac to continue working once we've edited the job
to add //servername/ at the beginning of the perl command.
That part sounds fine.
I think what's happening is when you invoke the submit script,
it's not getting the //servername/ part of the path as part
of the invocation.
The above modifications to the 'FixPath()' function will
be applied to all paths in rush so that they are rewritten properly.
(ie. the path to itself, scene file paths, log directory paths, etc)
--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)
|