AWS Thinkbox Discussion Forums

Inconsistent results between MayaBatch and MayaCmd Plugins

Thanks Andrew! I took a look, and nothing seems out of the ordinary here.

I googled this error, and found this:
forums.steampowered.com/forums/s … ?t=2753326

It would appear that setting PYTHONHOME for the current session could solve this issue. I think the reason why this cropped up in beta 6 is that in previous versions, the Slave’s PYTHONHOME variable was being inherited by the rendering process.

I’m going to do some additional digging on my end, but I’ve uploaded an updated MayaBatch script here that explicitly sets the PYTHONHOME variable to the correct Maya location for the given section. Give it a try and let us know if it makes a difference.

Thanks!

Hey Ryan.

This MayaBatch.py worked to set the Pythonhome.

So beta 6 is rendering without the python errors but still with the bad frames.

Glad to hear the MayaBatch patch fixed the python errors. We’ll be including this fix in beta 7.

So for now, it sounds like you should be fine by enabling the option to only map if the drive is unmapped. Then, when beta 7 comes out, things should work like they did back in beta 2 where the drive will only be mapped for the first task of a job.

Cheers,

  • Ryan

Hey Ryan.

What do you think the eta is on Beta 7?

Also will the changes you made to mayabatch.py be included in 7 or were those specific to our issues?
I think Seth still needs to look at how all the python paths are being set with the new mayabatch.py you sent.

Should be early next week (Monday or Tuesday).

Both MayaBatch.py and MayaCmd.py will have the updated PYTHONHOME stuff in beta 7.

Cheers,

  • Ryan
Privacy | Site terms | Cookie preferences