Thanks, Pierre! This worked for me, even more than 2 years since your 
original posting. I was getting a similar error, 
"ConfigParser.ParsingError: File contains parsing errors: 
C:\Users\...\.spyder2\.spyder.ini [line 44]: 'completion/font/'". When I 
went back and looked at the spyder.ini file, I saw that line 44 was the 
last line of the file without a "=" or anything completing it. I'm guessing 
that I probably killed a Python process that was running Spyder before it 
had a chance to finish writing the .ini file? Anyway, I deleted spyder.ini 
then restarted Spyder, and everything seemed to be fine.

Thanks!
Stewart


On Tuesday, July 26, 2011 2:12:26 AM UTC-7, Pierre Raybaut wrote:
>
> Hi,
>
> Could you post the contents of the lines 429-431 of your .spyder.ini
> file? (apparently, line 430 is triggering the error)
>
> By the way, judging by the symptoms, I guess that simply removing the
> .ini should be sufficient to fix your problem. But it happened once,
> so it could happen again and I honestly have no idea of what caused
> this corruption of your configuration file. So, if you can reproduce
> this problem, it would be great to be able to describe precisely the
> steps that lead you to this situation.
>
> Regarding Python(x,y), I don't think it's related as the .ini file is
> not modified in any way by Python(x,y).
>
> Cheers
> Pierre
>
> Le 21 juil. 2011 à 06:54, Jason Sale <[email protected] <javascript:>> 
> a écrit :
>
> > And with the debug command it's the same (I think):
> >
> > C:\Users\uqaschwa>spyder --debug
> > Traceback (most recent call last):
> >  File "C:\Python26\Scripts\spyder", line 2, in <module>
> >    from spyderlib import spyder
> >  File "C:\Python26\lib\site-packages\spyderlib\spyder.py", line 49,
> > in <module>
> >
> >    from spyderlib.utils.environ import WinUserEnvDialog
> >  File "C:\Python26\lib\site-packages\spyderlib\utils\environ.py",
> > line 16, in <
> > module>
> >    from spyderlib.config import _
> >  File "C:\Python26\lib\site-packages\spyderlib\config.py", line 317,
> > in <module
> >>
> >    subfolder=_subfolder, backup=True, raw_mode=True)
> >  File "C:\Python26\lib\site-packages\spyderlib\userconfig.py", line
> > 99, in __in
> > it__
> >    self.load_from_ini()
> >  File "C:\Python26\lib\site-packages\spyderlib\userconfig.py", line
> > 131, in loa
> > d_from_ini
> >    self.read(self.filename())
> >  File "C:\Python26\lib\ConfigParser.py", line 286, in read
> >    self._read(fp, filename)
> >  File "C:\Python26\lib\ConfigParser.py", line 510, in _read
> >    raise e
> > ConfigParser.ParsingError: File contains parsing errors: C:\Users
> > \uqaschwa\.spyd
> > er2\.spyder.ini
> >        [line 430]: "ace', 'DejaVu Sans Mono', 'Consolas', 'Courier
> > New', 'Bitst
> > ream Vera Sans Mono', 'Andale Mono', 'Liberation Mono', 'Monaco',
> > 'Courier', 'mo
> > nospace', 'Fixed', 'Terminal']\n"
> >
> > On Jul 21, 2:53 pm, Jason Sale <[email protected]> wrote:
> >> Here's what happens when I type "spyder" in the command line:
> >>
> >> Microsoft Windows [Version 6.1.7601]
> >> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
> >>
> >> C:\Users\uqaschwa>spyder
> >> Traceback (most recent call last):
> >>   File "C:\Python26\Scripts\spyder", line 2, in <module>
> >>     from spyderlib import spyder
> >>   File "C:\Python26\lib\site-packages\spyderlib\spyder.py", line 49,
> >> in <module>
> >>
> >>     from spyderlib.utils.environ import WinUserEnvDialog
> >>   File "C:\Python26\lib\site-packages\spyderlib\utils\environ.py",
> >> line 16, in <
> >> module>
> >>     from spyderlib.config import _
> >>   File "C:\Python26\lib\site-packages\spyderlib\config.py", line 317,
> >> in <module
> >>
> >>     subfolder=_subfolder, backup=True, raw_mode=True)
> >>   File "C:\Python26\lib\site-packages\spyderlib\userconfig.py", line
> >> 99, in __in
> >> it__
> >>     self.load_from_ini()
> >>   File "C:\Python26\lib\site-packages\spyderlib\userconfig.py", line
> >> 131, in loa
> >> d_from_ini
> >>     self.read(self.filename())
> >>   File "C:\Python26\lib\ConfigParser.py", line 286, in read
> >>     self._read(fp, filename)
> >>   File "C:\Python26\lib\ConfigParser.py", line 510, in _read
> >>     raise e
> >> ConfigParser.ParsingError: File contains parsing errors: C:\Users
> >> \uqaschwa\.spyd
> >> er2\.spyder.ini
> >>         [line 430]: "ace', 'DejaVu Sans Mono', 'Consolas', 'Courier
> >> New', 'Bitst
> >> ream Vera Sans Mono', 'Andale Mono', 'Liberation Mono', 'Monaco',
> >> 'Courier', 'mo
> >> nospace', 'Fixed', 'Terminal']\n"
> >>
> >> C:\Users\uqaschwa>
> >>
> >> On Jul 18, 5:41 pm, David Verelst <[email protected]> wrote:
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>> Hi,
> >>
> >>> First, I am not a WIndows 7 user, so I might so some silly things 
> here...
> >>
> >>> What happens if you launch spyder from the command line (command 
> prompt, I
> >>> think you can find it some where in the folder accessories)? If it 
> fails to
> >>> launch, there should be a traceback to the error. Maybe you can post 
> that
> >>> one? Also try to the start spyder in the debug mode from the command 
> line:
> >>> spyder --debug
> >>> Have you tried switching hyper threading back on?
> >>
> >>> Regards,
> >>> David
> >>
> >>> On 18 July 2011 06:43, Jason Sale <[email protected]> wrote:
> >>
> >>>> Hi everyone,
> >>>> I don't know if this is the right place, but I just installed Python
> >>>> XY on my windows 7 64-bit PC, and when I click on the button to launch
> >>>> Spyder nothing happens. I tried running spyder directly (from the
> >>>> start menu) but again, nothing. It doesn't even come up in the task
> >>>> manager...
> >>
> >>>> This started happening a few minutes ago. It used to work fine until I
> >>>> switched hyperthreading off, restarted, launched python (it worked the
> >>>> first time, so I doubt this is related but it might be worth
> >>>> mentioning...) and then closed it again. Then it stopped working. No
> >>>> errors, nothing. I tried restarting and totally uninstalling/
> >>>> installing Python XY again.
> >>
> >>>> Is this a known bug?
> >>
> >>>> --
> >>>> You received this message because you are subscribed to the Google 
> Groups
> >>>> "spyder" group.
> >>>> To post to this group, send email to 
> >>>> [email protected]<javascript:>
> .
> >>>> To unsubscribe from this group, send email to
> >>>> [email protected] <javascript:>.
> >>>> For more options, visit this group at
> >>>> http://groups.google.com/group/spyderlib?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "spyder" group.
> > To post to this group, send email to [email protected]<javascript:>
> .
> > To unsubscribe from this group, send email to 
> [email protected] <javascript:>.
> > For more options, visit this group at 
> http://groups.google.com/group/spyderlib?hl=en.
> >
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to