These are chat archives for spyder-ide/public

27th
Dec 2018
Raj Maharan
@Raj-kishore
Dec 27 2018 08:57
Hi
CAM Gerlach
@CAM-Gerlach
Dec 27 2018 15:04
Hello @Raj-kishore ; do you have a question or problem with Spyder we can help you with?
Albert Camin
@albertcamin
Dec 27 2018 19:01
Hi! Yes! I have a problem and I don't know how to solve it. I'm just giving my first steps in Python
My laptop had a sudden problem and the system was rebooted and my Spyder we open. Now it doesn't open anymore
It crushed during last session.
It gives me this error: Traceback (most recent call last):
File "C:\conda\lib\site-packages\spyder\app\mainwindow.py", line 3099, in main
mainwindow = run_spyder(app, options, args)
File "C:\conda\lib\site-packages\spyder\app\mainwindow.py", line 3001, in runspyder
main.setup()
File "C:\conda\lib\site-packages\spyder\app\mainwindow.py", line 819, in setup
message=
("Spyder Internal Console\n\n"
File "C:\conda\lib\site-packages\spyder\plugins\console.py", line 67, in init
light_background=light_background)
File "C:\conda\lib\site-packages\spyder\widgets\internalshell.py", line 141, in init
profile)
File "C:\conda\lib\site-packages\spyder\widgets\shell.py", line 636, in init
initial_message)
File "C:\conda\lib\site-packages\spyder\widgets\shell.py", line 70, in init
self.history = self.load_history()
File "C:\conda\lib\site-packages\spyder\widgets\shell.py", line 500, in load_history
if rawhistory[1] != self.INITHISTORY[1]:
IndexError: list index out of range
Albert Camin
@albertcamin
Dec 27 2018 19:37
I wish you could help me
Jitse Niesen
@jitseniesen
Dec 27 2018 20:51
@albertcamin It looks like your Spyder history file might have been corrupted somehow. This file is called history.py but I don't know where it is stored on Windows.
If you have an item "Reset Spyder settings to default" in your Start menu, try using that.
Or run spyder --reset from the Anaconda Prompt
Both methods will reset all your settings but should hopefully fix your problem