drpython on x86_64

Help
mathguy
2005-02-26
2013-04-26
  • mathguy
    mathguy
    2005-02-26

    I am running fedora core 3 on x86_64. Running drpython.lin produces:

    [mb@velebit drpython-3.10.11]$ ./drpython.lin
    Traceback (most recent call last):
      File "./drpython.pyw", line 36, in ?
        app = drpython.DrApp(0)
      File "/usr/lib64/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__
        _wxStart(self.OnInit)
      File "/home/mb/drpython-3.10.11/drpython.py", line 3471, in OnInit
        self.frame = DrFrame(None, 101, "DrPython - Untitled 1")
      File "/home/mb/drpython-3.10.11/drpython.py", line 90, in __init__
        self.InitializeConstants()
      File "/home/mb/drpython-3.10.11/drpython.py", line 1178, in InitializeConstants
        self.STCCOMMANDLIST = drShortcuts.GetSTCCommandList()
      File "/home/mb/drpython-3.10.11/drShortcuts.py", line 219, in GetSTCCommandList
        return [wx.stc.STC_CMD_BACKTAB, wx.stc.STC_CMD_CANCEL,
    AttributeError: 'module' object has no attribute 'STC_CMD_CHARLEFTRECTEXTEND'

    Any hints are appreciated.

     
    • It looks like you have a bad installation/incorrect version of wxpython.

      What version/port do you have?
      What was your installation method?

      I'd suggest going with the 2.5.2.8 GTK1 port.
      (Or 2.5.3.1 GTK2).

       
    • mathguy
      mathguy
      2005-02-27

      I have wxPythonGTK2-2.4.2.4 installed from rpm's. I haven't been able to build from sources. Can you tell what's missing?

      My theory is that the problem is that drpython gets confused by the fact that it gets installed under /usr/lib/python2.3 while a lot of other modules are installed under /usr/lib64/python2.3.

      Has anybody successfully installed drpython under x86_64?

       
    • DrPython requires wxPython 2.5 to run.  (2.5.1.x or higher).

       
    • mathguy
      mathguy
      2005-02-28

      Thanks!

       
    • :) Sure thing.