Bug#964987: reportbug: Error when filing a report with release.debian.org for buster-pu
Package: reportbug
Version: 7.7.0
Severity: normal
Tags: patch
X-Debbugs-Cc: anuradha@debian.org
I was attempting to file a report with release.debian.org for a
buster-pu and got an error, transcript below:
Choose the request type: 3
Please enter the name of the package: ksh
Checking status database...
Latest version seems to be 93u+20120801-3.4, is this the proper one ?
[Y|n|?]? y
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2302, in <module>
main()
File "/usr/bin/reportbug", line 1107, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1709, in user_interface
res = special_prompts(package, bts, ui, fromaddr,
File "/usr/bin/reportbug", line 531, in special_prompts
return pkgprompts(package, bts, ui, fromaddr, timeout, online, http_proxy)
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 613, in handle_debian_release
body = textwrap.dedent("""\
TypeError: not all arguments converted during string formatting
I've attached a patch to /usr/lib/python3/dist-packages/reportbug/debbugs.py
that I used to work around.
-- Package-specific info:
** Environment settings:
EDITOR="vi"
PAGER="less"
VISUAL="vi"
DEBEMAIL="anuradha@debian.org"
DEBFULLNAME="Anuradha Weeraman"
INTERFACE="text"
** /home/anuradha/.reportbugrc:
reportbug_version "7.7.0"
mode advanced
ui text
no-cc
list-cc-me
smtphost reportbug.debian.org
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.8 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages reportbug depends on:
ii apt 2.1.7
ii python3 3.8.2-3
ii python3-reportbug 7.7.0
ii sensible-utils 0.0.12+nmu1
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
ii debsums 3.0.0
pn default-mta | postfix | exim4 | mail-transport-agent <none>
pn dlocate <none>
pn emacs-bin-common <none>
ii file 1:5.38-5
ii gnupg 2.2.20-1
ii python3-urwid 2.1.0-4
pn reportbug-gtk <none>
ii xdg-utils 1.1.3-2
Versions of packages python3-reportbug depends on:
ii apt 2.1.7
ii file 1:5.38-5
ii python3 3.8.2-3
ii python3-apt 2.1.3
ii python3-debian 0.1.37
ii python3-debianbts 3.0.2
ii python3-requests 2.23.0+dfsg-2
ii sensible-utils 0.0.12+nmu1
python3-reportbug suggests no packages.
-- no debconf information
--- debbugs.py.old 2020-07-13 18:59:58.431958248 -0400
+++ debbugs.py.new 2020-07-13 19:00:12.999697479 -0400
@@ -641,7 +641,7 @@
[ Other info ]
(Anything else the release team should know.)
- """ % (package, package, version))
+ """)
elif tag == 'rm':
subject = 'RM: %s/%s' % (package, version)
body = '(explain the reason for the removal here)\n'
Reply to: