[wxPython] wxPython 2.3.2 for Python 2.1 (win32 version) does not work

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.1

Any 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

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.

What does the NVidia Desktop Manager do? Is it downloadable from somewhere
so I can try to debug this? (And does it work on non nVidia cards?)

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.

Does it still hang if you specify a position for the frame?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

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.

What does the NVidia Desktop Manager do? Is it downloadable from somewhere
so I can try to debug this? (And does it work on non nVidia cards?)

The main function of the NVidia Desktop Manager seems to be (usable)
multiple monitor support which includes overriding the size and
position of windows and restricting the windows taskbar and pop-ups to a
single desktop.

The Elsa drivers list the following libraries which are installed
inside c:\WINNT\system32:
NVDESK32.DLL - desktop manager
NVDMCPL.DLL - desktop manager hook library

I don't think it runs on anything but nVidia cards.

Does it still hang if you specify a position for the frame?

No, specifying the position does not help but including python.exe in
the list of applications managed by the desktop manager does help.

On Usenet you find several messages about the NVidia desktop manager
crashing the Quicktime player. Whatever this thing does seems to be a
loose interpretation of the windows api.

Regards,
Michael

···

--
- Michael Krause
- Email michael@krause-software.de