Hi, today I m getting the following error when I try to do anything in my collection:
anki.errors.BackendIOError: IoError(“Os { code: 33, kind: Uncategorized, message: "The process cannot access the file because another process has locked a portion of the file." }”)
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5
Platform: Windows 10
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-10-05 12:01:50
Caught exception:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "aqt.taskman", line 90, in wrapped_done
File "aqt.dbcheck", line 41, in on_future_done
File "concurrent.futures._base", line 438, in result
File "concurrent.futures._base", line 390, in __get_result
File "concurrent.futures.thread", line 52, in run
File "aqt.dbcheck", line 36, in do_check
File "aqt.main", line 1385, in create_backup_now
File "anki.collection", line 371, in create_backup
File "anki._backend.generated", line 1789, in create_backup
File "anki._backend", line 146, in _run_command
anki.errors.BackendIOError: IoError("Os { code: 33, kind: Uncategorized, message: \"The process cannot access the file because another process has locked a portion of the file.\" }")
I restarted my computer, load Anki with no add-ons etc and I cannot even restore from a back up, check the database or anything.
I am inclined to think the error message may not be the exact cause, as I also get it when Anki is idle (perhaps an automatic backup attempt) and no one seems to have reported this error yet.
Thank you