Re: [Boa Constr] SyntaxError: unexpected EOF while parsing
Status: Beta
Brought to you by:
riaan
From: Bell J. <jbe...@ya...> - 2002-03-21 04:35:09
|
Terrel, This is just the old Microsoft line termination artifact. Hence you should run dos2unix against all files in Boa other than the image files and .zexp files. Now that I'm back from the sticks I'll have to have a look at the new CVS version! John Bell --- Terrel Shumway <tsh...@uc...> wrote: > running boa-cvs (same thing happens with 0.1.0a) on > redhat 7.2 > python-2.2 > wxGTK-2.3.2-1 > wxGTK-gl-2.3.2-1 > wxPython-gl-2.3.2.1-1 > wxPython-2.3.2.1-1 > gtk+-1.2.10-ximian.21 > > I get this traceback on startup (I added two lines > to print the name of > the file and the key name) > ----- > ... > importing Editor > importing Explorers > localFilename: ./stc-styles.rc.cfg > <C wxFileConfig instance at _854c0d0_wxFileConfig_p> > common.defs.gtk > Traceback (most recent call last): > File "./Boa.py", line 547, in ? > main() > File "./Boa.py", line 528, in main > app = BoaApp() > File "./Boa.py", line 359, in __init__ > wxApp.__init__(self, false) > File > "/usr/lib/python2.2/site-packages/wxPython/wx.py", > line 1581, in > __init__ > _wxStart(self.OnInit) > File "./Boa.py", line 387, in OnInit > self.main.componentSB, self, self.main) > File "./Editor.py", line 135, in __init__ > self.shell = self.addShellPage() > File "./Editor.py", line 490, in addShellPage > tabPage, shellEdit = \ > File "./Utils.py", line 351, in wxProxyPanel > win = apply(Win, (panel,) + args, kwargs) > File "./ShellEditor.py", line 44, in __init__ > > StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, > wId, ()) > File "./Views/StyledTextCtrls.py", line 487, in > __init__ > LanguageSTCMix.__init__(self, wId, margin, > 'python', stcConfigPath) > File "./Views/StyledTextCtrls.py", line 439, in > __init__ > (cfg, self.commonDefs, self.styleIdNames, > self.styles, psgn, psg, > olsgn, > File "./Views/StyledTextCtrls.py", line 480, in > getSTCStyles > return STCStyleEditor.initFromConfig(config, > language) > File "./Views/STCStyleEditor.py", line 1085, in > initFromConfig > commonDefs = readPyValFromConfig(cfg, > commonDefsFile) > File "./Views/STCStyleEditor.py", line 1063, in > readPyValFromConfig > return eval(string.replace(conf.Read(name), > '\r\n', '\n')+'\n') > File "<string>", line 1 > > ^ > SyntaxError: unexpected EOF while parsing > > ---------- > It does not seem to matter what is actually > contained in the file > stc-styles.rc.cfg > > Any ideas? > > --Terrel > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |