Hi -

I've upgraded from wxPython 2.6 to 2.8. I just upgraded from Boa 0.4.4 to 0.5.2 I get the following error message when I try to run Boa:

NameError: name 'wxSTC_STYLE_DEFAULT' is not defined

Stack trace below, but I would guess someone's seen this before?

Any help would be greatly appreciated!


- Aaron


{wxSTC_STYLE_DEFAULT: 'Style default', wxSTC_STYLE_LINENUMBER: 'Line numbers', w

xSTC_STYLE_BRACELIGHT: 'Matched braces', wxSTC_STYLE_BRACEBAD: 'Unmatched brace'

, wxSTC_STYLE_CONTROLCHAR: 'Control characters', wxSTC_STYLE_INDENTGUIDE: 'Inden t guide'}

Traceback (most recent call last):

File "boa.py", line 710, in ?


File "boa.py", line 692, in main

app = BoaApp()

File "boa.py", line 496, in __init__

wx.App.__init__(self, False)

File "C:\Python24\Lib\site-packages\wx-2.8-msw-ansi\wx\_core.py", line 7748, i n __init__


File "C:\Python24\Lib\site-packages\wx-2.8-msw-ansi\wx\_core.py", line 7345, i n _BootstrapApp

return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "boa.py", line 544, in OnInit

self.main.componentSB, self, self.main)

File "C:\Python24\Lib\site-packages\boa\Editor.py", line 179, in __init__

self.shell, self.shellPageIdx = self.addShellPage(shl, Shell, imgIdx)

File "C:\Python24\Lib\site-packages\boa\Editor.py", line 570, in addShellPage

shellEdit = tabPage = Shell(self.tabs, -1)

File "C:\Python24\Lib\site-packages\boa\ShellEditor.py", line 67, in __init__

StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, wId, ())

File "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py", line 761, i n __init__

LanguageSTCMix.__init__(self, wId, margin, 'python', stcConfigPath)

File "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py", line 686, i n __init__

(cfg, self.commonDefs, self.styleIdNames, self.styles, psgn, psg, olsgn,

File "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py", line 727, i n getSTCStyles

return STCStyleEditor.initFromConfig(config, language)

File "C:\Python24\Lib\site-packages\boa\Views\STCStyleEditor.py", line 1268, i n initFromConfig

commonStyleIdNames = readPyValFromConfig(cfg, 'common.styleidnames')

File "C:\Python24\Lib\site-packages\boa\Views\STCStyleEditor.py", line 1238, i n readPyValFromConfig

return eval(value, ns)

File "<string>", line 0, in ?

NameError: name 'wxSTC_STYLE_DEFAULT' is not defined