[Reportbug-maint] Bug#594177: reportbug crashes

Erik de Castro Lopo erikd at mega-nerd.com
Tue Aug 24 10:44:59 UTC 2010

Package: reportbug
Version: 4.12.6
Severity: important

Simple 'reportbug <anything>' results in:

    Getting status for reportbug...
    Verifying package integrity...
    Checking for newer versions at packages.debian.org, 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 reportbug (source)...
    Traceback (most recent call last):
      File "/usr/bin/reportbug", line 2098, in <module>
      File "/usr/bin/reportbug", line 1045, in main
        return iface.user_interface()
      File "/usr/bin/reportbug", line 1629, in user_interface
      File "/usr/lib/pymodules/python2.6/reportbug/ui/text_ui.py", line 552, in handle_bts_query
        for entry in hierarchy:
    TypeError: 'NoneType' object is not iterable

Real rough hack of a fix, before line 552 of "/usr/lib/pymodules/python2.6/reportbug/ui/text_ui.py"
add the lines:

        if hierarchy == None:
            hierarchy = []

That was enough to let me report this bug.

-- Package-specific info:
** Environment settings:
DEBEMAIL="erikd at mega-nerd.com"
EMAIL="erikd at mega-nerd.com"
DEBFULLNAME="Erik de Castro Lopo"

** /home/erikd/.reportbugrc:
mode expert

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.6.5-11   interactive high-level object-orie
ii  python-reportbug              4.12.6     Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils        <none>              (no description available)
ii  debsums              2.0.48+nmu1         tool for verification of installed
pn  dlocate              <none>              (no description available)
pn  emacs22-bin-common | <none>              (no description available)
ii  file                 5.04-5              Determines file type using "magic"
ii  gnupg                1.4.10-4            GNU privacy guard - a free PGP rep
ii  postfix [mail-transp 2.7.1-1             High-performance mail transport ag
ii  python-gtk2          2.17.0-4            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.3-1          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list