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

Vincent Lefevre vincent at vinc17.net
Wed Nov 28 15:13:20 UTC 2012


Package: reportbug
Version: 6.4.3
Severity: normal

reportbug dies on "Querying Debian BTS ..." in case of server error.
It should handle errors more gracefully.

xvii:~> reportbug gnupg
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
*** 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 'Vincent Lefevre <vincent at vinc17.net>' as your from address.
Getting status for gnupg...
Verifying package integrity...
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on gnupg (source)...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2206, in <module>
    main()
  File "/usr/bin/reportbug", line 1080, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1702, in user_interface
    latest_first=self.options.latest_first)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py", line 517, in handle_bts_query
    source=source, http_proxy=http_proxy, archived=archived)
  File "/usr/lib/pymodules/python2.7/reportbug/debbugs.py", line 1258, in get_reports
    bugs = debianbts.get_bugs(pkg_filter, package)
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 230, in get_bugs
    reply = server.get_bugs(*key_value)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 470, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 492, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 363, in __call
    config = self.config)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 252, in call
    raise HTTPError(code, msg)
SOAPpy.Errors.HTTPError: <HTTPError 500 Internal Server Error>
zsh: exit 1     reportbug --draftpath=/home/vinc17/.reportbug gnupg

-- Package-specific info:
** Environment settings:
EDITOR="emacs"
VISUAL="emacs"
EMAIL="vincent at vinc17.net"
INTERFACE="text"

** /home/vinc17/.reportbugrc:
reportbug_version "2.10"
mode advanced
ui text
realname "Vincent Lefevre"
email "vincent at vinc17.net"
mua mutt
cc

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt               0.9.7.6
ii  python            2.7.3-3
ii  python-reportbug  6.4.3

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
pn  debconf-utils                   <none>
ii  debsums                         2.0.52
ii  dlocate                         1.02
ii  emacs23-bin-common              23.4+1-4
ii  file                            5.11-2
ii  gnupg                           1.4.12-6
ii  postfix [mail-transport-agent]  2.9.3-2.1
ii  python-gtk2                     2.24.0-3
ii  python-gtkspell                 2.25.3-12
pn  python-urwid                    <none>
pn  python-vte                      <none>
ii  xdg-utils                       1.1.0~rc1+git20111210-6

Versions of packages python-reportbug depends on:
ii  apt               0.9.7.6
ii  python            2.7.3-3
ii  python-debian     0.1.21+nmu2
ii  python-debianbts  1.11
ii  python-support    1.0.15

python-reportbug suggests no packages.

-- no debconf information



More information about the Reportbug-maint mailing list