|03-01-2014, 01:17 PM||#1|
Join Date: Jun 2012
import HTML as new book - missing content.opf?
I'm considering switching from Sigil to Calibre's new book editor for making EPUBs from my PDF files. I use Mobipocket Creator to import a PDF file, it converts and saves as an HTML file and image files. Then I just copy that folder to my Mac. When I try to do "File->Import an HTML or DOCX file as a new book", and open the HTML file, I get this error:
calibre, version 1.26.0
ERROR: Failed to open book: Failed to open book, click Show details for more information.
Traceback (most recent call last):
File "site-packages/calibre/gui2/tweak_book/job.py", line 34, in run
File "site-packages/calibre/gui2/tweak_book/boss.py", line 183, in func
File "site-packages/calibre/ebooks/oeb/polish/import_book.py", line 50, in import_book_as_epub
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 137, in __init__
InvalidBook: Could not locate opf file: u'/private/var/folders/m6/cngf28xj345f36n_kgc30_5c0000gn/T/calibre_1.26.0_tmp_WXgV2j/45oIm9eei/content.opf'
Not sure what I'm doing wrong, I'm not an ebook expert by any means... currently I just run Sigil, click the + button (add existing files) and select the HTML file. Everything gets imported, I do a bit of cleaning up, and save it as EPUB. So now I'm trying to see if I can do the same thing with Calibre's new editor, since I heard Sigil isn't being developed anymore. Ideas? Thanks...
|03-01-2014, 10:27 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Change opf filename from content.opf to title.opf||northstar7||Sigil||3||09-23-2013 12:44 PM|
|importing html book: wrong import and conversion||vangop||Library Management||2||10-03-2012 11:18 AM|
|OPF file OPS/package.opf is missing||Run2Eat||ePub||2||05-31-2011 06:52 PM|
|Default book language to be saved in content.opf?||moriakaice||Calibre||7||05-21-2011 05:02 PM|
|HTML to Mobi conversions (DocBook XSL, and content.opf?)||AndrewLB||Calibre||3||09-04-2010 09:02 PM|