[Reportbug-maint] Bug#779231: TypeError: coercing to Unicode: need string or buffer, int found

Josh Triplett josh at joshtriplett.org
Wed Feb 25 18:37:14 UTC 2015

Package: reportbug
Version: 6.6.3
Severity: important

Got this when using "reportbug wnpp":

Querying Debian BTS for reports on wnpp (source)...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2211, in <module>
  File "/usr/bin/reportbug", line 1081, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1703, in user_interface
  File "/usr/lib/python2.7/dist-packages/reportbug/ui/text_ui.py", line 517, in handle_bts_query
    source=source, http_proxy=http_proxy, archived=archived)
  File "/usr/lib/python2.7/dist-packages/reportbug/debbugs.py", line 1275, in get_reports
    stats = debianbts.get_status(bugs)
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 188, in get_status
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 268, in _parse_status
    bug.owner = _uc(tmp['owner'])
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 298, in _uc
    return unicode(string, 'utf-8', 'replace')
TypeError: coercing to Unicode: need string or buffer, int found

-- Package-specific info:
** Environment settings:
DEBEMAIL="josh at joshtriplett.org"
EMAIL="josh at joshtriplett.org"
DEBFULLNAME="Josh Triplett"
NAME="Josh Triplett"

** /home/josh/.reportbugrc:
reportbug_version "3.21.2"
mode expert
ui text
header "X-Debbugs-CC: josh at joshtriplett.org"
smtphost reportbug.debian.org:587
header "X-Debbugs-No-Ack: ack!"

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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     
ii  python            2.7.8-3
ii  python-reportbug  6.6.3
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                              <none>
pn  debconf-utils                           <none>
ii  debsums                                 2.0.52+nmu3
pn  dlocate                                 <none>
ii  emacs24-bin-common                      24.4+1-4.1
ii  file                                    1:5.22+15-1
ii  gnupg                                   1.4.18-6
pn  postfix | exim4 | mail-transport-agent  <none>
ii  python-gtk2                             2.24.0-4
pn  python-gtkspell                         <none>
pn  python-urwid                            <none>
pn  python-vte                              <none>
ii  xdg-utils                               1.1.0~rc1+git20111210-7.3

Versions of packages python-reportbug depends on:
ii  apt     
ii  python-debian     0.1.25
ii  python-debianbts  1.12
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information

More information about the Reportbug-maint mailing list