Error on Startup
Status: Beta
Brought to you by:
riaan
I have just installed a new computer with Boa
Constructor and Boa throws up and an error when i try
to start it.
The error i get is;
'module' object haas no attribute 'STC_LEX_ASP'
I am running Python 2.4.3 and wxPython 2.7.1.2
Scott
scott.gould@csiro.au
Logged In: YES
user_id=1586158
I got the same error with boa 0.4.4 after having updated to
wxPython 2.7.1.2.
I think it's because of the upgrade to Scintilla 1.70 for
wx.stc.StyledTextCtrl.
I've tried to update boa to the last cvs version. Boa can
start now, but I get a few errors in some cases with the
designer.
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.