Anki Sometimes Doesn't Allow Review

Here is a video of the problem:

I think this is only a problem if the console says

JS error :1 Uncaught ReferenceError: $ is not defined
[193888:193912:0306/] 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