[Reportbug-maint] Bug#622338: TypeError: 'NoneType' object is not iterable
Erik de Castro Lopo
erikd at mega-nerd.com
Tue Apr 12 09:02:11 UTC 2011
Package: reportbug
Version: 5.0
Severity: normal
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 linux-2.6 (source)...
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2127, in <module>
main()
File "/usr/bin/reportbug", line 1052, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1645, in user_interface
self.options.mbox_reader_cmd)
File "/usr/lib/pymodules/python2.6/reportbug/ui/text_ui.py", line 572, in handle_bts_query
for entry in hierarchy:
TypeError: 'NoneType' object is not iterable
Thius can be very easily fixed by adding:
if hierarch == None:
heirarchy = []
just before:
for entry in hierarchy:
-- Package-specific info:
** Environment settings:
EDITOR="gedit"
VISUAL="gedit"
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: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-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 0.8.13.1 Advanced front-end for dpkg
ii python 2.6.6-12 interactive high-level object-orie
ii python-reportbug 5.0 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+nmu3 tool for verification of installed
pn dlocate <none> (no description available)
pn emacs22-bin-common | emacs23 <none> (no description available)
ii file 5.04-5 Determines file type using "magic"
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii postfix [mail-transport-agen 2.8.2-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-2 Python bindings for the VTE widget
ii xdg-utils 1.1.0~rc1-2 desktop integration utilities from
-- no debconf information
More information about the Reportbug-maint
mailing list