[Reportbug-maint] Bug#694634: reportbug dies on "Querying Debian BTS ..." in case of server error

Antoine Beaupré anarcat at debian.org
Tue Nov 10 16:15:14 UTC 2015

Package: reportbug
Version: 6.6.3
Followup-For: Bug #694634

I can reproduce this:

[997]anarcat at angela:~$ reportbug 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 '"Antoine Beaupré" <anarcat at debian.org>' as your from address.
Will send report to Debian (per lsb_release).
What sort of request is this? (If none of these things mean anything to you, or you are trying to report a bug in an existing package, please press
Enter to exit reportbug.)

1 ITP  This is an `Intent To Package'. Please submit a package description along with copyright and URL in such a report.
2 O    The package has been `Orphaned'. It needs a new maintainer as soon as possible.
3 RFA  This is a `Request for Adoption'. Due to lack of time, resources, interest or something similar, the current maintainer is asking for someone
       else to maintain this package. They will maintain it in the meantime, but perhaps not in the best possible way. In short: the package needs a
       new maintainer.
4 RFH  This is a `Request For Help'. The current maintainer wants to continue to maintain this package, but they needs some help to do this, because
       their time is limited or the package is quite big and needs several maintainers.
5 RFP  This is a `Request For Package'. You have found an interesting piece of software and would like someone else to maintain it for Debian. Please
       submit a package description along with copyright and URL in such a report.

Choose the request type: 5
Please enter the proposed package name: muchsync
Checking status database...
Please briefly describe this package; this should be an appropriate short description for the eventual package:
> synchronize maildirs and notmuch databases
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 179, in get_status
    reply = server.get_status(*nr)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 545, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 567, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 430, in __call
    timeout = self.timeout)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 318, in call
    raise HTTPError(code, msg)
SOAPpy.Errors.HTTPError: <HTTPError 500 Internal Server Error>

The workaround is, of course, to use the `-b` flag and lookup the bug
list on the web interface (which worked during my tests).

-- Package-specific info:
** Environment settings:
DEBEMAIL="anarcat at debian.org"
DEBFULLNAME="Antoine Beaupré"

** /home/anarcat/.reportbugrc:
reportbug_version "4.12.6"
mode expert
ui text
email "anarcat at debian.org"

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

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

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf-utils                   1.5.56
pn  debsums                         <none>
ii  dlocate                         1.02+nmu3
ii  emacs24-bin-common              24.4+1-5
ii  file                            1:5.22+15-2
ii  gnupg                           1.4.18-7
ii  postfix [mail-transport-agent]  2.11.3-1
ii  python-gtk2                     2.24.0-4
pn  python-gtkspell                 <none>
pn  python-urwid                    <none>
ii  python-vte                      1:0.28.2-5
ii  xdg-utils                       1.1.0~rc1+git20111210-7.4

Versions of packages python-reportbug depends on:
ii  apt     
ii  python-debian     0.1.27
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