Application Name: dupeGuru
Traceback (most recent call last):
File "/usr/share/dupeguru_se/core/app.py", line 383, in export_to_csv
export.export_to_csv(dest_file, colnames, rows)
File "/usr/share/dupeguru_se/core/export.py", line 149, in export_to_csv
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcfc' in
position 9: surrogates not allowed
Surrogates again... I had a similar problem with #170, but xml.etree fixed it by itself. I should probably just remove these characters from exported paths, or something like that...
So yeah, I can reproduce the issue by manually (through a python os.rename()) creating a buggy filename, scanning them and then trying to export the CSV. As with #170, I should just clean those buggy characters out.
... or, just use errors='replace' during the encoding phase...
Oh well, it's more complicated than that after all...
Fix surrogate-related UnicodeEncodeError on CSV export