[Reportbug-maint] Bug#661606: UnboundLocalError: local variable 'section' referenced before assignment

Michael Biebl biebl at debian.org
Tue Feb 28 13:47:40 UTC 2012


Package: reportbug
Version: 6.3.1
Severity: important

When trying to file a bug report against ftp.debian.org, type 11
(override request), reportbug crashes:

$ 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 'Michael Biebl <biebl 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: network-manager-kde
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="biebl at debian.org"
DEBFULLNAME="Michael Biebl"
INTERFACE="text"

** /home/michael/.reportbugrc:
reportbug_version "3.35"
mode expert
ui text
realname "Michael Biebl"
email "biebl at debian.org"

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

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (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                                    2.0.51
ii  dlocate                                    <none>
ii  emacs23-bin-common                         23.3+1-5
ii  exim4                                      4.77-1
ii  exim4-daemon-light [mail-transport-agent]  4.77-1+b1
ii  file                                       5.10-1
ii  gnupg                                      1.4.11-3
ii  python-gtk2                                2.24.0-3
ii  python-gtkspell                            <none>
ii  python-urwid                               <none>
ii  python-vte                                 <none>
ii  xdg-utils                                  1.1.0~rc1+git20111210-6

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





More information about the Reportbug-maint mailing list