[Reportbug-maint] Bug#664728: reportbug: Traceback when trying to report bug on 'non-existant' package for ftp.debian.org

Scott Kitterman debian at kitterman.com
Tue Mar 20 11:17:07 UTC 2012

Package: reportbug
Version: 5.1.1ubuntu1
Severity: normal

$ reportbug ftp.debian.org
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Warning: no reportbug configuration found.  Proceeding in standard mode.
*** 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 'Scott Kitterman <debian at kitterman.com>' as your from address.
Getting status for ftp.debian.org...
Will send report to Debian (per request).
What sort of request is this? (If none of these things mean anything to you, or you are trying to report a bug in an existing package, please press Enter to exit reportbug.)

 1 ANAIS     Package removal - Architecture Not Allowed In Source.
 2 ICE       Package removal - Internal Compiler Error.
 3 NBS       Package removal - Not Built [by] Source.
 4 NPOASR    Package removal - Never Part Of A Stable Release.
 5 NVIU      Package removal - Newer Version In Unstable.
 6 ROM       Package removal - Request Of Maintainer.
 7 ROP       Package removal - Request of Porter.
 8 ROSRM     Package removal - Request of Stable Release Manager.
 9 RoQA      Package removal - Requested by the QA team.
10 other     Not a package removal request, report other problems.
11 override  Change override request.

Choose the request type: 11
Please enter the name of the package: python-milter-docs
Checking status database...
This package doesn't appear to exist; continue? [y|N|?]? y
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2159, in <module>
  File "/usr/bin/reportbug", line 1072, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1652, in user_interface
    res = special_prompts(package, bts, ui, fromaddr, self.options.timeout)
  File "/usr/bin/reportbug", line 516, in special_prompts
    return pkgprompts(package, bts, ui, fromaddr, timeout)
  File "/usr/lib/pymodules/python2.7/reportbug/debianbts.py", line 283, in handle_debian_ftp
    }, 'Choose the section: ', default=section, empty_ok=True)
UnboundLocalError: local variable 'section' referenced before assignment

-- Package-specific info:
** Environment settings:
DEBEMAIL="scott at kitterman.com"

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-16-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, 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.8.16~exp5ubuntu13.2 APT's commandline package manager
ii  python             2.7.2-7ubuntu2        interactive high-level object-orie
ii  python-reportbug   5.1.1ubuntu1          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)
pn  emacs22-bin-common |  <none>             (no description available)
ii  file                  5.04-5ubuntu3      Determines file type using "magic"
ii  gnupg                 1.4.11-3ubuntu1    GNU privacy guard - a free PGP rep
ii  postfix [mail-transpo 2.8.5-2~build1     High-performance mail transport ag
ii  python-gtk2           2.24.0-2           Python bindings for the GTK+ widge
pn  python-gtkspell       <none>             (no description available)
pn  python-urwid          <none>             (no description available)
pn  python-vte            <none>             (no description available)
ii  xdg-utils             1.1.0~rc1-2ubuntu6 desktop integration utilities from

-- Configuration Files:
/etc/reportbug.conf changed [not included]

-- no debconf information

More information about the Reportbug-maint mailing list