Anki started crashing all of a sudden for no reason at all. It was working fine the whole time, just did my reps yesterday, but today it just decided to stop working. Holding down Shift didn’t help. Here are the logs:
Traceback (most recent call last):
File “aqt\main.py”, line 441, in loadCollection
File “aqt\main.py”, line 462, in loadCollection
File “lib\site-packages\anki\storage.py”, line 59, in Collection
File “lib\site-packages\anki\collection.py”, line 101, in init
File “lib\site-packages\anki\collection.py”, line 196, in load
File "json_init.py", line 357, in loads
File “json\decoder.py”, line 337, in decode
File “json\decoder.py”, line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I did some research on this issue and people seem to be saying that this particular problem is caused by installing previous versions of Anki, but I’ll note that I have not installed any previous versions prior to what happened. What else could be causing this?
EDIT: I tried installing the same version I use now on a different partition. Same thing, won’t open. It does suggest me to open a backup, but when I choose one it says “Unable to move existing file to trash - please try restarting your computer.” which I did and it didn’t help either.