Alessandro Iob wrote:
I've installed wxPython-2.3.2-Py21.exe (removing the previous 2.3.1
version, that works fine).
Then, when I start the wxPython demo, the splash screen appears (and
disappears) as usual,
but nothing else appends and no error is displayed. The applications
hangs.
I've tested also 2.3.2 beta 5,6 and 7, and they have the same problem.My software configuration is:
OS: Windows 2000 Professional Service Pack 2
Python: ActiveState ActivePython 2.1.1 Build 212
WXPython: 2.3.2 for Python 2.1Any suggestion?
My OS and Python versions match exactly.
I encountered the same problem using 2.3.2, 2.3.2b6 and b7 whereas b5 worked.
After switching from the ActiveState distribution to the distribution
from python.org, 2.3.2b5 and 2.3.1 also hung.
Do you run something like the NVidia Desktop Manager or similar tool?
If so, try to disable it. After I switched it off, every wxPython version
ran with every Python distribution.
If anyone wants to dig in, in my case the app hung inside the
wxFrame.__init__ call:
class wxPythonDemo(wxFrame):
def __init__(self, parent, id, title):
print "before constructor"
wxFrame.__init__(self, parent, -1, title, size = (800, 600),
style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
print "after constructor"
'before constructor' is the last statement printed if the NVidia
Desktop Manager is enabled.
HTH,
Michael
···
--
- Michael Krause
- Email michael@krause-software.de