You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "core/app_cocoa_inter.pyc", line 68, in saveResults
File "core/app.pyc", line 327, in save
File "core/results.pyc", line 287, in save_to_xml
File "lxml.etree.pyx", line 634, in lxml.etree._Element.set (src/lxml/lxml.etree.c:33098)
File "apihelpers.pxi", line 488, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:14859)
File "apihelpers.pxi", line 1295, in lxml.etree._utf8 (src/lxml/lxml.etree.c:21250)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes
@@@
The text was updated successfully, but these errors were encountered:
Ok, what happens is that lxml raises that error not only on null bytes, but on any character that is invalid xml (\x19 for example). Because it's possible to have filenames that contain these characters, I have to wrap the set in a try.
@@@
Application Identifier: com.hardcoded_software.dupeguru
Application Version: 2.10.0
Traceback (most recent call last):
File "core/app_cocoa_inter.pyc", line 68, in saveResults
File "core/app.pyc", line 327, in save
File "core/results.pyc", line 287, in save_to_xml
File "lxml.etree.pyx", line 634, in lxml.etree._Element.set (src/lxml/lxml.etree.c:33098)
File "apihelpers.pxi", line 488, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:14859)
File "apihelpers.pxi", line 1295, in lxml.etree._utf8 (src/lxml/lxml.etree.c:21250)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes
@@@
The text was updated successfully, but these errors were encountered: