Error loading IPython Jupyter notebook:
Asked Answered
S

1

7

I have an error while loading IPython Jupyter notebook. Also errors occur on the shell. Is there anyone who could help me for solving these errors?


Errors which occur on the shell:

Unhandled error in API request
DatabaseError: database disk image is malformed

Error loading Jupyter notebook:

An unknown error occurred while loading this notebook. 
This version can load notebook formats v4 or earlier. See the server log for details.
Stomatal answered 10/2, 2016 at 21:53 Comment(0)
Y
8

There seems to be a problem with your history database. Find your history.sqlite. It should be here:

~/.ipython/profile_default/history.sqlite

Rename or remove it and try to start the notebook server again.

Yellowlegs answered 10/2, 2016 at 22:5 Comment(3)
I get a "Permission denied" warning when I entered your offered comment. What should I do? Thanks. @MikeMüllerStomatal
Did you stop all of your notebook servers before renaming/removing the file?Duckboard
In case someone's wondering, I used ipython locate profile default command as told here for locating the history.sqlite fileCorm

© 2022 - 2024 — McMap. All rights reserved.