[Reportbug-maint] Bug#849371: marked as done (reportbug: Version 7.1.1 crashes at launch)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848692: fixed in reportbug 7.1.2 has caused the Debian Bug report #848692, regarding reportbug: Version 7.1.1 crashes at launch to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 6.6.6 Severity: grave Justification: renders package unusable -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Version 7.1.1 crashes from unstable at start with the following TraceBack: 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 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' Regards Jean-Luc - -- Package-specific info: ** Environment settings: EMAIL="jean-luc.cou...@wanadoo.fr" DEBFULLNAME="Jean-Luc Coulon (f5ibh)" DEBNAME="Jean-Luc Coulon (f5ibh)" NAME="Jean-Luc Coulon (f5ibh)" - -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (600, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-i7-0.1 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages reportbug depends on: ii apt 1.4~beta2 ii python-reportbug 6.6.6 pn python:any reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail ii debconf-utils 1.5.59 pn debsums pn dlocate pn emacs23-bin-common | emacs24-bin-common ii exim4 4.88~RC6-2 ii exim4-daemon-light [mail-transport-agent] 4.88~RC6-2 ii file 1:5.29-2 ii gnupg 2.1.17-2 ii python-gtk22.24.0-5.1 pn python-gtkspellcheck pn python-urwid pn python-vte ii xdg-utils 1.1.1-1 Versions of packages python-reportbug depends on: ii apt 1.4~beta2 ii file 1:5.29-2 ii python-debian 0.1.29 ii python-debianbts 2.6.1 pn python:any python-reportbug suggests no packages. - -- Configuration Files: /etc/reportbug.conf changed: submit query-bts check-available cc config-files compress sign gnupg keyid 3CC69CD0 email "jean-luc.cou...@wanadoo.fr" realname "Jean-Luc Coulon (f5ibh)" smtphost localhost editor "gedit" verify mode advanced - -- no debconf information -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT5el3FKLtmYO4UlQtR0YZfPMac0AUCWGDviwAKCRBR0YZfPMac 0IrWAJ94cufoqQ+Msrzr7hSaiteVl99o3wCfRi4I3hS2mpjApLgNwpOw8Jbax0A= =NC4h -END PGP SIGNATURE- --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers
[Reportbug-maint] Bug#849586: marked as done (reportbug incorrectly short-circuits From address escaping with non-ASCII characters)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848692: fixed in reportbug 7.1.2 has caused the Debian Bug report #848692, regarding reportbug incorrectly short-circuits From address escaping with non-ASCII characters to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 7.1.1 Severity: important According to a thread on debian-devel, reportbug generated a From header looking like: From: =?utf-8?b?VG9tYXMgTWFydGnFoWl1cyA8dG9tYXNAcHVnYS52ZHUubHQ+?= I believe the problem may have been introduced in the Python 3 port. reportbug.utils.get_user_id contains the following code, which knows about correct From header formatting using email.utils.formataddr: if re.match(r'[\w\s]+$', realname): return '%s <%s>' % (realname, email) addr = email.utils.formataddr((realname, email)) I suspect this worked fine in Python 2, since this regex doesn't use the UNICODE flag. However, in Python 3, I believe regexes are str types by default and therefore Unicode by default, so this will match non-ASCII characters, short-circuit this logic, and never call formataddr. I'm not sure the original motivation for the short-circuit here, but I suspect just removing the re.match conditional and unconditionally calling email.utils.formataddr will produce the correct behavior. -- Package-specific info: ** Environment settings: EDITOR="vi" PAGER="less" VISUAL="vi" DEBEMAIL="r...@debian.org" DEBFULLNAME="Russ Allbery" INTERFACE="text" ** /home/eagle/.reportbugrc: reportbug_version "6.4.4" mode expert ui text no-cc header "X-Debbugs-CC: r...@debian.org" smtphost reportbug.debian.org -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-2-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 apt1.4~beta2 ii python3-reportbug 7.1.1 pn python3:any reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail ii debconf-utils 1.5.59 pn debsums pn dlocate ii emacs24-bin-common 24.5+1-7.1 ii file1:5.29-2 ii gir1.2-gtk-3.0 3.22.5-1 pn gir1.2-vte-2.91 ii gnupg 2.1.17-2 ii postfix [mail-transport-agent] 3.1.3-6 ii python3-gi 3.22.0-2 pn python3-gtkspellcheck pn python3-urwid ii xdg-utils 1.1.1-1 -- no debconf information --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special
[Reportbug-maint] Bug#849564: marked as done (python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils')
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848692: fixed in reportbug 7.1.2 has caused the Debian Bug report #848692, regarding python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils' to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: python3-reportbug Version: 7.1.1 Control: affects -1 reportbug Running reportbugs fails with: *** 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 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' It looks like the parameter email shadows the module name email causing this error. Bernhard R. Link -- F8AC 04D5 0B9B 064B 3383 C3DA AFFC 96D1 151D FFDC --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud; Closes: #848692 - capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677 * reportbug/ui/text_ui.py - use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655 * share/{bug, control} - port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749 * reportbug/debbugs.py - add jenkins.debian.org pseudopackage * Extend packaging copyright years Checksums-Sha1: 5e768b1f76117616b0e49dd43bf594a4aa30dcbc 1856 reportbug_7.1.2.dsc 3b2001753a73c1560754d7b33c3fe7a1b472c256 344996 reportbug_7.1.2.tar.bz2 10bd8394a51941e5327f0a207aa2d00c9a23cece 126430 python3-reportbug_7.1.2_all.deb cbe534c700441ca91578a0363ecdd22cfa860e21 126354 reportbug_7.1.2_all.deb 0fe11b94eb2c25eda13c53e0b4207d3d3269d146 6082 reportbug_7.1.2_amd64.buildinfo Checksums-Sha256: 7b1a67f8a1b6f60fa8f4f7358ac3b975ca4661c60853266833543af7fe2d5971 1856 reportbug_7.1.2.dsc 9cdbf3fdd1104729a6ae635ec3e7f1bd4dc89a503e5171033f96e6be5403e6ef 344996 reportbug_7.1.2.tar.bz2 fb080dd31dfb60c55d8e3f99b8c26464928150da078eb782b5d82730e4c58446 126430 python3-reportbug_7.1.2_all.deb de48dee3f48accc42305ea0ae4a5031bf4eae9a342605be5a3c77ddeadcc69f1 126354 reportbug_7.1.2_all.deb 9ffe023b5202af265ee933c382e0361154a66d8ec501ac1a753be6e0cba58020 6082 reportbug_7.1.2_amd64.buildinfo Files: 2432af887f781c94c004f5582eabc787 1856 utils
[Reportbug-maint] Bug#849243: marked as done (reportbug: TypeError: * wants int)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848655: fixed in reportbug 7.1.2 has caused the Debian Bug report #848655, regarding reportbug: TypeError: * wants int to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848655: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848655 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 7.1.1 Severity: grave Hello, Reportbug crashed when I was trying to report a bug, even if I am using text UI. ( I have to use email to report it :-/ ). The terminal output is as follow: % reportbug --ui=text Please enter the name of the package in which you have found a problem, or type 'other' to report a more general problem. If you don't know what package the bug is in, please contact debian- u...@lists.debian.org for assistance. > krita *** 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. Using 'Boyuan Yang <073p...@gmail.com>' as your from address. Getting status for krita... Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html Will send report to Debian (per lsb_release). Querying Debian BTS for reports on krita (source)... 2 bug reports found: Bugs with severity serious 1) #811432 sid: unable to install, missing deps: libilmbase6 libope Bugs with severity normal 2) #813570 krita-1.2.8.5+dfsg-1: Krita crashes by creating a new wo (2-2/2) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? n Maintainer for krita is 'Debian Qt/KDE Maintainers '. Looking up dependencies of krita... Getting changed configuration files... Briefly describe the problem (max. 100 characters allowed). This will be the bug email subject, so keep the summary as concise as possible, for example: "fails to send email" or "does not start with -q option specified" (enter Ctrl+c to exit reportbug without reporting a bug). > segfault on startup Rewriting subject to 'krita: segfault on startup' Enter any additional addresses this report should be sent to; press ENTER after each address. Press ENTER on a blank line to continue. > How would you rate the severity of this problem or report? 1 criticalmakes unrelated software on the system (or the whole system) break, or causes serious data loss, or introduces a security hole on systems where you install the package. 2 grave makes the package in question unusable by most or all users, or causes data loss, or introduces a security hole allowing access to the accounts of users who use the package. 3 serious is a severe violation of Debian policy (that is, the problem is a violation of a 'must' or 'required' directive); may or may not affect the usability of the package. Note that non-severe policy violations may be 'normal,' 'minor,' or 'wishlist' bugs. (Package maintainers may also designate other bugs as 'serious' and thus release-critical; however, end users should not do so.). For the canonical list of issues worthing a serious severity you can refer to this webpage: http://release.debian.org/testing/rc_policy.txt . 4 important a bug which has a major effect on the usability of a package, without rendering it completely unusable to everyone. 5 does-not-build a bug that stops the package from being built from source. (This is a 'virtual severity'.) 6 normal a bug that does not undermine the usability of the whole package; for example, a problem with a particular option or menu item. 7 minor things like spelling mistakes and other minor cosmetic errors that do not affect the core functionality of the package. 8 wishlistsuggestions and requests for new features. Please select a severity level: [normal] grave You are reporting a grave bug; which of the following criteria does it meet? Traceback (most recent call last): File "/usr/bin/reportbug", line 2233, in main() File "/usr/bin/reportbug", line 1107, in main return
[Reportbug-maint] Bug#849677: marked as done (reportbug: ampersand-replaced usernames should be capitalized instead of uppercased)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#849677: fixed in reportbug 7.1.2 has caused the Debian Bug report #849677, regarding reportbug: ampersand-replaced usernames should be capitalized instead of uppercased to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 849677: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849677 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 6.6.3 Severity: minor Tags: patch Dear Maintainer, The fix for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224231 was not fully accurate. "finger" does capitalize, not uppercase the username replacing the ampersand. Patch attached. >From a385efe73ab398b9acd51319dd5249385843326d Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Thu, 29 Dec 2016 19:25:44 +0100 Subject: [PATCH] Ampersand replacement should capitalize, but not uppercase to match behavior of "finger" --- reportbug/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reportbug/utils.py b/reportbug/utils.py index 89e0991..4b00a86 100644 --- a/reportbug/utils.py +++ b/reportbug/utils.py @@ -305,7 +305,7 @@ def get_user_id(email='', realname='', charset='utf-8'): if not realname: realname = info[4].split(',', 1)[0] # Convert & in gecos field 4 to capitalized logname: #224231 -realname = realname.replace('&', info[0].upper()) +realname = realname.replace('&', info[0].capitalize()) if not realname: return email -- 2.1.4 --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 849...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud; Closes: #848692 - capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677 * reportbug/ui/text_ui.py - use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655 * share/{bug, control} - port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749 * reportbug/debbugs.py - add jenkins.debian.org pseudopackage * Extend packaging copyright years Checksums-Sha1: 5e768b1f76117616b0e49dd43bf594a4aa30dcbc 1856 reportbug_7.1.2.dsc 3b2001753a73c1560754d7b33c3fe7a1b472c256 344996 reportbug_7.1.2.tar.bz2 10bd8394a51941e5327f0a207aa2d00c9a23cece 126430 python3-reportbug_7.1.2_all.deb cbe534c700441ca91578a0363ecdd22cfa860e21 126354 reportbug_7.1.2_all.deb 0fe11b94eb2c25eda13c53e0b4207d3d3269d146 6082 reportbug_7.1.2_amd64.buildinfo Checksums-Sha256: 7b1a67f8a1b6f60fa8f4f7358ac3b975ca4661c60853266833543af7fe2d5971 1856 reportbug_7.1.2.dsc 9cdbf3fdd1104729a6ae635ec3e7f1bd4dc89a503e5171033f96e6be5403e6ef 344996 reportbug_7.1.2.tar.bz2 fb080dd31dfb60c55d8e3f99b8c26464928150da078eb782b5d82730e4c58446 126430 python3-reportbug_7.1.2_all.deb de48dee3f48accc42305ea0ae4a5031bf4eae9a342605be5a3c77ddeadcc69f1 126354 reportbug_7.1.2_all.deb
[Reportbug-maint] Bug#849749: marked as done (reportbug: unable to run its own bug script without python 2)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#849749: fixed in reportbug 7.1.2 has caused the Debian Bug report #849749, regarding reportbug: unable to run its own bug script without python 2 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 849749: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849749 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 7.1.1 Severity: normal Tags: patch Dear Maintainer, reportbug either still needs to depend on python, or its bug script must be ported to python3. Otherwise it will fail if python2 is not installed. Untested patch attached (done using 2to3). >From 5ba5586196275bec188fe4f473a1eba207506cb5 Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Fri, 30 Dec 2016 14:11:24 +0100 Subject: [PATCH] Port bug script to python3 --- share/script | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/script b/share/script index e64c5e9..58eef25 100755 --- a/share/script +++ b/share/script @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/python3 # -*- python -*- import os @@ -11,21 +11,21 @@ for var in ['EDITOR', 'PAGER', 'VISUAL', 'REPORTBUGEMAIL', 'DEBEMAIL', 'EMAIL', 'DEBFULLNAME', 'DEBNAME', 'NAME', 'INTERFACE']: if var in os.environ: if not envprint: -print >> OUT, '** Environment settings:' +print('** Environment settings:', file=OUT) envprint = True -print >> OUT, '%s="%s"' % (var, os.environ[var]) +print('%s="%s"' % (var, os.environ[var]), file=OUT) passwdre = re.compile(r'\s*(smtppasswd)\s+(.*)$') USERFILE = os.path.expanduser('~/.reportbugrc') if os.path.exists(USERFILE): if envprint: -print >> OUT -print >> OUT, '** %s:' % USERFILE +print(file=OUT) +print('** %s:' % USERFILE, file=OUT) for line in file(USERFILE): line = line.strip() if line and not line.startswith('#'): m = passwdre.match(line) if m: line = '%s ' % m.group(1) -print >> OUT, line +print(line, file=OUT) -- 2.1.4 --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 849...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud; Closes: #848692 - capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677 * reportbug/ui/text_ui.py - use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655 * share/{bug, control} - port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749 * reportbug/debbugs.py - add jenkins.debian.org pseudopackage * Extend packaging copyright years Checksums-Sha1: 5e768b1f76117616b0e49dd43bf594a4aa30dcbc 1856 reportbug_7.1.2.dsc 3b2001753a73c1560754d7b33c3fe7a1b472c256 344996 reportbug_7.1.2.tar.bz2 10bd8394a51941e5327f0a207aa2d00c9a23cece
[Reportbug-maint] Bug#848692: marked as done (reportbug fails with punctuation in name)
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848692: fixed in reportbug 7.1.2 has caused the Debian Bug report #848692, regarding reportbug fails with punctuation in name to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- 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 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 ) 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 " 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 apt1.4~beta2 ii python3-reportbug 7.1.1 pn python3:any reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail ii debconf-utils 1.5.59 ii debsums2.1.3 pn dlocate pn emacs23-bin-common | emacs24-bin-common 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 ii gnupg 2.1.16-3 ii python3-gi 3.22.0-2 pn python3-gtkspellcheck ii python3-urwid 1.3.1-2+b1 ii xdg-utils 1.1.1-1 --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with
[Reportbug-maint] Bug#848655: marked as done (reportbug crashes with error "TypeError: * wants int")
Your message dated Thu, 05 Jan 2017 01:33:40 + with message-idand subject line Bug#848655: fixed in reportbug 7.1.2 has caused the Debian Bug report #848655, regarding reportbug crashes with error "TypeError: * wants int" to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 848655: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848655 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: reportbug Version: 7.1.1 Severity: grave Justification: renders package unusable With the new reportbug 7.1.1: [...] Please select a severity level: [normal] 2 You are reporting a grave bug; which of the following criteria does it meet? Traceback (most recent call last): File "/usr/bin/reportbug", line 2233, in main() File "/usr/bin/reportbug", line 1107, in main return iface.user_interface() File "/usr/bin/reportbug", line 1968, in user_interface 'Please select the impact of the bug: ', default='unknown') File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 362, in menu starttext=('%*d %-*.*s ' % (digits, i, maxlen_name, maxlen_name, name))) TypeError: * wants int -- Package-specific info: ** Environment settings: EDITOR="/home/vinc17/bin/eclient" PAGER="less -Lis" VISUAL="/home/vinc17/bin/eclient" EMAIL="vinc...@vinc17.net" INTERFACE="text" ** /home/vinc17/.reportbugrc: reportbug_version "2.10" mode advanced ui text realname "Vincent Lefevre" email "vinc...@vinc17.net" mua mutt cc -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=POSIX, 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 python-reportbug 6.6.6 pn python:any reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail pn debconf-utils ii debsums 2.1.3 ii dlocate 1.07 ii emacs24-bin-common 24.5+1-7+local2 ii file1:5.29-2 ii gnupg 2.1.16-3 ii postfix [mail-transport-agent] 3.1.3-6 ii python-gtk2 2.24.0-5.1 pn python-gtkspellcheck ii python-urwid1.3.1-2+b1 pn python-vte ii xdg-utils 1.1.1-1 Versions of packages python-reportbug depends on: ii apt 1.4~beta2 ii file 1:5.29-2 ii python-debian 0.1.29 ii python-debianbts 2.6.1 pn python:any python-reportbug suggests no packages. -- no debconf information --- End Message --- --- Begin Message --- Source: reportbug Source-Version: 7.1.2 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers Changed-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud;
[Reportbug-maint] reportbug_7.1.2_amd64.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 04 Jan 2017 20:17:13 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.2 Distribution: unstable Urgency: medium Maintainer: Reportbug MaintainersChanged-By: Sandro Tosi Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 848655 848692 849677 849749 Changes: reportbug (7.1.2) unstable; urgency=medium . * reportbug/utils.py - fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud; Closes: #848692 - capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677 * reportbug/ui/text_ui.py - use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655 * share/{bug, control} - port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749 * reportbug/debbugs.py - add jenkins.debian.org pseudopackage * Extend packaging copyright years Checksums-Sha1: 5e768b1f76117616b0e49dd43bf594a4aa30dcbc 1856 reportbug_7.1.2.dsc 3b2001753a73c1560754d7b33c3fe7a1b472c256 344996 reportbug_7.1.2.tar.bz2 10bd8394a51941e5327f0a207aa2d00c9a23cece 126430 python3-reportbug_7.1.2_all.deb cbe534c700441ca91578a0363ecdd22cfa860e21 126354 reportbug_7.1.2_all.deb 0fe11b94eb2c25eda13c53e0b4207d3d3269d146 6082 reportbug_7.1.2_amd64.buildinfo Checksums-Sha256: 7b1a67f8a1b6f60fa8f4f7358ac3b975ca4661c60853266833543af7fe2d5971 1856 reportbug_7.1.2.dsc 9cdbf3fdd1104729a6ae635ec3e7f1bd4dc89a503e5171033f96e6be5403e6ef 344996 reportbug_7.1.2.tar.bz2 fb080dd31dfb60c55d8e3f99b8c26464928150da078eb782b5d82730e4c58446 126430 python3-reportbug_7.1.2_all.deb de48dee3f48accc42305ea0ae4a5031bf4eae9a342605be5a3c77ddeadcc69f1 126354 reportbug_7.1.2_all.deb 9ffe023b5202af265ee933c382e0361154a66d8ec501ac1a753be6e0cba58020 6082 reportbug_7.1.2_amd64.buildinfo Files: 2432af887f781c94c004f5582eabc787 1856 utils standard reportbug_7.1.2.dsc 08ef4351c92dafeb12d58c89a9febd29 344996 utils standard reportbug_7.1.2.tar.bz2 85e9cb3a10a8002a7cd0d74429dce6a9 126430 python standard python3-reportbug_7.1.2_all.deb 8c0ec3067bf71f0313430ad2fab23671 126354 utils standard reportbug_7.1.2_all.deb 11e1b4dc930a8e32971e23f619aab082 6082 utils standard reportbug_7.1.2_amd64.buildinfo -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlhtn5kACgkQh588mTgB qU8fERAAwPEJmatCVvLsKM4c5Lh/OsEelE1+Ryrh94oZeXXMYOxH+P0Mu2bEAdF4 HBYJ1Ii9rAt3dxrc9BlYAQCM4sUhxyBMgCxfGBcWac5K0YMEpNPTgeLCh9UpcGjM Na6RfX3yHdo5hwAiLlnOiIOZBjj9vZIex9rCl7rUTWolvLbYvbLVDq4shzVabNOB kECBlvuZsgIsqgpKxS2vJ3nai+oclK/yEU4OXw8wynIQhaQDRtubCNPoMYDdhvTN B+XgWGfBqAJXN2D1Dl9gih5mcXJjIHMlw1dojIAkd3LjYik0BnBab/mJ5rddkWnJ fYAEWET26mQ8E+s3wsmHSpPGIsv2e8OM7fNxDIQNUqlwYxpwM1XYSvmiXLyqvTzG A/9tRTcLCw8Hc5fYBQDs2kZeEnl4pM8YvG78+BA7UV3XEOrPDW8szKo/+IrT3wfS HOxGk1JIGTAo2JOiNBOU3iFu7bZDlX2YysqzKysVMkg9ukXkvKNw0J6Tacz6JDfU PIGK5NvbZN1v2ngU37dJW6hEOv89TTsVCYt0yaCVZja7g+9jyoEM2ALbgSEtIrsH jn2iXmcA4JX3cg7ox0toc1+dcXqwqHIW51CP0UrWueyWsC84pJNaJhgeMdJSkEEv 2V749JP2b3zvO4U3L3XvhSgH9hzdtwUjJUSfF9utnazSADG2ClA= =dNfE -END PGP SIGNATURE- Thank you for your contribution to Debian. ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Processing of reportbug_7.1.2_amd64.changes
reportbug_7.1.2_amd64.changes uploaded successfully to localhost along with the files: reportbug_7.1.2.dsc reportbug_7.1.2.tar.bz2 python3-reportbug_7.1.2_all.deb reportbug_7.1.2_all.deb reportbug_7.1.2_amd64.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org) ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#849677: [reportbug/master] capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677
tag 849677 pending tag 849677 pending thanks Date: Wed Jan 4 19:51:57 2017 -0500 Author: Sandro TosiCommit ID: 6869191bb7a1e518f86ee05a56f8f2f39ade6e57 Commit URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff;h=6869191bb7a1e518f86ee05a56f8f2f39ade6e57 Patch URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff_plain;h=6869191bb7a1e518f86ee05a56f8f2f39ade6e57 capitalize, not uppercase, ampersend user replacement; patch by Nis Martensen; Closes: #849677 ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#849749: [reportbug/master] port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749
tag 849749 pending tag 849749 pending thanks Date: Wed Jan 4 19:46:54 2017 -0500 Author: Sandro TosiCommit ID: 42181e036d0efe54d73e92ec9f90dec00fea297e Commit URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff;h=42181e036d0efe54d73e92ec9f90dec00fea297e Patch URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff_plain;h=42181e036d0efe54d73e92ec9f90dec00fea297e port bug script and control file to py3k; patch by Nis Martensen; Closes: #849749 ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Processed: [reportbug/master] fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the addr
Processing commands for cont...@bugs.debian.org: > tag 848692 pending Bug #848692 [reportbug] reportbug fails with punctuation in name Bug #849371 [reportbug] reportbug: Version 7.1.1 crashes at launch Bug #849586 [reportbug] reportbug incorrectly short-circuits From address escaping with non-ASCII characters Added tag(s) pending. Added tag(s) pending. Added tag(s) pending. > tag 848692 pending Bug #848692 [reportbug] reportbug fails with punctuation in name Bug #849371 [reportbug] reportbug: Version 7.1.1 crashes at launch Bug #849586 [reportbug] reportbug incorrectly short-circuits From address escaping with non-ASCII characters Ignoring request to alter tags of bug #848692 to the same tags previously set Ignoring request to alter tags of bug #849371 to the same tags previously set Ignoring request to alter tags of bug #849586 to the same tags previously set > thanks Stopping processing here. Please contact me if you need assistance. -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 849371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849371 849586: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849586 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Processed: reassign 849564 to reportbug, severity of 849564 is important, forcibly merging 848692 849564
Processing commands for cont...@bugs.debian.org: > reassign 849564 reportbug Bug #849564 [python3-reportbug] python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils' Bug reassigned from package 'python3-reportbug' to 'reportbug'. No longer marked as found in versions reportbug/7.1.1. Ignoring request to alter fixed versions of bug #849564 to the same values previously set > severity 849564 important Bug #849564 [reportbug] python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils' Ignoring request to change severity of Bug 849564 to the same value. > forcemerge 848692 849564 Bug #848692 [reportbug] reportbug fails with punctuation in name Bug #849371 [reportbug] reportbug: Version 7.1.1 crashes at launch Bug #849586 [reportbug] reportbug incorrectly short-circuits From address escaping with non-ASCII characters Bug #849564 [reportbug] python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils' Removed indication that 849564 affects reportbug Marked as found in versions reportbug/6.6.6 and reportbug/7.1.1. Added tag(s) patch and pending. Bug #849371 [reportbug] reportbug: Version 7.1.1 crashes at launch Bug #849586 [reportbug] reportbug incorrectly short-circuits From address escaping with non-ASCII characters Merged 848692 849371 849564 849586 > thanks Stopping processing here. Please contact me if you need assistance. -- 848692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848692 849371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849371 849564: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849564 849586: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849586 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#848655: [reportbug/master] use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655
tag 848655 pending tag 848655 pending thanks Date: Wed Jan 4 19:40:33 2017 -0500 Author: Sandro TosiCommit ID: ca3f62a98591d24c2b1600a88fed692c3f6b4317 Commit URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff;h=ca3f62a98591d24c2b1600a88fed692c3f6b4317 Patch URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff_plain;h=ca3f62a98591d24c2b1600a88fed692c3f6b4317 use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655 ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#848692: [reportbug/master] fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the add
tag 848692 pending tag 848692 pending thanks Date: Wed Jan 4 19:18:56 2017 -0500 Author: Sandro TosiCommit ID: e5dc19b88f1e2a5e99a507fbc21505b44af2ff7e Commit URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff;h=e5dc19b88f1e2a5e99a507fbc21505b44af2ff7e Patch URL: http://anonscm.debian.org/gitweb/?p=reportbug/reportbug.git;a=commitdiff_plain;h=e5dc19b88f1e2a5e99a507fbc21505b44af2ff7e fix the 'email' name clash in reportbug.utils functions by renaming their arguments to 'emailaddr', this fixes names with special characters in the address; patch by Didier 'OdyX' Raboud; Closes: #848692 ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Processed: [reportbug/master] use integer division when computing the max length for a name; suggestion by Ben Longbons; Closes: #848655
Processing commands for cont...@bugs.debian.org: > tag 848655 pending Bug #848655 [reportbug] reportbug crashes with error "TypeError: * wants int" Bug #849243 [reportbug] reportbug: TypeError: * wants int Added tag(s) pending. Added tag(s) pending. > tag 848655 pending Bug #848655 [reportbug] reportbug crashes with error "TypeError: * wants int" Bug #849243 [reportbug] reportbug: TypeError: * wants int Ignoring request to alter tags of bug #848655 to the same tags previously set Ignoring request to alter tags of bug #849243 to the same tags previously set > thanks Stopping processing here. Please contact me if you need assistance. -- 848655: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848655 849243: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849243 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#849586: reportbug incorrectly short-circuits From address escaping with non-ASCII characters
control: forcemerge 848692 -1 On Wed, Dec 28, 2016 at 5:53 PM, Russ Allberywrote: > > if re.match(r'[\w\s]+$', realname): > return '%s <%s>' % (realname, email) > > addr = email.utils.formataddr((realname, email)) > > I suspect this worked fine in Python 2, since this regex doesn't use > the UNICODE flag. However, in Python 3, I believe regexes are str > types by default and therefore Unicode by default, so this will match > non-ASCII characters, short-circuit this logic, and never call > formataddr. > > I'm not sure the original motivation for the short-circuit here, but > I suspect just removing the re.match conditional and unconditionally > calling email.utils.formataddr will produce the correct behavior. i just did exactly that as part of 848692 (hence the merge) -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
[Reportbug-maint] Bug#848692: reportbug fails with punctuation in name
On Wed, Dec 21, 2016 at 9:24 PM, brian m. carlsonwrote: > The issue is this code: > > if re.match(r'[\w\s]+ > , realname): > return '%s <%s>' % (realname, email) > > addr = email.utils.formataddr((realname, email)) > > We don't take the branch since “.” (and “'”, etc.) are not in [\w\s], > and then we throw an exception as email is not the module imported at > the top, but the local variable. I just removed that first if, as email.utils.formataddr() is more than able to deal with all the special cases, we dont need to do that too, thx! -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi ___ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint