[Reportbug-maint] Bug#562853: reportbug crashes when canceling mailer choice

Elie Roux elie.roux at telecom-bretagne.eu
Mon Dec 28 14:43:17 UTC 2009

Package: reportbug
Version: 4.9
Severity: normal

reportbug crashes when I follow these steps: 
 - reportbug
 - make a beautiful bugreport (I tried on texlive-luatex)
 - at the choice of the end, choose "Choose a mailer to edit the report"
 - on my computer nothing is checked by default, so I guess unchecking everything does the same
 - "Cancel"

(the bug does not appear if I "Ok")

The output is:

eroux at norgz-laptop:~$ reportbug

Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Elie Roux <elie.roux at enst-bretagne.fr>' as your from address.
Getting status for texlive-luatex...
Checking for newer versions at packages.debian.org...
Will send report to Debian (per lsb_release).

Maintainer for texlive-luatex is 'Debian TeX Maintainers <debian-tex-maint at lists.debian.org>'.
Looking up dependencies of texlive-luatex...
Getting status for related package tex-common...
Looking up dependencies of related package tex-common...
Looking up status of additional packages...

Rewriting subject to 'texlive-luatex: prout'

Please read and follow the instructions in the first lines below
the text: "-- Package-specific info:".
Thank you.

Press ENTER to continue

Spawning sensible-editor...
No changes were made in the editor.
Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>

Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>

Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>

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 1926, in user_interface
    severity, charset=charset, tags=tags)
  File "/usr/bin/reportbug", line 274, in handle_editing
    if not utils.mua_exists(utils.MUA[mailer]):
KeyError: -1

Thank you.

-- Package-specific info:
** Environment settings:

** /home/eroux/.reportbugrc:
reportbug_version "3.39"
mode standard
ui urwid
realname "Elie Roux"
email "elie.roux at telecom-bretagne.eu"
smtphost smtp.googlemail.com:587
smtpuser "roux.elie at gmail.com"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32norgz (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.25     Advanced front-end for dpkg
ii  python                        2.5.4-5    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.71-2     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.71-2     lightweight Exim MTA (v4) daemon
ii  file                          5.03-5     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
ii  python-gtk2                   2.16.0-1   Python bindings for the GTK+ widge
ii  python-gtkspell               2.25.3-4.1 Python bindings for the GtkSpell l
ii  python-urwid                  0.9.9-2    curses-based UI/widget library for
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