From: jance <powerjance@(email surpressed)>
Subject: Re: Macs not picking up
   Date: Mon, 31 Oct 2005 13:27:59 -0800
Msg# 1070
View Complete Thread (7 articles) | All Threads
Last Next
In article <1069-rush decimal general at seriss decimal com>,
 Greg Ercolano <erco@(email surpressed)> wrote:

> 	by www.3dsite.com (8.12.8/8.12.8) with SMTP id j9VK1PFH018991
> 
> 	for <rush decimal general at seriss decimal com>; Mon, 31 Oct 2005 12:01:25 -0800
> Received: (qmail 24568 invoked from network); 31 Oct 2005 20:02:12 -0000
> Received: from unknown (HELO ?192.168.0.9?) (unknown)
> 
>   by unknown with SMTP; 31 Oct 2005 20:02:12 -0000
> X-pair-Authenticated: 24.205.66.40
> Organization: Seriss Inc.
> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
> X-Accept-Language: en-us, en
> MIME-Version: 1.0
> To: rush decimal general at seriss decimal com, jance@(email surpressed)
> In-Reply-To: <1068-rush decimal general at seriss decimal com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Path: 3dsite.com
> Xref: 3dsite.com rush.general:1069
> NNTP-Posting-Host: localhost
> 
> 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)


Thanks, Greg.  That fixed things so the PCs pick up the Mac-submitted 
job and render fine.

We still can't get the Mac to pick up a job submitted by the PC.  Any 
ideas about that?  The Mac is online and picks up jobs submitted by the 
Mac.

- Jance

Last Next