[Reportbug-maint] Bug#559065: reportbug: dies with "IndexError: list index out of range"

Laurent Fousse laurent at komite.net
Tue Dec 1 16:19:27 UTC 2009

Package: reportbug
Version: 4.9
Severity: normal


Here is a partial transcript of my attempt at reporting a bug against

    lfousse at bourrasque:~% reportbug -M eglibc
    Warning: no reportbug configuration found.  Proceeding in novice mode.
    Detected character set: UTF-8
    Please change your locale if this is incorrect.

    Using 'Laurent Fousse <laurent at komite.net>' as your from address.
    Getting status for eglibc...
    Which of the following packages is the bug in?
    Just press ENTER to exit reportbug.

     1 eglibc-source   Embedded GNU C Library: sources
     2 glibc-doc       GNU C Library: Documentation
     3 libc-bin        GNU C Library: Binaries
     4 libc-dev-bin    GNU C Library: Development binaries
     5 libc6           GNU C Library: Shared libraries
     6 libc6-dbg       GNU C Library: detached debugging symbols
     7 libc6-dev       GNU C Library: Development Libraries and Header Files
     8 libc6-dev-i386  GNU C Library: 32-bit development libraries for AMD64
     9 libc6-i386      GNU C Library: 32-bit shared libraries for AMD64
    10 libc6-pic       GNU C Library: PIC archive library
    11 libc6-prof      GNU C Library: Profiling Libraries
    12 locales         GNU C Library: National Language (locale) data [support]
    13 locales-all     GNU C Library: Precompiled locale data
    14 nscd            GNU C Library: Name Service Cache Daemon
    15 eglibc          Source package

    Select one of these packages: 15
    Please enter the version of the package this report applies to (blank OK)
    > 2.10.2-2
    Will send report to Debian (per lsb_release).
    Querying Debian BTS for reports on eglibc (source)...
    367 bug reports found:
    (1-36/367) Is the bug you found listed above [y|N|b|m|r|q|s|f|?]? 556884
    Retrieving report #556884 from Debian bug tracking system...
    Traceback (most recent call last):
      File "/usr/bin/reportbug", line 1987, in <module>
      File "/usr/bin/reportbug", line 958, in main
	return iface.user_interface()
      File "/usr/bin/reportbug", line 1530, in user_interface
      File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 568, in handle_bts_query
	mirrors, http_proxy, screen, title, package)
      File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 722, in browse_bugs
      File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 409, in show_report
	foundpackage = info[1][0].split('Package: ')[1].split('\n')[0]
    IndexError: list index out of range



-- Package-specific info:
** Environment settings:
DEBEMAIL="Laurent Fousse <laurent at komite.net>"

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.24     Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.9        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  exim4                         4.69-11    metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-11+b1 lightweight Exim MTA (v4) daemon
ii  file                          5.03-3     Determines file type using "magic"
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep
ii  python-gtk2                   2.16.0-1   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.22.5-1 Python bindings for the VTE widget
ii  xdg-utils                     1.0.2-6.1  desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list