Problems with all versions

2002-09-21
2003-09-11
  • Joshua Smith
    Joshua Smith
    2002-09-21

    Sorry about the verbose post. I am using activestate python2.2.1 (latest) and have tried the alpha,0.0.5 and 0.0.4 versions of Boa. I am running WinXP. The error I get is:
    --------------------------------------------------------------------
    C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5>python boa.py
    importing Prefs
    importing wxPython...
    importing Editor
    Importing Companions
    ZopeLib\Client.py:108: DeprecationWarning: the regex module is deprecated; pleas
    e use the re module
    import sys, regex, socket, mimetools
    C:\Python22\lib\regsub.py:15: DeprecationWarning: the regsub module is deprecate
    d; please use re.sub()
    DeprecationWarning)
    imported PaletteMapping
    importing Views.EditorViews
    importing Views.AppViews
    importing Views.DesignerViews
    importing Views.UMLViews
    importing Views.SourceViews
    importing Explorers
    importing Models
    imported Editor
    importing PropertyEditors
    imported Inspector
    Traceback (most recent call last):
    File "boa.py", line 134, in ?
    main()
    File "boa.py", line 128, in main
    app = BoaApp(0)
    File "boa.py", line 77, in __init__
    wxApp.__init__(self, redirect)
    File "C:\Python22\Lib\site-packages\wxPython\wx.py", line 1587, in __init__
    _wxStart(self.OnInit)
    File "boa.py", line 91, in OnInit
    self.main = Palette.BoaFrame(None, -1, self)
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\Palette.py", line
    124, in __init__
    palettePage.addButton('wxApp', None, None, self.OnNewApp, self.OnHint, self.
    OnHintLeave, wxGenBitmapButton)
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\Palette.py", line
    512, in addButton
    mID = PanelPalettePage.addButton(self, widgetName, wxClass, constrClass, cli
    ckEvt, hintFunc, hintLeaveFunc, btnType)
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\Palette.py", line
    480, in addButton
    wxSize(width, height))
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button
    s.py", line 332, in __init__
    wxGenButton.__init__(self, parent, ID, "", pos, size, style, validator, name
    )
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button
    s.py", line 79, in __init__
    self.InitColours()
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button
    s.py", line 144, in InitColours
    self.SetBackgroundColour(faceClr)
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button
    s.py", line 156, in SetBackgroundColour
    wxWindow.SetBackgroundColour(self, colour)
    TypeError: unbound method SetBackgroundColour() must be called with wxWindow ins
    tance as first argument (got wxGenBitmapButton instance instead)
    --------------------------------------------------------------------
    Any ideas??

     
    • Russell Fine
      Russell Fine
      2003-09-11

      This may not help, but I am running Python 2.3 with the 2.3 CVS under XP and it works just fine.