![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2013
Device: Kindle
|
All strings must be XML compatible?
I just bought a kindle book on Amazon. I try to view it on Calibre but I get the below message. I can't view it nor convert it.
This is the first time something like that happens. Usually I can view books no problems. Any help would be appreciated! Thank you. calibre, version 0.8.57 ERROR: Could not open ebook: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters Traceback (most recent call last): File "site-packages\calibre\gui2\viewer\main.py", line 39, in run File "threading.py", line 504, in run File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 99, in __enter__ File "site-packages\calibre\customize\conversion.py", line 208, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 34, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 195, in extract_content File "site-packages\calibre\utils\soupparser.py", line 23, in fromstring File "site-packages\calibre\utils\soupparser.py", line 67, in _parse File "site-packages\calibre\utils\soupparser.py", line 77, in _convert_tree File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 87, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 89, in _convert_children File "site-packages\calibre\utils\soupparser.py", line 101, in _append_text File "lxml.etree.pyx", line 916, in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:36134) File "apihelpers.pxi", line 721, in lxml.etree._setNodeText (src/lxml/lxml.etree.c:17141) File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22211) ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your version of calibre is ancient, update.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2021
Device: iPad
|
This exception still can occur with recent calibre 5.11, e.g. with PDFs containing strange characters in their metadata for title, author and so on.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to exclude strings before and after | ElMiko | Sigil | 14 | 07-21-2012 06:34 PM |
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL by | nimblebooks | Conversion | 5 | 11-04-2011 12:38 PM |
Fetch News failing (All strings must be XML compatible | nuveen | Recipes | 11 | 10-01-2011 12:01 PM |
What are these strings for? | Jellby | Calibre | 2 | 05-22-2011 01:08 PM |
The Tangled Strings of the Marionettes | Team7 | Reading Recommendations | 5 | 01-14-2005 06:19 PM |