View Single Post
Old 11-04-2011, 11:00 AM   #1
nimblebooks
Enthusiast
nimblebooks began at the beginning.
 
Posts: 28
Karma: 10
Join Date: May 2010
Device: Kindle
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL by

What does this mean? (error is at bottom) building an ePub from a collection of HTML documents.

Where does it think the NULL character is?

Quote:
...

Generating default cover
Traceback (most recent call last):
File "/usr/bin/ebook-convert", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 254, in main
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 886, in run
self.opts, self.log)
File "/usr/lib/calibre/calibre/ebooks/epub/output.py", line 176, in convert
oeb_output.convert(oeb, tdir, input_plugin, opts, log)
File "/usr/lib/calibre/calibre/ebooks/oeb/output.py", line 31, in convert
results = oeb_book.to_opf2(page_map=True)
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 1907, in to_opf2
results[NCX_MIME] = (href, self._to_ncx())
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 1880, in _to_ncx
self.toc.to_ncx(navmap)
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 1593, in to_ncx
element(point, NCX('content'), src=urlunquote(node.href))
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 240, in element
return etree.SubElement(parent, *args, **kwargs)
File "lxml.etree.pyx", line 2437, in lxml.etree.SubElement (src/lxml/lxml.etree.c:47345)
File "apihelpers.pxi", line 210, in lxml.etree._makeSubElement (src/lxml/lxml.etree.c:11391)
File "apihelpers.pxi", line 205, in lxml.etree._makeSubElement (src/lxml/lxml.etree.c:11327)
File "apihelpers.pxi", line 283, in lxml.etree._initNodeAttributes (src/lxml/lxml.etree.c:12162)
File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/lxml.etree.c:19848)
nimblebooks is offline   Reply With Quote