From: Daniel Browne <dbrowne@(email surpressed)> Subject: Rush Maya submit and Python Date: Wed, 15 Dec 2010 20:04:17 -0500 |
Msg# 1983 View Complete Thread (2 articles) | All Threads Last Next |
Hi Greg, Thanks again for your help with the memory issues. I'm making some updates to rendering with mentalray standalone in the python submit and I can't seem to get either the script or the python rush environment to search its system path for the ray binary. I've had a similar issue with python in the shell not searching our central python library for a module I had recently installed. Do you know if there are mac specific quirks to Apple's python installation that could be related to this? Do I have to pass flags to python to get it to search paths? I don't want to have to give explicit paths to absolutely everything. -Dan ---------- Dan "Doc" Browne System Administrator Evil Eye Pictures dbrowne@(email surpressed) Office: (415) 777-0666 x105 |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: Rush Maya submit and Python Date: Thu, 16 Dec 2010 17:48:46 -0800 |
Msg# 1984 View Complete Thread (2 articles) | All Threads Last Next |
Daniel Browne wrote: > I'm making some updates to rendering with mentalray standalone in the > python submit and I can't seem to get either the script or the > python rush environment to search its system path for the ray binary. Hmm, can you paste the entire environment variable section of the top of the submit script where you're setting up the PATH variable. Also can you paste here a copy of the frame log showing the error? > I've had a similar issue with python in the shell not searching our > central python library for a module I had recently installed. > Do you know if there are mac specific quirks to Apple's python installation > that could be related to this? No, I haven't noticed a problem myself; the python stuff seemed just as stable as perl for my purposes. Let's see what you have though in your logs vs. in your code. > Do I have to pass flags to python to get it to search paths? > I don't want to have to give explicit paths to absolutely everything. No, the OS should search the PATH for you. You might want to turn on the 'Print Environment' flag (in the submit form, click on the 'Rush' tab, scroll all the way down to the bottom, and turn on the 'Print Environment' setting), then let the render run. This will cause the script to print all the environment settings just before the renderer is invoked. This way you can check the /actual/ settings being passed to the operating system, to make sure there aren't any typos getting in there, due to the python interpreter's escape handling, quoting, or some such. |