logging causes exceptions for iso-8859-1 filenames
Bug #1030199 reported by
az
This bug report is a duplicate of:
Bug #1050509: Duplicity doesn't handle non-utf8 filenames well.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
this is a forward of debian bug #682837, which lives over there: http://
the original submitter gets lots of exceptions because the log module doesn't deal properly with
the filenames it's supposed to log: the filename in question includes characters from
iso-8859-1 aka latin1, namely an a-circumflex, while duplicity's log module insists on plain ascii or utf-8.
here is an excerpt of the error message:
File "/usr/lib/
log.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 16: ordinal not in range(128)
To post a comment you must log in.
This looks a lot like bug 989496. I'm not marking as a duplicate yet, because there may be two related faults with unicode, and this may be a good bug for the non-utf8-filenames side of things (rather than the non-utf8- translations side).