Thread: EPUB output
View Single Post
Old 11-02-2008, 08:25 PM   #248
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
html2epub 0.4.101 seems to be broken?

Building file list...
Parsing tmp/yxz/001.htm
Processing stylesheet /tmp/calibre_0.4.101_g8cCAc_html2epub/content/resources/file_0.css...
Failed to parse stylesheet: /tmp/calibre_0.4.101_g8cCAc_html2epub/content/resources/file_0.css
CSSStyleDeclaration: Unexpected token, ignoring upto u';'. [1:35: ;]
Rationalizing fonts...
Parsing tmp/yxz/index.html
CSSStyleDeclaration: Unexpected token, ignoring upto u';'. [1:35: ;]
Rationalizing fonts...
Traceback (most recent call last):
File "/usr/bin/html2epub", line 8, in <module>
load_entry_point('calibre==0.4.101', 'console_scripts', 'html2epub')()
File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 325, in main
convert(args[1], opts)
File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 264, in convert
parse_content(filelist, opts, tdir)
File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 119, in parse_content
hp.populate_toc(toc)
File "/usr/lib/python2.5/site-packages/calibre/ebooks/html.py", line 668, in populate_toc
name = self.htmlfile_map[self.htmlfile.referrer]
KeyError: HTMLFile:0:a:/tmp/yxz/001.htm
thawk is offline   Reply With Quote