View Single Post
Old 05-06-2024, 07:37 AM   #1
QU2C371FcY
Enthusiast
QU2C371FcY began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Apr 2009
Device: none
Any way to recover from "apsw.BusyError: BusyError: database is locked"?

I googled this issue, and looks like I made a mistake by starting my library on a NAS. I spent half my weekend setting things up and fixing the tags in my books, and now after a reboot I can't open my library.

The error I get is below and I would appreciate any help you can provide. I would hate to have to start over, especially because I was aggressively deleting things after adding them to Calibre.

Code:
calibre, version 7.10.0
ERROR: Failed to repair library: Restoring database failed, click "Show details" to see details

Traceback (most recent call last):
  File "calibre/db/restore.py", line 156, in run
  File "calibre/db/restore.py", line 284, in create_cc_metadata
  File "calibre/db/restore.py", line 56, in __init__
  File "calibre/db/backend.py", line 485, in __init__
  File "calibre/db/backend.py", line 1443, in initialize_database
  File "src/cursor.c", line 240, in resetcursor
apsw.BusyError: BusyError: database is locked
QU2C371FcY is offline   Reply With Quote