Package: reportbug Version: 7.1.1 Severity: normal This is a regression in 7.1.1:
% DEBFULLNAME="t'est" DEBEMAIL="t...@example.com" reportbug reportbug *** Welcome to reportbug. Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter). Detected character set: UTF-8 Please change your locale if this is incorrect. Traceback (most recent call last): File "/usr/bin/reportbug", line 2233, in <module> main() File "/usr/bin/reportbug", line 1107, in main return iface.user_interface() File "/usr/bin/reportbug", line 1325, in user_interface fromaddr = utils.get_user_id(self.options.email, self.options.realname, charset) File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 316, in get_user_id addr = email.utils.formataddr((realname, email)) AttributeError: 'str' object has no attribute 'utils' Reportbug fails with both an apostrophe in DEBEMAIL (when formatting as t'est <t...@example.com>) or in the separate DEBFULLNAME variable. I noticed this as my surname has an apostrophe. -- Package-specific info: ** Environment settings: EDITOR="vi" PAGER="less" DEBEMAIL="Yuri D'Elia <wav...@thregr.org>" NAME="Yuri D'Elia" INTERFACE="text" ** /home/ydelia/.reportbugrc: mode expert ui text no-debconf mutt -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (900, 'unstable'), (800, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-rc8-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages reportbug depends on: ii apt 1.4~beta2 ii python3-reportbug 7.1.1 pn python3:any <none> reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail <none> ii debconf-utils 1.5.59 ii debsums 2.1.3 pn dlocate <none> pn emacs23-bin-common | emacs24-bin-common <none> ii exim4-daemon-light [mail-transport-agent] 4.88~RC6-1 ii file 1:5.29-2 ii gir1.2-gtk-3.0 3.22.5-1 pn gir1.2-vte-2.91 <none> ii gnupg 2.1.16-3 ii python3-gi 3.22.0-2 pn python3-gtkspellcheck <none> ii python3-urwid 1.3.1-2+b1 ii xdg-utils 1.1.1-1