Re: [Maya-Python] Re: MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Erik Karlsson
Cool thanks for the insights! The os._exit(0) was a new one for me. It works! No more crashes. Great workaround. Like Chad said, I learned to add the uninitialize call in 2016 and according to the maya documentation this is still valid for 2017. I disabled all my startup scripts I think. I did

Re: [Maya-Python] Re: MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Erik Karlsson
Cool thanks for the insights! The os._exit(0) was a new one for me. It works! No more crashes. Great workaround. Like Chad said, I learned to add the uninitialize call in 2016 and according to the maya documentation this is still valid for 2017. I disabled all my startup scripts I think. I did

Re: [Maya-Python] Re: MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Chad Vernon
The uninitialize was introduced in 2016 and is required or else Maya crashes on exit...similar to this case! I'm not sure why this case is crashing. I tested your script in 2017 and it didn't crash. Do you have any start up scripts running? Anything in your MAYA_SCRIPT_PATH env? On Thursday

Re: [Maya-Python] Re: MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Justin Israel
I've never used the uninitialize call. Does it crash when you don't use that? Does it provide important functionality in a shell script? I too have seen crashes during exit, and the quick fix can be to use os._exit(0) This will force the python interpreter to exit quickly without calling any of th

[Maya-Python] Re: MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Robert White
I've had the interpreter crash a lot on exit due to plugins not unloading cleanly. Might be worth trying it with all of them disabled? On Thursday, January 26, 2017 at 5:22:45 AM UTC-6, Erik Karlsson wrote: > > Hi everyone! > > I'm trying to get maya 2017 up and working. But I'm having some issue