#17 DrPython fails to start on WinXP

closed-invalid
nobody
None
5
2004-08-09
2004-08-09
Anonymous
No

Versions used:
DrPython 3.3.2
Python 2.3.3
wxPython 2.4.2.4

DrPython fails to start on WinXP, traceback below:

Traceback (most recent call last):
File "C:\drpython-3.3.2\drpython.py",
line 3136, in ?
app = DrApp(0)
File "C:\Python23\lib\site-packages\wxPython\wx.py",
line 1957, in __init__
_wxStart(self.OnInit)
File "C:\drpython-3.3.2\drpython.py",
line 3127, in OnInit
frame = DrFrame(None, 101, "DrPython - Untitled 1")
File "C:\drpython-3.3.2\drpython.py",
line 461, in __init__
self.mdinotebook = drNotebook(self, -1,
wx.DefaultPosition, wx.Size(self.pre
fs.windowwidth, self.prefs.windowheight),
wx.CLIP_CHILDREN)
File "C:\drpython-3.3.2\drpython.py",
line 80, in __init__
self.Bind(wx.EVT_LEFT_DOWN, self.OnFindFocus)
AttributeError: drNotebook instance has no
attribute 'Bind'
09:01:37: Debug: e:\Projects\wx2.4\src\msw\app.cpp
(439): 'UnregisterClass(canvas
)' failed with error 0x00000584 (class still has open
windows.).

Does DrPython require a certain version of wxPython?

Discussion

  • Daniel Pozmanter

    Logged In: YES
    user_id=796750

    Yup.

    It needs wxPython 2.5.1.5 or higher.
    (Bind is a new method in 2.5.1.5).

    (http://drpython.sourceforge.net/documentation.html)

     
  • Daniel Pozmanter

    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks