View Single Post
Old 03-02-2025, 01:13 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" My Kobo Libra 2 and Calibre hate each other!

Really hoping someone can help! I am new to the world of Kobo and Calibre (I've been using Calibre for years but never really used plugins, etc. until recently trying to make the switch from Kindle to Kobo). I think I've set up everything correctly and I've been able to successfully get kepubs on my device... but I am having trouble with a recurring error.

My device is a Kobo Libra 2 (refurbished) and I get the following error when I plug the device into my computer:

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.driver" , 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


After searching through this forum and the web, I saw something that made me think it was caused by the fact that I created a second library in Calibre -- I've since switched it back to a single library, deleted all the books and re-added them to the device. I was able to connect and reconnect multiple times with no errors at this point, and I thought I fixed it.. but then it happened again with absolutely no changes that I am aware of on my end.

Can anyone help me understand why this is happening?
imaginetat is offline   Reply With Quote