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:55:34
|
Ok, turns out I had deleted the wrong .cfg file. I have now deleted the correct one and now I get this error message: C:\Python24\Lib\site-packages\boa>python boa.py Starting Boa Constructor v0.5.2 importing wxPython reading user preferences C:\Python24\Lib\site-packages\boa\Preferences.py:11: DeprecationWarning: The wxP ython compatibility package is no longer automatically generated or activly main tained. 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", 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: 'C:\\Python24\\Lib\\site-packages\ \boa\\Config\\stc-styles.rc.cfg' - Aaron > -----Original Message----- > From: Aaron Rubin=20 > Sent: Monday, January 29, 2007 2:35 PM > To: Aaron Rubin; Wolfgang Strobl;=20 > 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=20 > "c:\python24\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",=20 > line 7748, i n __init__ > self._BootstrapApp() > File=20 > "c:\python24\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",=20 > 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=20 > 179, in __init__ > self.shell, self.shellPageIdx =3D self.addShellPage(shl,=20 > Shell, imgIdx) > File "C:\Python24\Lib\site-packages\boa\Editor.py", line=20 > 570, in addShellPage > shellEdit =3D tabPage =3D Shell(self.tabs, -1) > File "C:\Python24\Lib\site-packages\boa\ShellEditor.py",=20 > line 67, in __init__ > StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, wId, ()) > File=20 > "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py",=20 > line 761, i n __init__ > LanguageSTCMix.__init__(self, wId, margin, 'python',=20 > stcConfigPath) > File=20 > "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py",=20 > line 686, i n __init__ > (cfg, self.commonDefs, self.styleIdNames, self.styles,=20 > psgn, psg, olsgn, > File=20 > "C:\Python24\Lib\site-packages\boa\Views\StyledTextCtrls.py",=20 > line 727, i n getSTCStyles > return STCStyleEditor.initFromConfig(config, language) > File=20 > "C:\Python24\Lib\site-packages\boa\Views\STCStyleEditor.py",=20 > line 1268, i n initFromConfig > commonStyleIdNames =3D readPyValFromConfig(cfg,=20 > 'common.styleidnames') > File=20 > "C:\Python24\Lib\site-packages\boa\Views\STCStyleEditor.py",=20 > line 1238, i n readPyValFromConfig > return eval(value, ns) > File "<string>", line 0, in ? > NameError: name 'wxSTC_STYLE_DEFAULT' is not defined=20 >=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 tried the=20 > > 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 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 Companions.WizardCompanions > > importing Companions.ContainerCompanions importing=20 > > Companions.SizerCompanions importing Companions.BasicCompanions=20 > > importing Companions.ButtonCompanions importing=20 > > Companions.ListCompanions importing Companions.GizmoCompanion=20 > > importing Companions.LibCompanions importing=20 > Companions.UtilCompanions=20 > > importing Companions.DialogCompanions importing=20 > ZopeLib.ZopeCompanions=20 > > importing Models.PythonControllers importing=20 > Models.PythonEditorModels=20 > > importing Views.AppViews importing Views.PySourceView importing=20 > > Views.ProfileView importing Views.OGLViews importing=20 > > Explorers.FileExplorer importing Models.wxPythonControllers=20 > importing=20 > > 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=20 > not defined > >=20 > > I had thought I was on to something when I thought I had=20 > both versions=20 > > 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 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=20 > 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=20 > to share=20 > > > 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 > >=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=20 > > your opinions on IT & business topics through brief surveys=20 > - and earn=20 > > 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 |