#7 Program doesn't start

closed-duplicate
nobody
None
5
2001-01-19
2000-11-14
Anonymous
No

This is a Red Hat 7 box, with Python1.5.2 and wxPython 2.2.2 -- when I try to start the program, I get..

[bouncing@festery Boa]$ python Boa.py
importing wxPython...
imported wxPython
imported Prefs
imported PaletteMapping
imported Editor
imported Inspector
imported Palette
imported Editor
Traceback (innermost last):
File "Boa.py", line 119, in ?

File "Boa.py", line 112, in main

File "Boa.py", line 49, in __init__
class BoaApp(wxApp):
File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in __init__ _wxStart(self.OnInit)
File "Boa.py", line 58, in OnInit
# EVT_ACTIVATE_APP(self, self.OnActivate)
File "Palette.py", line 157, in __init__
wxMenu(), self.componentSB, app)#palettePage.menu
File "Editor.py", line 135, in __init__
self.addShellPage()
File "Editor.py", line 310, in addShellPage
self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell')
File "ShellEditor.py", line 26, in __init__
PythonStyledTextCtrlMix.__init__(self, wId, -1)
File "Views/StyledTextCtrls.py", line 137, in __init__
self.SetKeywords(0,
AttributeError: SetKeywords
Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 81c9a28> ignored
Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 8368850> ignored

Discussion

  • On Windows, the error message ends with:

    AttributeError: 'ShellEditor' instance has no attribute 'SetKeywords'

    and in fact the 0.4 release ShellEditor.py has no such function.

     
  • Riaan Booysen
    Riaan Booysen
    2001-01-19

    • status: open --> closed-duplicate
     
  • Riaan Booysen
    Riaan Booysen
    2001-01-19

    Release 0.0.4 needs Python 1.5.2 and wxPython 2.2.1