Thread: EPUB output
View Single Post
Old 09-18-2008, 12:21 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JeffElkins View Post
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
Fixed, thanks.
kovidgoyal is offline   Reply With Quote