-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Creating DFXML with walk_to_dfxml.py (called with Python 3.5.2 in Ubuntu 16.04) on two mounted disk images resulted in the following errors:
Traceback (most recent call last):
File "/usr/share/dfxml/python/walk_to_dfxml.py", line 182, in
main()
File "/usr/share/dfxml/python/walk_to_dfxml.py", line 168, in main
dobj.print_dfxml()
File "/usr/share/dfxml/python/Objects.py", line 219, in print_dfxml
output_fh.write(_ET_tostring(e))
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc9a' in position 30: surrogates not allowed
Traceback (most recent call last):
File "/usr/share/dfxml/python/walk_to_dfxml.py", line 182, in
main()
File "/usr/share/dfxml/python/walk_to_dfxml.py", line 168, in main
dobj.print_dfxml()
File "/usr/share/dfxml/python/Objects.py", line 219, in print_dfxml
output_fh.write(_ET_tostring(e))
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc8a' in position 33: surrogates not allowed