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.
|