Anki Sometimes Doesn't Allow Review

Here is a video of the problem: https://brightlight.today/fileserver/downloads/62db07e9c1540a9af20957b4526a2076

I think this is only a problem if the console says

JS error :1 Uncaught ReferenceError: $ is not defined
[193888:193912:0306/100504.116104:ERROR:database.cc(1632)] Cookie sqlite error 5, errno 0: database is locked, sql: DELETE FROM cookies WHERE is_persistent != 1

As you can see in the video, the work around is: close Anki and reopen.

I’m running on Arch Linux. anki --version; returns Anki 2.1.41. I installed Anki from AUR (en) - anki-git. My ~/.local/share/Anki and ~/.local/share/Anki2 are mounted using sshfs(1) to another computer at my house (as anki sync server isn’t working for me). Let me know if any other details would be helpful.

Maybe it’s related to using sshfs - running sqlite on top of network storage is not recommended.

1 Like