Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 03-02-2025, 03:53 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,289
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
A gentle hint; please don't double post.
PeterT is offline   Reply With Quote
Advert
Old 03-02-2025, 06:47 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,173
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thats an error with the database on the kobo, nothing to do with libraries in calibre. See https://manual.calibre-ebook.com/faq...-touch-glo-etc
kovidgoyal is offline   Reply With Quote
Old 03-03-2025, 08:49 AM   #4
imaginetat
Junior Member
imaginetat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2025
Device: Kobo Libra 2
Quote:
Originally Posted by PeterT View Post
A gentle hint; please don't double post.
My apologies!
imaginetat is offline   Reply With Quote
Old 03-03-2025, 08:51 AM   #5
imaginetat
Junior Member
imaginetat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2025
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
Thats an error with the database on the kobo, nothing to do with libraries in calibre. See https://manual.calibre-ebook.com/faq...-touch-glo-etc
Thank you so much for your response. I am thinking maybe having the Kobo Desktop app open was causing this, with both trying to access the device at the same time. I tried without and no error. Hopefully it won't pop up again!

I appreciate your time and the resource you linked.
imaginetat is offline   Reply With Quote
Advert
Old 03-03-2025, 11:04 AM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,289
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Correct. Kobo desktop being active would have the on device database open and this would prevent calibre from opening the on device database

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Reply

Tags
connection error, database locked, kobo libra 2, tech support


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Database is locked" My Kobo Libra 2 and Calibre hate each other! imaginetat Kobo Reader 1 03-08-2025 11:04 PM
Any way to recover from "apsw.BusyError: BusyError: database is locked"? QU2C371FcY Library Management 2 05-06-2024 02:16 PM
"Database is locked" - can't use network folders robertseetzen Library Management 15 11-30-2022 02:17 PM
Error communicating with device: "CorruptError: database disk image is malformed" maxxal22 Calibre 4 08-26-2020 08:03 AM
SONY pocket edition: "Device locked" + "charge battery" obstacles? hermes Devices 3 06-02-2011 03:32 AM


All times are GMT -4. The time now is 02:09 PM.


MobileRead.com is a privately owned, operated and funded community.