Can start drpython from .lin or .pyw . My error msg is
Traceback (most recent call last):
File "./drpython.pyw", line 34, in ?
import drpython
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 3087, in ?
app = DrApp(0)
File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__
_wxStart(self.OnInit)
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 3080, in OnInit
frame = DrFrame(None, 101, "DrPython - Untitled")
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 460, in __init__
self.mdinotebook = drNotebook(self, -1, wx.DefaultPosition, wx.Size(self.prefs.windowwidth, self.prefs.windowheight), wx.CLIP_CHILDREN)
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 91, in __init__
self.Bind(wx.EVT_LEFT_DOWN, self.OnFindFocus)
AttributeError: drNotebook instance has no attribute 'Bind'
Mandrake 10.0
wxpy files in
/usr/lib/wxPython/share/wx/2.4
/usr/lib/python2.3/site-packages/wxPython
/usr/share/doc/wxPythonGTK-2.4.2.4
any other suggestion for missing libraries?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can start drpython from .lin or .pyw . My error msg is
Traceback (most recent call last):
File "./drpython.pyw", line 34, in ?
import drpython
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 3087, in ?
app = DrApp(0)
File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__
_wxStart(self.OnInit)
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 3080, in OnInit
frame = DrFrame(None, 101, "DrPython - Untitled")
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 460, in __init__
self.mdinotebook = drNotebook(self, -1, wx.DefaultPosition, wx.Size(self.prefs.windowwidth, self.prefs.windowheight), wx.CLIP_CHILDREN)
File "/home/gmorgan/python/drpython-3.0.7/drpython.py", line 91, in __init__
self.Bind(wx.EVT_LEFT_DOWN, self.OnFindFocus)
AttributeError: drNotebook instance has no attribute 'Bind'
Mandrake 10.0
wxpy files in
/usr/lib/wxPython/share/wx/2.4
/usr/lib/python2.3/site-packages/wxPython
/usr/share/doc/wxPythonGTK-2.4.2.4
any other suggestion for missing libraries?
No libraries are needed.
You have only to install wxPython 2.5.x in order to run DrPython (for example, there is the new method Bind).
Thanks that was it.