for some reason my Python IDE spyder isn't working anymore. When trying to start it, it does not open. Trying ~$ spyder
in the console gives to following error:
Traceback (most recent call last):
File "/usr/bin/spyder", line 2, in <module>
from spyderlib import start_app
File "/usr/lib/python2.7/dist-packages/spyderlib/start_app.py", line 13, in <module>
from spyderlib.config import CONF
File "/usr/lib/python2.7/dist-packages/spyderlib/config.py", line 433, in <module>
subfolder=SUBFOLDER, backup=True, raw_mode=True)
File "/usr/lib/python2.7/dist-packages/spyderlib/userconfig.py", line 111, in __init__
self.load_from_ini()
File "/usr/lib/python2.7/dist-packages/spyderlib/userconfig.py", line 150, in load_from_ini
self.read(self.filename())
File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: /home/rk/.spyder2/.spyder.ini
[line 317]: 'shor'
I have tried sudo apt-get install --reinstall spyder
and even sudo apt-get purge spyder && sudo apt-get install spyder
but that didn't help either. Nor did I find a solution to my problem online.
Can anyone tell me what is wrong?
/home/rk/.spyder2/.spyder.ini
file: if you need help with that, please edit your post to include the relevant section of the file. Since it's a personal configuration file (in your home directory) it won't be affected by reinstalling the package.sudo gedit PATH/.spyder2.ini
to take a look at line 317. It just saysshor
. I do, however, not know what it is supposed to say, so i don't know what to change it to. Can't i just delete the file (the entire directory) and have it recreated with a new install?