|
|
Thread Tools | Search this Thread |
06-22-2015, 03:55 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2010
Device: iRex
|
calibre corrupt error corrupt error database disk image is malformed
hi there,
please help: unfortunately my calibre database seems to be defective: when trying to make changes in my database i receive the error "calibre corrupt error corrupt error database disk image is malformed"; by clicking on details i receive: calibre, version 2.31.0 FEHLER: Nicht abgefangener Fehler: <b>CorruptError</b>:CorruptError: database disk image is malformed calibre 2.31 isfrozen: True is64bit: False Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '7', '6.1.7601') Python 2.7.9 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: Find Duplicates Traceback (most recent call last): File "site-packages\calibre\gui2\metadata\single.py", line 604, in next_clicked File "site-packages\calibre\gui2\metadata\single.py", line 537, in apply_changes File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 1378, in commit File "site-packages\calibre\db\legacy.py", line 814, in func File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock File "site-packages\calibre\db\cache.py", line 1043, in set_field File "site-packages\calibre\db\write.py", line 513, in set_books File "site-packages\calibre\db\write.py", line 426, in many_many File "site-packages\calibre\db\backend.py", line 816, in executemany File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor CorruptError: CorruptError: database disk image is malformed please help! many thanks in advance |
06-22-2015, 09:51 PM | #2 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can delete metadata.db (keep a backup just in case) in your calibre library folder. Then calibre will startup with no books. Then follow the restore database procedure, described here: http://manual.calibre-ebook.com/faq....libre-is-blank
|
Advert | |
|
01-19-2016, 11:05 PM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: Kindle Fire
|
Same here
Hi Kovid, I'm having the same error. I did what you said twice and it didn´t work. I recently updates my laptop with windows 10, and the error appeared when I updated to calibre 2.49, a couple of days ago. Here is what it says after trying to restore the library:
calibre, version 2.49.0 ERROR: Excepción no considerada: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0xe1 in position 287: invalid continuation byte calibre 2.49 isfrozen: True is64bit: False Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Wiki Reader && Beam Ebooks && Fantastic Fiction && Obok DeDRM && KoboBooks && FictionDB && Webscription && Quality Check && Anobii Fetcher && Similar Stories && Kindle Collections && Reading List && Search The Internet && Generate Cover && Skoob && Copy Cover To Device && ANOBII && Find Duplicates && catawiki && ADLIBRIS_NO && Libri_hu && KindleUnpack - The Plugin && Goodreads Sync && Moly_hu && Martinus.sk && ADLIBRIS_SE && Modify ePub && Fantastic Fiction Adults && Barnes & Noble && Consolidate All Library Metadata && Read MP3 AudioBook metadata && BOL_DE && Goodreads Traceback (most recent call last): File "site-packages\calibre\gui2\actions\choose_library.py", line 482, in restore_database File "site-packages\calibre\gui2\dialogs\restore_library.py", line 117, in restore_database File "site-packages\calibre\gui2\dialogs\restore_library.py", line 85, in _show_success_msg File "site-packages\calibre\db\restore.py", line 75, in report UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 287: invalid continuation byte I hope you can help me to fix this. Thanks in advance. A. |
01-19-2016, 11:50 PM | #4 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's just an error in reporting success, probably because you have some non-ascii encoded files in your library folder, or the path to you library folder contains non-ascii characters. I have fixed the reporting code to handle this in the future. In the meantime you can always restore from the command line instead, like this
calibredb restore_database -r |
01-20-2016, 10:58 PM | #5 |
Junior Member
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: Kindle Fire
|
Thank you!!
Hi again Kovid, thanks a lot for answering so quickly. I did what you said and worked perfectly!!. The metadata is completely recovered and Calibre running without issues.
Thank you so much for your help and for making sure this software available for us. Best. A. |
Advert | |
|
01-20-2016, 11:51 PM | #6 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome
|
06-18-2016, 11:27 AM | #7 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: kobo glo hd
|
KeyError
Hello after updating to the last version before this it is not possible to add new books. I make an Update to 2.59 und I restored the database you described.
Here is my error calibre, version 2.59.0 FEHLER: Nicht abgefangener Fehler: <b>KeyError</b>:'ALTE GER\xc4TE' calibre 2.59 [64bit] embedded-python: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: KePub Output && KoboTouchExtended && EpubMerge Traceback (most recent call last): File "site-packages\calibre\gui2\actions\add.py", line 424, in add_books File "site-packages\calibre\gui2\win_file_dialogs.py", line 223, in choose_files File "site-packages\calibre\gui2\win_file_dialogs.py", line 115, in run_file_dialog File "os.py", line 465, in copy File "os.py", line 425, in __getitem__ KeyError: 'ALTE GER\xc4TE' What can I do? Thank for reply Olli |
06-18-2016, 02:34 PM | #8 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Remove ALTE GER\xc4TE from your environment variables
|
06-18-2016, 02:49 PM | #9 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: kobo glo hd
|
Variable
Hello,
thanks for your quick answer. But I have not a variable like ALTE GER\xc4TE. Best regards Olli |
06-18-2016, 02:56 PM | #10 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It will look like ALTE GER<something>TE and it may not be all uppercase, but it is there. Or just wait for the next calibre release which has a fix for this issue https://github.com/kovidgoyal/calibr...295a59a2778ea1
|
06-18-2016, 03:00 PM | #11 |
Grand Sorcerer
Posts: 6,752
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
ALTE GER\xc4TE --> Alte Geräte ("Old equipment" in English)
|
06-18-2016, 03:04 PM | #12 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: kobo glo hd
|
Variable
Hello the name of the variable in germany is
Alte Geräte I deleted it and calibre works well. Thanks |
08-29-2016, 02:42 PM | #13 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2016
Device: Kobo H2O
|
calibre, version 2.65.1
ERREUR : Erreur: Erreur pendant la communication avec le dispositif CorruptError: database disk image is malformed Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 87, in run File "site-packages\calibre\gui2\device.py", line 533, in _sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 931, in sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 2283, in update_device_database_collections File "site-packages\calibre\devices\kobo\driver.py", line 2644, in set_bookshelf File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor CorruptError: CorruptError: database disk image is malformed That happens when I connect my Kobo with Calibre. is it a problem only on PC or a problem on memory of Kobo ? It seems for me that it's a problem on Calibre Database on PC. Must I try to restore database in Clibre ? Thanks for your response. |
08-29-2016, 04:10 PM | #14 | |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I believe the advice is to log the Kobo device OFF (frm Kobo.com?), then back on. This rebuilds the device DB |
|
08-29-2016, 04:43 PM | #15 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2016
Device: Kobo H2O
|
Thanks for your response.
I am reconstructing in Calibre a copy of directory of my books. So I cannot use Calibre to try what you tell me to do. But yesterday I reinitialized my Kobo, and I have always same problem. And Windows 8.1 tells me that I have not problems on the memory of my Kobo. Again thank you. Last edited by philmagic59; 08-29-2016 at 04:44 PM. Reason: Corrections. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR - database disk image malformed | Joy1977 | Calibre | 2 | 05-12-2012 12:28 AM |
Calibre + Kobo Touch error message : database disk image is malformed | Bernard75 | Devices | 1 | 04-07-2012 04:46 PM |
Kobo error: database disk image is malformed | RSaunders | Devices | 7 | 07-28-2011 10:52 PM |
Error communicating with device(Kobo Wireless)/database disk image is malformed | cotej1977 | Kobo Reader | 1 | 04-24-2011 09:14 AM |
Corrupt database message error: Disk is Full? | Debby | Calibre | 3 | 03-09-2011 04:23 PM |