Den sön 7 feb. 2021 kl 20:09 skrev Nis Martensen <[email protected]
>:

> On 07.02.2021 19.46, Mikael Petersson wrote:
> > Nope. No non-ascii characters for my user account entry in /etc/passwd.
> > No non-ascii characters whatsoever as far as I can see. No e-mail
> > address is specified in my user account entry.
> >
> > Neither /etc/email-adresses nor /etc/email-addresses exist on my system.
> > I don't have any MTA installed.
>
> Thank you for checking.
>
> > One thing that may stand out a bit in my /etc/passwd entry is my choice
> > of default shell. I run fish, /usr/bin/fish. But I got the same error
> > after changing to /bin/bash, running reportbug from a new login session
>
> The shell should not matter.
>
> The relevant code is here:
> https://sources.debian.org/src/reportbug/7.9.0/reportbug/utils.py/#L301
>
> With the information you have provided, line 308 must have been reached
> without the bad 'ä' having been introduced into the emailaddr variable
> yet. This leaves only /etc/mailname and socket.getfqdn() as remaining
> possibilities?
>

Problem solved! :-) domainname --fqdn revealed that I have actually
provided an 'ä' to the domain name. 'ä' is a common character in Swedish,
and it's certainly non-ASCII. With an ASCII-only FQDN, reportbug works fine.

Sorry for the inconvenience, and for your patience. This is most certainly
not an important bug. I wouldn't hardly recognize it as a bug at all.
FQDN:s should always be ASCII only.

/Micael

Reply via email to