Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2023, 06:38 AM   #1
Drugon
Junior Member
Drugon began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PC
Problem with Calibre library database

I'm experiencing the same problem in two differend Windows 10 systems with the same library database (a big one actually, about 16k books).

I received the message:

"The library database at *address* appears to be corrupted.
Do you want calibre to try and rebuild it automatically? The rebuilt may not be completely successful"

I tried out many times but didn't work. Always getting back the same message.

I can open other databases with both systems.

Do you have any ideas, how can I restore my database?

Thank you in advance,
D.
Drugon is offline   Reply With Quote
Old 11-16-2023, 06:41 AM   #2
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Post the detailed error message (click the show details button). And what happens when you click restore datbase?
kovidgoyal is offline   Reply With Quote
Advert
Old 11-16-2023, 06:51 AM   #3
Drugon
Junior Member
Drugon began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PC
Thanks for your answer.

When I click "yes", to fix it, it goes slowly (with a message with something in three stages if I remember well) and when it finishes it returns the same error message.

Here are the details:

calibre, version 6.29.0

Traceback (most recent call last):
File "calibre\gui2\ui.py", line 890, in library_moved
File "calibre\db\legacy.py", line 199, in __init__
File "calibre\db\cache.py", line 189, in __init__
File "calibre\db\cache.py", line 471, in initialize_fts
File "calibre\db\cache.py", line 482, in start_fts_pool
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 594, in queue_next_fts_job
File "calibre\db\cache.py", line 497, in _update_fts_indexing_numbers
File "calibre\db\fts\connect.py", line 70, in number_dirtied
File "calibre\db\fts\connect.py", line 59, in get_connection
File "calibre\db\fts\connect.py", line 47, in initialize
File "calibre\db\backend.py", line 377, in get
File "C:\t\t\apsw-j4twq5fs\src\cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed
Drugon is offline   Reply With Quote
Old 11-16-2023, 06:58 AM   #4
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
quit calibre, delete the full-text-search.db file in the calibre library folder and you should be fine.
kovidgoyal is offline   Reply With Quote
Old 11-16-2023, 07:03 AM   #5
Drugon
Junior Member
Drugon began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PC
It worked!

Thank you so much, for all your efforts and the great job you do all these years!
Drugon is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Major problem with my Calibre database mitch13 Library Management 4 01-19-2024 03:34 AM
Calibre database problem embryo KOReader 2 06-06-2017 08:40 PM
Glo Database problem with Digital Editions and Library books ssholloway Kobo Reader 5 03-12-2016 06:16 PM
Calibre database problem embryo Kobo Developer's Corner 4 04-11-2015 11:25 AM
Calibre problem to start (database) disi Calibre 1 10-11-2010 06:35 PM


All times are GMT -4. The time now is 10:07 PM.


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