[Reportbug-maint] Bug#848655: reportbug crashes with error "TypeError: * wants int"
Ben Longbons
brlongbons at gmail.com
Mon Dec 19 16:09:14 UTC 2016
Package: reportbug
Version: 7.1.1
Followup-For: Bug #848655
Dear Maintainer,
I suspect the problem is this line:
maxlen_name = min(max(list(map(len, allowed))), columns / 3)
Since in Python3, / returns a float. Use // instead.
-- Package-specific info:
** Environment settings:
PAGER="less"
INTERFACE="text"
** /home/ben/.reportbugrc:
reportbug_version "5.1.1"
mode standard
ui text
email "brlongbons at gmail.com"
smtphost smtp.gmail.com:587
smtpuser "brlongbons at gmail.com"
smtptls
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32, arm64
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 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>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs23-bin-common | emacs24-bin-common <none>
ii exim4 4.88~RC6-1
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
ii gir1.2-vte-2.91 0.46.1-1
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
-- no debconf information
More information about the Reportbug-maint
mailing list