Re: [Boa Constr] wxPython 2.8 with Boa 0.5.2
Status: Beta
Brought to you by:
riaan
From: Aaron R. <Aar...@4D...> - 2007-01-29 21:37:28
|
Oops...forgot the rest of the stack trace: Traceback (most recent call last): File "boa.py", line 710, in ? main() File "boa.py", line 692, in main app =3D 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__ self._BootstrapApp() 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 =3D self.addShellPage(shl, Shell, imgIdx) File "C:\Python24\Lib\site-packages\boa\Editor.py", line 570, in addShellPage shellEdit =3D tabPage =3D 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 =3D 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=20 > -----Original Message----- > From: boa...@li...=20 > [mailto:boa...@li...]=20 > On Behalf Of Aaron Rubin > Sent: Monday, January 29, 2007 2:22 PM > To: Wolfgang Strobl; boa...@li... > Subject: Re: [Boa Constr] wxPython 2.8 with Boa 0.5.2 >=20 > Hi Wolfgang -=20 >=20 > Sorry it has taken me so long to get back to this. But I=20 > tried the solution listed below with no luck. >=20 > Again, here is the full output when I run Boa from the command line: >=20 > C:\Python24\Lib\site-packages\boa>python boa.py Starting Boa=20 > Constructor v0.5.2 importing wxPython reading user preferences > C:\Python24\Lib\site-packages\boa\Preferences.py:11:=20 > DeprecationWarning: > The wxP > ython compatibility package is no longer automatically=20 > generated or activly main tained. Please switch to the wx=20 > package as soon as possible. > =20 > #------------------------------------------------------------- > --------- > running main... > importing Models.Controllers > importing Models.EditorModels > importing Views > importing Views.SourceViews > importing Explorers.ExplorerNodes > importing Companions > importing PropertyEditors > importing Companions.FrameCompanions > importing Companions.WizardCompanions > importing Companions.ContainerCompanions importing=20 > Companions.SizerCompanions importing=20 > Companions.BasicCompanions importing=20 > Companions.ButtonCompanions importing=20 > Companions.ListCompanions importing Companions.GizmoCompanion=20 > importing Companions.LibCompanions importing=20 > Companions.UtilCompanions importing=20 > Companions.DialogCompanions importing ZopeLib.ZopeCompanions=20 > importing Models.PythonControllers importing=20 > Models.PythonEditorModels importing Views.AppViews importing=20 > Views.PySourceView importing Views.ProfileView importing=20 > Views.OGLViews importing Explorers.FileExplorer importing=20 > Models.wxPythonControllers importing=20 > Models.wxPythonEditorModels importing Views.Designer=20 > importing Views.InspectableViews importing=20 > Views.CollectionEdit importing Views.DataView importing=20 > Views.SizersView importing Models.ConfigSupport importing=20 > Models.CPPSupport importing Models.HTMLSupport importing=20 > Models.XMLSupport importing ZopeLib.ZopeEditorModels=20 > executing plug-ins... > importing Explorers > importing ZopeLib.ZopeViews > importing ZopeLib.ZopeExplorer > importing Explorers.PrefsExplorer > importing Explorers.SVNExplorer > creating Palette > importing Palette > creating Inspector > importing Inspector > creating Editor > importing Editor > importing Explorers.CVSExplorer > importing Explorers.ZipExplorer > importing Explorers.FTPExplorer > importing Explorers.DAVExplorer > importing Explorers.SSHExplorer > {wxSTC_STYLE_DEFAULT: 'Style default',=20 > 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'} >=20 > Then I get the error dialog: name 'wxSTC_STYLE_DEFAULT' is not defined >=20 > I had thought I was on to something when I thought I had both=20 > versions of Boa installed at the same time, but I=20 > subsequently deleted the older Boa and it still gives me this error. >=20 > Any thoughts? >=20 > - Aaron >=20 > > -----Original Message----- > > From: boa...@li... > > [mailto:boa...@li...] > > On Behalf Of Wolfgang Strobl > > Sent: Saturday, January 13, 2007 4:40 AM > > To: boa...@li... > > Subject: Re: [Boa Constr] wxPython 2.8 with Boa 0.5.2 > >=20 > > "Aaron Rubin" <Aar...@4D...>: > >=20 > > >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! > >=20 > > <http://sourceforge.net/mailarchive/forum.php?thread_id=3D309519 > > 86&forum_id=3D6905> > >=20 > > In short: clean up stc-styles.rc.cfg in $HOME/.boa-constructor or=20 > > simply delete that file, it will be recreated with default settings. > >=20 > >=20 > > -- > > Thank you for observing all safety precautions > >=20 > >=20 > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the=20 > > chance to share your > > opinions on IT & business topics through brief surveys -=20 > and earn cash > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > > &CID=3DDEVDEV > > _______________________________________________ > > Boa-constructor-users mailing list > > Boa...@li... > > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users >=20 |