View Single Post
Old 03-02-2025, 01:58 PM   #1
imaginetat
Junior Member
imaginetat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2025
Device: Kobo Libra 2
"Database is locked" Error - What am I doing wrong?!

Hi! I also posted about this in the Kobo forum but I'm honestly not sure where it best fits. Looking for help with a recurring connection error that I get when I plug my Kobo Libra 2 into my computer to connect with Calibre.

This started happening after I (apparently, very stupidly) created a second library in Calibre. I now know that a second library is not the way to go about organizing books ... Anyway, I thought I fixed it when I consolidated my books back to a single library, deleted all the books from my device and re-added them... The error stopped popping up and I did multiple connections and imports over the course of 24 hours.

Then all of a sudden I got the error again! Nothing that I know of changed within Calibre.

Here's the error:

calibre, version 6.29.0
ERROR: Error: Error communicating with device

BusyError: database is locked

Traceback (most recent call last):
File "calibre/gui2/device.py", line 104, in run
File "calibre/gui2/device.py", line 588, in _sync_booklists
File "calibre_plugins.kobotouch_extended.device.dri ver" , line 433, in sync_booklists
super(KOBOTOUCHEXTENDED, self).sync_booklists(booklists, end_session)
File "calibre/devices/kobo/driver.py", line 1005, in sync_booklists
File "calibre/devices/kobo/driver.py", line 2555, in update_device_database_collections
File "calibre/devices/kobo/driver.py", line 3137, in check_for_bookshelf
File "src/cursor.c", line 1088, in APSWCursor_execute.sqlite3_prepare_v3
apsw.BusyError: BusyError: database is locked


For reference I am running Calibre 6.29.0 because I have an old Mac OS.

Does anyone have any ideas about why this might be happening?
Thank you in advance.
imaginetat is offline   Reply With Quote