Issue 4721: pythonw.exe crash in GUI application(PythonWX) (original) (raw)

I have Python 2.6.1 in Windows Vista. It happened in Python 2.6 and I hoped it would be fixed. I don't know what happenes in other versions. When I open a file containing a python program(".py"/".pyw" and even one compiled with py2exe) made by using the PythonWX GUI programming libraries it crashes immediately after the mouse hovers over the window created by the program(spesifically in the area inside it). It happenes both when the program is a ".py" file and a ".pyw" file or one compiled with py2exe. I get a message that the program stopped working. Shouldn'nt I get a message about wrong code? It doesn't crash in the Python Shell, but it has happened ,too, a few times.

Do I do something wrong? Is there something I should know?

The programs I use are not made by me(I can't yet make mine), but they are examples downloaded or copy-pasted. Here is one:

import wx app = wx.PySimpleApp() frame = wx.Frame(None,-1,"Hello World") frame.Show(True) app.MainLoop()

Please tell me what is wrong or what I should do.

Please understand that the bug tracker is not a place to obtain help, but a place to provide help. You can help by analysing the source of the crash in a debugger, such as the one of Visual Studio.

In any case, it seems that the crash is specific to wxPython, which is not part of the Python 2.6 distribution. Please report it to the authors of wxPython.

Closing this report as 3rd-party.