[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982245: reportbug crashes during initial configuration



Package: reportbug
Version: 7.9.0
Severity: important

Reportbug fails during the initial configuration when I use the default Y answer (I press Enter) for direct Internet access. Console output during execution:

Will reportbug often have direct Internet access? (You should answer yes to
this question unless you know what you are doing and plan to check whether
duplicate reports have been filed via some other channel.) [Y|n|q|?]?
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2361, in <module>
    main()
  File "/usr/bin/reportbug", line 1115, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1257, in user_interface
    offer_configuration(self.options)
  File "/usr/bin/reportbug", line 572, in offer_configuration
    def_realname, def_email = utils.get_email()
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 298, in get_email
    return get_email_addr(get_user_id(emailaddr, realname))
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 332, in get_user_id
    return email.utils.formataddr((realname, emailaddr))
  File "/usr/lib/python3.9/email/utils.py", line 91, in formataddr
    address.encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 23: ordinal not in range(128)

This error makes it a bit awkward to report other bugs in Debian.

I installed the package today, so I don't know if this have worked in earlier versions

My computer is configured for Swedish language

Kind regards,

Micael Petersson, Falun, Sweden

Reply to: