Problems with all versions

  • Joshua Smith
    Joshua Smith

    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
    importing Prefs
    importing wxPython...
    importing Editor
    Importing Companions
    ZopeLib\ DeprecationWarning: the regex module is deprecated; pleas
    e use the re module
    import sys, regex, socket, mimetools
    C:\Python22\lib\ DeprecationWarning: the regsub module is deprecate
    d; please use re.sub()
    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 "", line 134, in ?
    File "", line 128, in main
    app = BoaApp(0)
    File "", line 77, in __init__
    wxApp.__init__(self, redirect)
    File "C:\Python22\Lib\site-packages\wxPython\", line 1587, in __init__
    File "", line 91, in OnInit
    self.main = Palette.BoaFrame(None, -1, self)
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\", 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\", 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\", line
    480, in addButton
    wxSize(width, height))
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button", 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", line 79, in __init__
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button", line 144, in InitColours
    File "C:\Documents and Settings\Owner\Desktop\boa\Boa-0.0.5\ExternalLib\button", 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

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