digiwiz2000
31-12-2009 19:08:38
Has anyone had issues with PythonOgre 1.6.4 and wxPyhon apps hanging after trying to close the program? I am also using Python 2.5.4
The ogre.log shows it stops at unloading materials. I can't tell if this is the problem or if something after this is causing it. Im not getting any useful feedback from the program.
I discovered the problem happens only after I use a wx.FileDialog class to browse for a file. If I do not do this then the application exits happily. For the life of me I can't figure out why this specific class would cause this to happen. I set it up so that I simply open the file dialog and then cancel it. I made sure that I called the Destroy method afterwards. Basically the code I call this now does nothing but open and close the dialog, with of course Python Ogre running in the main window (with nothing loaded)
The ogre.log shows it stops at unloading materials. I can't tell if this is the problem or if something after this is causing it. Im not getting any useful feedback from the program.
I discovered the problem happens only after I use a wx.FileDialog class to browse for a file. If I do not do this then the application exits happily. For the life of me I can't figure out why this specific class would cause this to happen. I set it up so that I simply open the file dialog and then cancel it. I made sure that I called the Destroy method afterwards. Basically the code I call this now does nothing but open and close the dialog, with of course Python Ogre running in the main window (with nothing loaded)