Boa vs. PythonCard

Bo M. Maryniuck b.maryniuk at forbis.lt
Wed Jan 15 03:25:34 EST 2003


On Tuesday 14 January 2003 21:30, R.Marquez wrote:
> > ...I've been testing Boa Constructor for a few days and
> >    consider it to be 'stable enough' for small(ler) programs. That is
> > the version straight from CVS, not one of the downloads on sourceforge.
>
> Actually, a new release of Boa has just been posted! I'm done
> downloading it so you may now go ahead ;).

It's crashes. Probably wants newest wxPython...

Traceback (most recent call last):
  File "Boa.py", line 574, in ?
    main()
  File "Boa.py", line 555, in main
    app = BoaApp()
  File "Boa.py", line 378, in __init__
    wxApp.__init__(self, false)
  File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1581, in __init__
    _wxStart(self.OnInit)
  File "Boa.py", line 421, in OnInit
    self.main.initPalette(inspector, editor)
  File "/home/bo/boa/Palette.py", line 177, in initPalette
    wxGenBitmapButton)
  File "/home/bo/boa/Palette.py", line 490, in addButton2
    mID = PanelPalettePage.addButton(self, name, Controller, None, self.OnClickTrap, None, None, btnType)
  File "/home/bo/boa/Palette.py", line 457, in addButton
    wxSize(width, height))
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 323, in __init__
    wxGenButton.__init__(self, parent, ID, "", pos, size, style, validator, name)
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 78, in __init__
    self.InitColours()
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 142, in InitColours
    self.SetBackgroundColour(faceClr)
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 154, in SetBackgroundColour
    wxWindow.SetBackgroundColour(self, colour)
TypeError: unbound method SetBackgroundColour() must be called with wxWindow instance as first argument (got wxGenBitmapButton instance instead)

-- 
Regards, Bogdan

To err is human... to really foul up requires the root password.






More information about the Python-list mailing list