XMLSyntaxError: Double hyphen within comment: <!--<!, line 1, column 2684
I hope someone can help, I have run into a problem with converting a recipe to the txt format. Here's the command I issued:
ebook-convert "Ars Technica".recipe Ars.txt
it almost completes the conversion then at the end an error messages spits out:
[...]
Converting XHTML to TXT...
Traceback (most recent call last):
File "site.py", line 63, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 360, in main
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1198, in run
File "site-packages/calibre/ebooks/conversion/plugins/txt_output.py", line 90, in convert
File "site-packages/calibre/ebooks/txt/txtml.py", line 62, in extract_content
File "site-packages/calibre/ebooks/txt/txtml.py", line 73, in mlize_spine
File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68121)
File "parser.pxi", line 1786, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102470)
File "parser.pxi", line 1667, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101229)
File "parser.pxi", line 1035, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:96139)
File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91290)
File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92476)
File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91772)
XMLSyntaxError: Double hyphen within comment: <!--<!, line 1, column 2684
[...]
this happens under ubuntu as well as under mac, both calibre are updated to the latest version.
I hope someone can help me with this.
Thank you!
|