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

[Maya-Python] Re: PySide2/PyQt5 troubles and advice needed

2017-01-26 Thread Benjam901
Cool thanks man, I am looking at the Qt stuff now it could be a real nice solution to my problem :) On Thursday, 26 January 2017 15:27:57 UTC+1, Benjam901 wrote: > > Hello all, long time no post! > > I am migrating our studio over to Maya2017 and am having some trouble with > the first hurdle of

Re: [Maya-Python] PySide2/PyQt5 troubles and advice needed

2017-01-26 Thread Nicolas Chaverou
On Thu, Jan 26, 2017 at 3:27 PM, Benjam901 wrote: > Can anyone tell me if it is possible to get PyQt5 for windows python 2.7 > and any other advice for making this switch would be gratefully recieved. > > This could be a good start: https://fredrikaverpil.github.io/2016/07/25/dealing-with-maya-20

[Maya-Python] PySide2/PyQt5 troubles and advice needed

2017-01-26 Thread Benjam901
Hello all, long time no post! I am migrating our studio over to Maya2017 and am having some trouble with the first hurdle of transferring from PyQt4 over to PyQt5. Firstly our studio bootstrap for Maya2015 overrides the Maya built in PySide and uses standard PyQt4 across the whole setup. I hav

[Maya-Python] MayaPy 2017 PythonInterpreter crash

2017-01-26 Thread Erik Karlsson
Hi everyone! I'm trying to get maya 2017 up and working. But I'm having some issues. This time it's the mayapy.exe. It's not behaving the way it did in 2016. I can't run it cleanly without a crash... I get a windows popup saying PythonInterpreter has stopped working. And this is the output from