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:57:50
|
Nevermind...I figured that because I deleted the wrong .cfg file, I should update from CVS. It works now... Thanks! - Aaron=20 > -----Original Message----- > From: Aaron Rubin=20 > Sent: Monday, January 29, 2007 2:53 PM > To: Aaron Rubin; 'Wolfgang Strobl';=20 > 'boa...@li...' > Subject: RE: [Boa Constr] wxPython 2.8 with Boa 0.5.2 >=20 > Ok, turns out I had deleted the wrong .cfg file. I have now=20 > deleted the correct one and now I get this error message: >=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=20 > longer automatically generated or activly main tained. =20 > Please switch to the wx package as soon as possible. > =20 > #------------------------------------------------------------- > --------- > Traceback (most recent call last): > File "boa.py", line 271, in ? > import Preferences, Utils > File "C:\Python24\Lib\site-packages\boa\Preferences.py",=20 > line 144, in ? > shutil.copy2(os.path.join(pyPath, 'Config', file), rcFile) > File "c:\python24\lib\shutil.py", line 92, in copy2 > copyfile(src, dst) > File "c:\python24\lib\shutil.py", line 47, in copyfile > fsrc =3D open(src, 'rb') > IOError: [Errno 2] No such file or directory:=20 > 'C:\\Python24\\Lib\\site-packages\ > \boa\\Config\\stc-styles.rc.cfg' >=20 > - Aaron >=20 >=20 > > -----Original Message----- > > From: Aaron Rubin > > Sent: Monday, January 29, 2007 2:35 PM > > To: Aaron Rubin; Wolfgang Strobl; > > boa...@li... > > Subject: RE: [Boa Constr] wxPython 2.8 with Boa 0.5.2 > >=20 > > Oops...forgot the rest of the stack trace: > >=20 > >=20 > > 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=20 > > __init__ > > self.shell, self.shellPageIdx =3D self.addShellPage(shl, Shell,=20 > > imgIdx) > > File "C:\Python24\Lib\site-packages\boa\Editor.py", line 570, in=20 > > 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,=20 > psgn, psg,=20 > > 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... > > > [mailto:boa...@li...] > > > 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 > > > Sorry it has taken me so long to get back to this. But I=20 > tried the=20 > > > solution listed below with no luck. > > >=20 > > > Again, here is the full output when I run Boa from the=20 > 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=20 > > > activly main tained. Please switch to the wx package as soon as=20 > > > 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=20 > > > Companions.WizardCompanions importing=20 > Companions.ContainerCompanions=20 > > > importing Companions.SizerCompanions importing=20 > > > Companions.BasicCompanions importing Companions.ButtonCompanions=20 > > > importing Companions.ListCompanions importing=20 > > > Companions.GizmoCompanion importing Companions.LibCompanions=20 > > > importing > > Companions.UtilCompanions > > > importing Companions.DialogCompanions importing > > ZopeLib.ZopeCompanions > > > importing Models.PythonControllers importing > > Models.PythonEditorModels > > > importing Views.AppViews importing Views.PySourceView importing=20 > > > Views.ProfileView importing Views.OGLViews importing=20 > > > Explorers.FileExplorer importing Models.wxPythonControllers > > importing > > > Models.wxPythonEditorModels importing Views.Designer importing=20 > > > Views.InspectableViews importing Views.CollectionEdit importing=20 > > > Views.DataView importing Views.SizersView importing=20 > > > Models.ConfigSupport importing Models.CPPSupport importing=20 > > > Models.HTMLSupport importing Models.XMLSupport importing=20 > > > ZopeLib.ZopeEditorModels 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', > > > 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 versions > > > of Boa installed at the same time, but I subsequently deleted the=20 > > > 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=20 > to run Boa: > > > > > > > > > >NameError: name 'wxSTC_STYLE_DEFAULT' is not defined > > > > > > > > > >Stack trace below, but I would guess someone's seen=20 > 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=20 > $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=20 > > > > SourceForge.net's Techsay panel and you'll get the 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=20 > > > > Boa...@li... > > > >=20 > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > > >=20 > > >=20 > > > -------------------------------------------------------------- > > > ----------- > > > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > > SourceForge.net's Techsay panel and you'll get the chance=20 > to share=20 > > > your opinions on IT & business topics through brief surveys > > - and earn > > > cash=20 > 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 |