View Single Post
Old 01-08-2024, 04:35 PM   #34
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: 79,954
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by runaron View Post
Hello, me too I encounter massive problems with "corrupt database" since updating to 7.2.

calibre, version 7.2.0
Beschädigte Datenbank: Die Bibliotheksdatenbank (Z:\FritzSSD\Ebooks\Calibre) scheint fehlerhaft zu sein. Möchten Sie, dass Calibre versucht diese automatisch wiederherzustellen? Die Wiederherstellung wird unter Umständen nicht erfolgreich sein. Wenn Sie Nein wählen, wird Calibre eine neue, leere Bibliothek anlegen.

Traceback (most recent call last):
File "calibre\gui2\main.py", line 327, in initialize_db
File "calibre\db\legacy.py", line 195, in __init__
File "calibre\db\legacy.py", line 50, in create_backend
File "calibre\db\backend.py", line 511, in __init__
File "calibre\db\backend.py", line 951, in initialize_notes
File "calibre\db\notes\connect.py", line 79, in __init__
File "calibre\db\notes\connect.py", line 86, in reopen
File "calibre\db\backend.py", line 399, in execute
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor
apsw.NotADBError: NotADBError: file is not a database

We have several Windows11 installations of calibre in our household. My wife's Calibre 6.4 works flawless with this database but whenever I start one of my new 7.2 installations it shows the "corrupt database" error message.
Repairing is offered but fails every time.
With the working 6.4 installation I created a backup of the database and tried to restore it with my 7.2 which failed showing the same error message.
I tried to delete .calnotes in the calibre directory as advised, now Calibre starts but I can't open or handle any book. Clicking on one results in a "NotADBError file is not a database" message.
I really need help.
Regards - runaron
The solution.
Quote:
Originally Posted by kovidgoyal View Post
You have a corrupted file in your calibre library folder. Delete the .clanotes hidden folder in the calibre library oflder and then start calibre and you should be fine.
JSWolf is offline   Reply With Quote