Bug with Viewer and Localized characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Bug noticed with CBZ & CBR books. One example included in attached document.
Context :
- Win10 64bits
- for books that have been imported by a previous version of Calibre
- either inner directory names or inner filenames contain accentuated characters, as î or ô
- when clicking to view the book, I a unable to vizualise the book. I get the following message : All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
- Here are the details :
calibre, version 2.48.0
ERREUR : Impossible d’ouvrir le livre numérique: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Traceback (most recent call last):
File "site-packages\
File "threading.py", line 763, in run
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "lxml.etree.pyx", line 2245, in lxml.etree.
File "apihelpers.pxi", line 547, in lxml.etree.
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
- using an archive viewer such as 7Zip, I can open the .CBZ or .CBR archive and view the individual jpg pages. So I am sure the data is not corrupted on disk and that the bug is really in Calibre.
Best regards,
Patrick Huguet
Convert the book to epub and view that and you will be fine. Fix for the
viewer will be in the enxt release.