Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3919

Error when using ebook-convert: "invalid start byte"

$
0
0
I get this error when I attempt any conversion using ebook-convert.
I have the DeDRM and obok plugins installed.
My platform is linux.
This is the complete failure log:
Code:

$ ebook-convert /path/Patrick_van_Veen.tmp.epub /path2/Patrick_van_Veen.epub
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /path/Patrick_van_Veen.tmp.epub
Found HTML cover OEBPS/Text/00_Cover.xhtml
Traceback (most recent call last):
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/ebook-convert", line 20, in <module>
    sys.exit(main())
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/PYTHON/lib/calibre/calibre/ebooks/conversion/cli.py", line 380, in main
    plumber.run()
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/PYTHON/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1057, in run
    accelerators, tdir)
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/PYTHON/lib/calibre/calibre/customize/conversion.py", line 241, in call
    log, accelerators)
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/PYTHON/lib/calibre/calibre/ebooks/conversion/plugins/epub_input.py", line 256, in convert
    nopf.write(opf.render())
  File "/home/phablet/.local/share/sturmreader.emanuelesorce/calibre/PYTHON/lib/calibre/calibre/ebooks/metadata/opf2.py", line 1271, in render
    raw = etree.tostring(self.root, encoding='ascii', pretty_print=True)
  File "src/lxml/lxml.etree.pyx", line 3326, in lxml.etree.tostring (src/lxml/lxml.etree.c:84227)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa5 in position 0: invalid start byte
-> exit code: 1

thanks!!

Viewing all articles
Browse latest Browse all 3919

Trending Articles