Epub corrupted after editing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Expired
|
Undecided
|
Unassigned |
Bug Description
After editing an epub through the Calibre editor (& accessing the book fine), at some point after making additional edits & saving the book with no reported problem, the book is no longer accessible. This is after editing about 100 index split html files. Is there any way to recover the edited book?
This is under Calibre version 2.67 (64 bit),
Windows 7 Home Premium, service pack 1
The following error shows when trying to edit the book again,
Failed to open book
Details show:
calibre, version 2.67.0
ERROR: Failed to open book: Failed to open book, click Show details for more information.
Traceback (most recent call last):
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
InvalidEpub: No META-INF/
---------------
Just trying to read it read yields:
Failed to read book
Details shows:
calibre, version 2.67.0
ERROR: Could not open ebook: Failed to read book, D:\My Documents\Calibre Library\R Hayim H. Donin\To Be A Jew_ A Guide To Jewish Obse (616)\To Be A Jew_ A Guide To Jewish - R Hayim H. Donin.epub click "Show Details" for more information
Traceback (most recent call last):
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
ValueError: D:\My Documents\Calibre Library\R Hayim H. Donin\To Be A Jew_ A Guide To Jewish Obse (616)\To Be A Jew_ A Guide To Jewish - R Hayim H. Donin.epub is not a valid EPUB file (could not find opf)
---------------
calibre atomically updates the book when saving -- whatever happened to
that book was almost definitely something other than calibre. Also, no
problems were reported when saving, as you said. ;)
If you rename the *.epub to a *.zip and try opening it with an archive
utility, do you see any (legible) contents?