View Single Post
Old 04-22-2009, 05:47 AM   #110
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
After I run the feed2disk, which commands do I need to run for mobi book?

I tried oeb2mombi I gives this exception:

"
Traceback (most recent call last):
File "writer.py", line 634, in <module>
File "writer.py", line 630, in main
File "writer.py", line 601, in oeb2mobi
File "calibre\ebooks\oeb\base.pyo", line 1067, in __init__
File "calibre\ebooks\oeb\base.pyo", line 1535, in _all_from_opf
File "calibre\ebooks\oeb\base.pyo", line 1268, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty
"

html2epub worked fine for the same html tree.

Another problem is: the epub seems does not contain the pictures.

This seems due to the fact that I ran the feed2disk with -o option.

That caused the image URL to be created wrongly:

The correct one should be:
file:///C:/ebook/zaobao/feed_12/article_0/images/img1.jpg.jpg

Instead, feed2disk used this wrong one:

file:///C:/ebook/zaobao/feed_12/article_0/zaobao/feed_12/article_0/images/img1.jpg.jpg

looks like a bug

Last edited by pubolab; 04-22-2009 at 06:12 AM.
pubolab is offline