Greetings,
Thanks for reading. I have a jupyter notebook that uses inner navigation links using anchors. These links were working beautifully up until I had to change my machine and I installed Anaconda. Now, the links do not work (the code itself seems to be running fine) and I get the following messages:
[IPKernelApp] ERROR | Failed to open SQLite history C:\Users\luisj.ipython\profile_default\history.sqlite (datatype mismatch).
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
File âC:\Users\luisj\anaconda3\Lib\site-packages\IPython\core\history.pyâ, line 78, in catch_corrupt_db
return f(self, *a, **kw)
^^^^^^^^^^^^^^^^^
File âC:\Users\luisj\anaconda3\Lib\site-packages\IPython\core\history.pyâ, line 684, in get_tail
self._run_sql(
File âC:\Users\luisj\anaconda3\Lib\site-packages\IPython\core\history.pyâ, line 304, in _run_sql
cur = self.db.execute(this_querry, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.IntegrityError: datatype mismatch
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File âC:\Users\luisj\anaconda3\Lib\site-packages\ipykernel\kernelbase.pyâ, line 437, in dispatch_shell
await result
File âC:\Users\luisj\anaconda3\Lib\site-packages\ipykernel\kernelbase.pyâ, line 876, in history_request
reply_content = self.do_history(**content)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File âC:\Users\luisj\anaconda3\Lib\site-packages\ipykernel\ipkernel.pyâ, line 619, in do_history
hist = self.shell.history_manager.get_tail(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File âC:\Users\luisj\anaconda3\Lib\site-packages\decorator.pyâ, line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File âC:\Users\luisj\anaconda3\Lib\site-packages\IPython\core\history.pyâ, line 105, in catch_corrupt_db
self.hist_file.rename(newpath)
File âC:\Users\luisj\anaconda3\Lib\pathlib.pyâ, line 1363, in rename
os.rename(self, target)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: âC:\Users\luisj\.ipython\profile_default\history.sqliteâ â âC:\Users\luisj\.ipython\profile_default\history-corrupt-2025-02-12T10.25.30.398226.sqliteâ
Iâve tried deleting the history file, checking for corrupted files, updating jupyter, dowgrading jupyter, ⌠etc. Following a suggestion online, I installed jupyter_contrib_nbextensions and, while the error message disappeared, the links still do not work.
Any guidance would be appreciated.
Thanks,
Luis