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__
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__
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 18.104.22.168 GTK1 port.
(Or 22.214.171.124 GTK2).
I have wxPythonGTK2-126.96.36.199 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).
:) Sure thing.