Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 02:14 PM   #1
Jof15
Junior Member
Jof15 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2026
Device: Kindle
Angry Help after import

I did a big boo boo

I had a lovely Calibre library that I'd spent ages formatting, tidying metadata, ordering into series etc. and then I found an old hard drive the other day that had some more books on it....

I thought I'd add them into my library so I imported them in bulk. There were some pop up boxes that I sadly didn't pay much attention to but I think were basically asking what it should do if it found duplicates and I'm sure I said merge.

But now I get an error message every time I try to open any of my books in my library!!!

This is an example of the errors I get
Quote:
calibre, version 9.18.0
ERROR: Unhandled exception: <b>SQLError</b>:no such table: annotations

calibre 9.18 embedded-python: True
macOS-27.2.1-arm64-arm-64bit-Mach-O Darwin ('64bit', 'Mach-O')
('Darwin', '27.2.0', 'Darwin Kernel Version 27.2.0: Wed Oct 14 23:48:16 PDT 2026; root:xnu-13432.41.4~25/RELEASE_ARM64_T8112')
Python 3.14.10
OSX: ('27.2.1', ('', '', ''), 'arm64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Traceback (most recent call last):
File "calibre/gui2/actions/view.py", line 361, in view_triggered
File "calibre/gui2/actions/view.py", line 437, in _view_books
File "calibre/gui2/actions/view.py", line 392, in _view_calibre_books
File "calibre/gui2/actions/view.py", line 164, in view_format_by_id
File "calibre/gui2/actions/view.py", line 141, in calibre_book_data
File "calibre/db/cache.py", line 150, in call_func_with_lock
File "calibre/db/cache.py", line 4300, in annotations_map_for_book
File "calibre/db/backend.py", line 2927, in annotations_for_book
File "calibre/db/backend.py", line 386, in annotations_for_book
File "calibre/db/backend.py", line 585, in execute
File "src/cursor.c", line 1320, in APSWCursor_execute.sqlite3_prepare_v3
apsw.SQLError: no such table: annotations
Does anyone know what might be causing this and how I can fix it please?
Jof15 is offline   Reply With Quote
Old Today, 02:37 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,805
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The solution is to rebuild the database.

Right click the icon that has the name of the database and select Library maintenance and then select Restore database. Then when the requestor pops up telling you what's going to happen, select Yes.

The Restore database feature will read the contents of the OPF files and rebuild the database. After the database is done, calibre will recalculate the page numbers. After that is done, the database is good to go.
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Audiobooks Metadata (Import Plugin) PetrusV Plugins 1 02-21-2025 01:42 PM
Import Author And Title From Filename & Import Other Tags And Cover From File DazJWood Library Management 25 10-06-2021 11:18 AM
Export/Import all Calibre data - import error IanKBrown Calibre 5 02-15-2017 09:32 PM
Import on Filename changes mid import due to book error Vortex Calibre 3 12-05-2014 12:49 PM
Import failed Error:404 when attempting to import from Calibre to Stanza dvond Apple Devices 0 05-13-2011 04:00 PM


All times are GMT -4. The time now is 03:15 PM.


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