Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2015, 03:19 AM   #1
igsmo
Junior Member
igsmo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2015
Device: none
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!
igsmo is offline   Reply With Quote
Old 09-29-2015, 04:48 AM   #2
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,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...fa467dea1e3288
kovidgoyal is offline   Reply With Quote
Advert
Old 09-29-2015, 07:06 AM   #3
igsmo
Junior Member
igsmo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2015
Device: none
Quote:
Originally Posted by kovidgoyal View Post
that worked! thank you so much!
igsmo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to double the line returns in an ePub? kelemvor ePub 33 07-08-2014 02:14 PM
Google Play Books on iPad Air - too big/double line spacing? pwjone1 Apple Devices 2 06-09-2014 11:20 AM
Which large reader has double-column format AND TTS? zeiskeit Which one should I buy? 6 12-19-2011 07:18 PM
Double Column Conversion Tool mazzeltjes Calibre 0 12-10-2009 04:22 PM
Which program for double column PDFs? mflood Sony Reader 13 02-25-2008 04:13 PM


All times are GMT -4. The time now is 06:27 AM.


MobileRead.com is a privately owned, operated and funded community.