[Reportbug-maint] Bug#658748: reportbug: Exception when filing override request for uninstalled package

James McCoy jamessan at debian.org
Sun Feb 5 19:18:06 UTC 2012


Package: reportbug
Version: 6.3.1
Severity: normal

This looks like it's related to #599290, but I'm filing a distinct bug since
this scenario causes a traceback.

┌────────────────────────────
│$ reportbug ftp.debian.org
│ *** 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 'James McCoy <jamessan at debian.org>' as your from address.
│ Will send report to Debian (per lsb_release).
│ 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: vim-lesstif
│ Checking status database...
│ This package doesn't appear to exist; continue? [y|N|?]? y
│ Traceback (most recent call last):
│   File "/usr/bin/reportbug", line 2199, in <module>
│     main()
│   File "/usr/bin/reportbug", line 1077, in main
│     return iface.user_interface()
│   File "/usr/bin/reportbug", line 1674, in user_interface
│     self.options.http_proxy)
│   File "/usr/bin/reportbug", line 513, in special_prompts
│     return pkgprompts(package, bts, ui, fromaddr, timeout, online, http_proxy)
│   File "/usr/lib/pymodules/python2.7/reportbug/debbugs.py", line 288, 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="jamessan at debian.org"
DEBFULLNAME="James McCoy"
INTERFACE="text"

** /home/jamessan/.reportbugrc:
reportbug_version "6.3.1"
mode advanced
ui text

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

Kernel: Linux 3.2.0-1-amd64 (SMP w/8 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.15.9
ii  python            2.7.2-10
ii  python-reportbug  6.3.1

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                   <none>
ii  debsums                         <none>
ii  dlocate                         <none>
ii  emacs23-bin-common              23.3+1-5
ii  file                            5.09-2
ii  gnupg                           1.4.11-3
ii  postfix [mail-transport-agent]  2.8.7-1
ii  python-gtk2                     2.24.0-2
ii  python-gtkspell                 <none>
ii  python-urwid                    <none>
ii  python-vte                      <none>
ii  xdg-utils                       1.1.0~rc1+git20111210-5

Versions of packages python-reportbug depends on:
ii  apt               0.8.15.9
ii  python            2.7.2-10
ii  python-debian     0.1.21
ii  python-debianbts  1.10
ii  python-support    1.0.14

python-reportbug suggests no packages.

-- no debconf information

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>





More information about the Reportbug-maint mailing list