In any other python editor I have no crash.In eclipse for instance,it doesn´t crash after building more than one GUI. It is just in maya :( I thought about PyQT.The thing is that I just spent my money in a Tkinter book...and for nothing aparently...
> From: [email protected] > To: [email protected] > Subject: Re: [Maya-Python] Re: Comunication between GUI and external scripts? > Date: Fri, 4 Dec 2009 09:36:31 -0800 > > > > > If I run that one time in maya,no problem. > > If run it a seconde time,the system crashes. > > do you mean a second time with the first window still open? i.e. with > the first rigBuilderUI.mainloop still running? > > > > It looks like the problem is caused by the .mainloop() > > is it possible to spawn more than one window from a tk.Tk object? if > this is anything like a QApplication, you can have only one, and this > would make sense because the function to run it is called *main*loop(). > > > > > Any suggestions? > > while PyQT is quite a bit more work to get up and running, it's worth > it for the community support > > -- > http://groups.google.com/group/python_inside_maya _________________________________________________________________ -- http://groups.google.com/group/python_inside_maya
