Bug#1024685: reportbug: Crash on dep lookup (ValueError: Format specifier missing precision)
Package: reportbug
Version: 7.10.3+deb11u1
Severity: important
Dear Maintainer,
Reportbug crashes on my freshly installed Debian 11 system when trying to report a bug. I tried this two times (initial configuration and second attempt) and it failed twice at the same spot. See log below of the second attempt.
$ reportbug
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-user@lists.debian.org for assistance.
> roundcube
*** 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 'Bas Mevissen <abuse@basmevissen.nl>' as your from address.
Getting status for roundcube...
Checking for newer versions at madison...
Your version (1.4.13+dfsg.1-1~deb11u1) of roundcube appears to be out of date.
The following newer release(s) are available in the Debian archive:
testing: 1.6.0+dfsg-1.1
unstable: 1.6.0+dfsg-1.1
Please try to verify if the bug you are about to report is already addressed by these releases. Do you still want to file a report [y|N|q|?]? y
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on roundcube src:roundcube...
8 bug reports found:
Bugs with severity normal
1) #618699 roundcube-core: after disabling all web servers the symlinks should be removed
2) #619411 roundcube-core: program/include/iniset.php should not alter INSTALL_PATH constant
3) #641186 apt-get install roundcube webmail fails to fetch required dependency in debian squeeze
4) #985866 roundcube-core: broken symlink: /usr/share/roundcube/skins/elastic/deps/less.min.js -> ../../../../javascript/less/le
Bugs with severity minor
5) #609878 roundcube-core should suggest php-mdb2-driver-mysql and php-mdb2-driver-pgsql
6) #612142 roundcube-core: Missing dependence : php5-cgi roundcube not work without
Bugs with severity wishlist
7) #655595 roundcube: split /etc/roundcube/main.inc.php or provide includes/include directory
8) #964599 roundcube: upgrade overwrites local style customization
(1-8/8) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? n
Maintainer for roundcube is 'Debian Roundcube Maintainers <pkg-roundcube-maintainers@alioth-lists.debian.net>'.
Looking up dependencies of roundcube...
Getting status for related package roundcube-core...
Looking up 'depends' of related package roundcube-core...
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2381, in <module>
main()
File "/usr/bin/reportbug", line 1120, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1876, in user_interface
depinfo += utils.get_dependency_info(extrapackage, extradepends)
File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 731, in get_dependency_info
info = '{0:3.3} {1:{widthp}.{widthp}} {2:{widthv}.{widthv}}'.format(
ValueError: Format specifier missing precision
Can you please take a look?
Many thanks in advance,
Bas.
-- Package-specific info:
** Environment settings:
INTERFACE="text"
** /home/bas/.reportbugrc:
reportbug_version "7.10.3+deb11u1"
mode novice
ui text
realname "Bas Mevissen"
email "abuse@basmevissen.nl"
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-19-cloud-amd64 (SMP w/1 CPU thread)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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.2.4
ii python3 3.9.2-3
ii python3-reportbug 7.10.3+deb11u1
ii sensible-utils 0.0.14
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs-bin-common <none>
ii file 1:5.39-3
ii gnupg 2.2.27-2+deb11u2
ii postfix [mail-transport-agent] 3.5.13-0+deb11u1
pn python3-urwid <none>
pn reportbug-gtk <none>
pn xdg-utils <none>
Versions of packages python3-reportbug depends on:
ii apt 2.2.4
ii file 1:5.39-3
ii python3 3.9.2-3
ii python3-apt 2.2.1
ii python3-debian 0.1.39
ii python3-debianbts 3.1.0
ii python3-requests 2.25.1+dfsg-2
ii sensible-utils 0.0.14
python3-reportbug suggests no packages.
-- no debconf information
Reply to: