|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2025
Device: Kindle
|
Library import, corrupted files, what are the options?
I'm trying to import a library from a backup I did earlier via Calibre's export function. It's a little over 5 GB of data spread into 6 .calibre-data files.
Somewhere around the 25% mark I get an error: Code:
calibre, version 8.16.2 ERROR: Failed: Failed to import data. Click "Show details" for more information. Traceback (most recent call last): File "calibre/gui2/dialogs/exim.py", line 156, in run_action File "calibre/utils/exim.py", line 478, in import_data File "calibre/db/cache.py", line 3627, in import_library ValueError: Corrupted files: EPUB format for <book title> What options do I have? I can't see anything on this in Calibre's documentation. |
|
|
|
|
|
#2 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,077
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The design intent of Export/Import was to facilitate transfer of calibre libraries and settings to a 'new' computer ==>> How do I move my calibre data from one computer to another?. If anything went wrong the user would presumably still have their 'old' computer, so they could do the transfers manually as explained in that FAQ. But don't delete anything, someone may have a solution. BR |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,716
Karma: 28549306
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you have one corrupted file its highly likely you have many more. I can change the code to finish importing all books in a library before reporting corrupted files, that might help you a bit.
https://github.com/kovidgoyal/calibr...8facf96bff6a01 |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't Import Calibre Library Files | EarthlingSil | Calibre | 7 | 01-20-2025 09:49 PM |
| How to import boook without copy files to library folder? | fpaulon | Library Management | 3 | 07-17-2024 06:15 PM |
| Import an old Calibre library with corrupted database | Beanxx | Library Management | 3 | 05-08-2015 05:12 PM |
| Corrupted OPF Files in large library | unboggling | Library Management | 5 | 05-30-2011 01:27 AM |
| Any way to import files directly into collection in eBook Library? | erikk | Sony Reader | 3 | 02-26-2008 02:48 PM |