Menu

AttributeError on startup (3.1.5)

Help
Anonymous
2004-07-18
2004-07-18
  • Anonymous

    Anonymous - 2004-07-18

    Hello. When I try to run drpython 3.1.5 under Python 2.3 on my Mandrake 9.2 machine, I get this:

    Traceback (most recent call last):
      File "drpython.py", line 2983, in ?
        app = DrApp(0)
      File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1939, in __init__    _wxStart(self.OnInit)
      File "drpython.py", line 2975, in OnInit
        frame = DrFrame(None, 101, "DrPython - Untitled")
      File "drpython.py", line 453, in __init__
        self.mdinotebook = drNotebook(self, -1, wx.DefaultPosition, wx.Size(self.prefs.windowwidth, self.prefs.windowheight), wx.CLIP_CHILDREN)
      File "drpython.py", line 80, in __init__
        self.Bind(wx.EVT_LEFT_DOWN, self.OnFindFocus)
    AttributeError: drNotebook instance has no attribute 'Bind'

    As I'm still quite the Python (and, for that matter, Linux) newbie, I have no idea what to make of it. Can anyone help?

    Thanks in advance.

     
    • Franz Steinhaeusler

      Hello,

      this is the same problem, Grant Morgan (ryuuguu)
      in the message subject "another trouble tunning"
      a few days ago had.

      You need to install wxPython 2.5.x.

       

Log in to post a comment.