On 03/12/13 15:02, Mr. Daniel Browne wrote:
> The unset method does not work. I get the impression the GUI is being =
> displayed using maya's internal python, but then subsequent calls to the =
> script require PYTHONHOME to be set to /usr otherwise they will fail as =
> they are running outside maya's environment.
Weird. I can't help but think that the PATH might be being
used here as well.. I know python can be influenced by the PATH,
so you may want to check that closely as well.
> The PYTHONPATH solution suggested by the autodesk page doesn't resolve =
> it either. What still puzzles me is why I didn't have this problem =
> before; I've had a test machine running CentOS 6 for a while now and I =
> swear the submits were working just fine before.
> I even tried the CentOS 6.4 update that came out yesterday and there was =
> no difference.
I'd compare the environments between the two machines to see
if there's something obvious.
I like to use 'printenv | sort > /tmp/foo.txt' to save the environment
settings; run that on both machines from within maya, and then use a
program like diff, xxdiff or 'vi -d' to compare the two files to see
what's different.
You may find you want to break out the PATH variable separately
into separate lines at each ':' to see what's different and possibly
track down if that difference is the issue.
--
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)
|