|04-19-2011, 05:50 PM||#16|
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
I like it for HTML and other programming languages, but I don't think it's the best for Python, due to Python's extensive use of block formats by indents.
|04-19-2011, 07:50 PM||#17|
Join Date: Apr 2009
Device: BeBook One, Pocketbook Touch
|05-09-2011, 06:09 PM||#18|
Join Date: Nov 2009
I seem to be having trouble opening an .htmlz ebook to Calibre 0.8.0. It imports properly and shows up as a .htmlz but when I try to view it with the internal viewer or convert it to .zip, I get the following error message:
calibre, version 0.8.0
ERROR: Could not open ebook: [Errno 2] No such file or directory: u'../../../../../cover.jpg'
Traceback (most recent call last):
File "site-packages/calibre/gui2/viewer/main.py", line 64, in run
File "lib/python2.7/threading.py", line 483, in run
File "site-packages/calibre/ebooks/oeb/iterator.py", line 195, in __enter__
File "site-packages/calibre/customize/conversion.py", line 204, in __call__
File "site-packages/calibre/ebooks/htmlz/input.py", line 89, in convert
IOError: [Errno 2] No such file or directory: u'../../../../../cover.jpg'
If I unzip the .htmlz, the cover.jpg is there and is properly identified in the book.opf. If I simply rename the .htmlz to .zip and import it, all is fine (ie. the cover is correctly identified and used).
|05-09-2011, 08:11 PM||#19|
Sigil & calibre developer
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Email me the file and I'll figure it out.
I made some changes to the cover handling since 0.8.0's release so hopefully this is already fixed.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|HTMLZ - Single HTML File Output||user_none||Calibre||22||05-19-2011 03:33 AM|