|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27
Karma: 32224
Join Date: Jul 2017
Device: Kobo Libra 2
|
Find Corrupted Books?
Hi all, I just exported my calibre library for backup, and when I imported the newly exported library to check it, it failed to complete the import because of corrupted books. I'm not surprised there are corrupted books because my PC bit the dust due to RAM failure, which affected my several previous backup attempts. I couldn't export or copy/paste large files to external drives or other storage, and the PC failed as I was preparing to break my library into smaller sections.
The import stops when corrupted book(s) are found, and gives me an error message identifying books and corrupted formats, such as: "calibre, version 9.13.0 ERROR: Failed: Failed to import data. Click "Show details" for more information. Traceback (most recent call last): File "calibre\gui2\dialogs\exim.py", line 162, in run_action File "calibre\utils\exim.py", line 493, in import_data File "calibre\db\cache.py", line 4300, in import_library ValueError: Corrupted files: PDF format for Rescue the earth!: conversations with the green crusader" That is a handy feature. I removed the corrupted book format from my library. But calibre restarts when I acknowledge the error message. So I then re-exported the library, re-imported it, and calibre found another corrupted book and halted the import. I have a large library and no clue how many books may be corrupted. Is there a way to identify corrupted book formats without repeatedly exporting and importing my library? Thanks! |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,160
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Perhaps this will help you. The plugin generates a report that you can export to a text file to see which files are involved.
================================================== =========== CALIBRE SECURITY & INTEGRITY ANALYSIS REPORT ================================================== =========== Total books checked: 23 Issues found: 0 ------------------------------------------------------------ No security or integrity issues detected. Your library is healthy. ================================================== ========== https://www.mobileread.com/forums/sh...d.php?t=374902 Last edited by dunhill; Today at 01:24 PM. |
|
|
|
|
|
#3 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27
Karma: 32224
Join Date: Jul 2017
Device: Kobo Libra 2
|
Thank You!
Thank you very much for that!
|
|
|
|
![]() |
| Tags |
| corrupted books, failed import, import library |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Books in Audible library corrupted | paieye | Apple Devices | 0 | 02-06-2022 05:03 AM |
| Updating books leaves corrupted file remnants | R Wilcox | Amazon Kindle | 0 | 10-10-2021 05:24 AM |
| Books corrupted sendng to device | AlanE | Calibre | 9 | 07-09-2011 01:57 PM |
| Calibre keeps saying database of books is corrupted. Media.xml file | seajewel | Calibre | 8 | 02-26-2010 09:35 PM |
| Help! Corrupted books Directory | carandol | iRex | 3 | 02-15-2008 07:51 AM |