[Reportbug-maint] Bug#877650: reportbug: crashes when maintainer's name contains incompatible character

Nis Martensen nis.martensen at web.de
Tue Dec 5 11:37:09 UTC 2017


Thanks for your report!

On 03 Oct 2017 Eckhard Neber wrote:
> Detected character set: UTF-8

Your system is set up to use UTF-8 (good).

>   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 728, in get_changed_config_files
>     for line in fp:
>   File "/usr/lib/python3.5/codecs.py", line 321, in decode
>     (result, consumed) = self._buffer_decode(data, self.errors, final)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 294: invalid continuation byte

You noticed this crash while trying to report a bug against udftools. If
you run `apt-cache show udftools` on the system where you have the
udftools package installed, the output should contain a line
'Conffiles:' with a list of one or more filenames and md5sums below.

One of these files most likely uses a different fileencoding. (In latin1
encoding, 0xe9 is 'é'.) If you convert that file to UTF-8, the crash
should no longer happen.

Reportbug is not designed to cope with arbitrary encodings of
configuration files, but relies on the user to use consistent encoding
in files and environment.

Please let us know if this does not fix your problem, otherwise I will
close this bug in a while.



More information about the Reportbug-maint mailing list