Thread: EPUB output
View Single Post
Old 09-18-2008, 11:26 AM   #2
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Congratulations on this milestone!

Code:
html2epub dead_until_dark.html
Building file list...
        Parsing jeff/southern_vampire/dead_until_dark.html
Traceback (most recent call last):
  File "/usr/bin/html2epub", line 8, in <module>
    load_entry_point('calibre==0.4.84b3', 'console_scripts', 'html2epub')()
  File "/home/jeff/calibre/src/calibre/ebooks/epub/from_html.py", line 96, in main
    convert(args[1], opts)
  File "/home/jeff/calibre/src/calibre/ebooks/epub/from_html.py", line 78, in convert
    resource_map = parse_content(filelist, opts)
  File "/home/jeff/calibre/src/calibre/ebooks/epub/from_html.py", line 66, in parse_content
    resource_map, filelist)
  File "/home/jeff/calibre/src/calibre/ebooks/epub/from_html.py", line 21, in __init__
    self.extract_css()
  File "/home/jeff/calibre/src/calibre/ebooks/html.py", line 447, in extract_css
    css.append('#%s {%s}'%(id, 'page-break-before:always'))
UnboundLocalError: local variable 'id' referenced before assignment
This was with b17
JeffElkins is offline   Reply With Quote