Menu

#271 Startup Issue - OS X 10.4, Boa 0.4.4a, Py 2.5, wxPy 2.7.1.3

open
nobody
None
5
2006-11-06
2006-11-06
Anonymous
No

Startup of Boa Constuctor 0.4.4 alpha... gets to "importing
Companions.SizerCompanions" and fails w/

Traceback (most recent call last):
File "Boa.py", line 690, in <module>
main()
File "Boa.py", line 672, in main
app = BoaApp()
File "Boa.py", line 477, in __init__
wx.App.__init__(self, False)
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/wx-2.7.1-mac-unicode/wx/_core.py", line
7480, in __init__
self._BootstrapApp()
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/wx-2.7.1-mac-unicode/wx/_core.py", line
7080, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "Boa.py", line 507, in OnInit
import PaletteMapping
File "/Users/sziegler/Desktop/boa-constructor-0.4.4/
PaletteMapping.py", line 45, in <module>
from Companions.SizerCompanions import *
File "/Users/sziegler/Desktop/boa-constructor-0.4.4/Companions/
SizerCompanions.py", line 737, in <module>
(wx.NotebookSizer, 'wx.NotebookSizer', NotebookSizerDTC),
AttributeError: 'module' object has no attribute 'NotebookSizer'

aslan235@gmail.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Looked this up.... wx.NotebookSizer has been deprecated and removed since wxPython 2.7.1.1.

    Theoretically, boa's /Companions/SizerCompanions.py should be updated to take this into account. (haven't checked in CVS, so this may already be the case in pre-release
    CVS versions...)

    aslan235@gmail.com

     
  • Max Polk

    Max Polk - 2007-02-01

    Logged In: YES
    user_id=327186
    Originator: NO

    The problem is that Boa Constructor 0.4.4 requires wxPython 2.6.2.1. Any more recent versions of wxPython begins to start introducing incompatibilities (eg, wx.NotebookSizer removed from wxPython 2.7.1.1, and wx.stc.STC_LEX_ASP and wx.stc.STC_LEX_PHP are removed from wxPython 2.6.3.0).

    Therefore to use Boa Constructor 0.4.4 you have two choices:

    1. download and use wxPython 2.6.2.1
    2. use your newer wxPython but follow the Anonymous CVS Access instructions at <https://sourceforge.net/cvs/?group_id=1909> and get the latest source by checking out the "boa" directory, and replacing Lib/site-packages/boa-constructor with it. I know this to work for wxPython 2.8.1.1.

     

Log in to post a comment.