Package: python-debianbts Version: 1.12 Severity: normal When I attempt to submit a bug report with ‘reportbug’ against the ‘wnpp’ package, it first queries the BTS using ‘python-debianbts’. This query crashes:
===== $ reportbug --severity wishlist --subject "RFP: devpi -- PyPI-compatible package server" wnpp *** 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 'Ben Finney <ben+deb...@benfinney.id.au>' as your from address. Will send report to Debian (per lsb_release). Querying Debian BTS for reports on wnpp (source)... Traceback (most recent call last): File "/usr/bin/reportbug", line 2211, in <module> main() File "/usr/bin/reportbug", line 1081, in main return iface.user_interface() File "/usr/bin/reportbug", line 1703, in user_interface latest_first=self.options.latest_first) 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 bugs.append(_parse_status(elem)) 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 ===== The same did not happen for this use of ‘reportbug’ (for this bug report), so I assume there is something about the query to the ‘wnpp’ package's reports which triggers this behaviour. -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing'), (200, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-debianbts depends on: ii python 2.7.8-3 ii python-soappy 0.12.22-1 ii python-support 1.0.15 python-debianbts recommends no packages. python-debianbts suggests no packages. -- no debconf information -- \ “If trees could scream, would we be so cavalier about cutting | `\ them down? We might, if they screamed all the time, for no good | _o__) reason.” —Jack Handey | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: Digital signature