We just had two students running Windows7 on two diffferent machines having the exact same problem: the spyder.ini file got corrupted and reinstalling PythonXY didn't solve the problem. Very, very strange. I ended up editing the spyder.ini file by hand (it simply seemed to be missing a part at the end), and now Spyder runs again. Any ideas why the ini file may get corrupted?
On Jul 22, 10:05 am, David Verelst <[email protected]> wrote: > I am running out of idea's here (and I don't have any Windows machine). > Maybe it is related to how spyder is integrated into PythonXY? Have you > tried reporting it somewhere there? Or a more experienced Windows 7 user > might be able to help. > > If it is the PythonXY installation (which I don't know), you could try > installing spyder directly in python (download the source or the windows > installer - but chose the spyder version for your installed python). Check > the docs for more install > tips:http://packages.python.org/spyder/installation.htmlor some more info > on:http://code.google.com/p/spyderlib/wiki/NoteForBetaTesters. However, note > that you can create a bit of a mess if you install two different spyder > versions beside each other. Better remove one version first before > installing a new one. > > Further, I would advice you to open an issue on the spyder bug tracker (that > would be best place to report issues like > these):http://code.google.com/p/spyderlib/issues/list. The discussion can > continue > there. > > Regards, > David > > On 22 July 2011 02:03, Jason Sale <[email protected]> wrote: > > > Sorry that post above was what happens when I type "spyder --reset" > > > On Jul 22, 10:03 am, Jason Sale <[email protected]> wrote: > > > Microsoft Windows [Version 6.1.7601] > > > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > > > C:\Users\uqaschwa>spyder --reset > > > 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, 5:41 pm, David Verelst <[email protected]> wrote: > > > > > Have you tried to reset the configuration file? In the command line: > > spyder > > > > --reset. > > > > > On 21 July 2011 07:03, Jason Sale <[email protected]> wrote: > > > > > > I tried reenabling hypthreading but this had no effect. > > > > > > On Jul 21, 2:54 pm, Jason Sale <[email protected]> wrote: > > > > > > 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]. > > > > > > > > > To unsubscribe from this group, send email to > > > > > > > > > [email protected]. > > > > > > > > > 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]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]. > > > > > 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]. > > To unsubscribe from this group, send email to > > [email protected]. > > 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]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
