View Single Post
Old 07-05-2017, 11:17 AM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,189
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by jgawne View Post
What am I doing wrong?

Three times I have almost finished polishing off an ebook (first time doing all of it in calibre instead of sigil and calibre). I save copies every so often, but at some point when I try and open the file I get a failed to read book message.

All I can think of is that in using a find and replace command I'm killing some code I needed?

I get one of two messages- the first is when trying to open a file in Adobe Digital editions:

calibre, version 3.2.1
ERROR: Could not open e-book: Failed to read book, C:\Users\Jon\Documents\Calibre Library\Unknown\PEN EPUB D (162)\PEN EPUB D - Unknown.epub click "Show Details" for more information

Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\simple_worker.py", line 286, in main
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 259, in convert
ValueError: C:\Users\Jon\Documents\Calibre Library\Unknown\PEN EPUB D (162)\PEN EPUB D - Unknown.epub is not a valid EPUB file (could not find opf)



I get this when trying to open in Calibre (from which it was saved).

calibre, version 3.2.1
ERROR: Could not open e-book: Failed to read book, C:\Users\Jon\Documents\Calibre Library\Timothy J. Gawne\OLD GUY AND THE PLANET OF ETERNAL N (159)\OLD GUY AND THE PLANET OF ETERN - Timothy J. Gawne.epub click "Show Details" for more information

Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\simple_worker.py", line 286, in main
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 259, in convert
ValueError: C:\Users\Jon\Documents\Calibre Library\Timothy J. Gawne\OLD GUY AND THE PLANET OF ETERNAL N (159)\OLD GUY AND THE PLANET OF ETERN - Timothy J. Gawne.epub is not a valid EPUB file (could not find opf)
Quote:
(could not find opf)
You must have deleted your opf file export your ebook using calibre's save to disk fuction, then unzip it, then import the html toc file--not the toc.ncx--into calibre--you do have a html toc--, then do a zip to epub conversion.

bernie
gbm is offline   Reply With Quote