[Reportbug-maint] Bug#580284: reportbug: "NameError: global name 'options' is not defined" when reporting FTBS
Jan Braun
janbraun at gmx.net
Tue May 4 23:35:54 UTC 2010
Package: reportbug
Version: 4.12.1
Severity: normal
Tags: patch
Hi,
reportbug fails when trying to call checkbuildd.check_built() while
reporting a FTBS bug. Trivial patch is attached.
regards,
Jan
$ reportbug pal
*** Welcome to reportbug. Use ? for help at prompts. ***
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Jan Braun <janbraun at gmx.net>' as your from address.
Getting status for pal...
Verifying package integrity...
Checking for newer versions at packages.debian.org...
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on pal (source)...
3 bug reports found:
Outstanding bugs -- Wishlist items; Patch Available (1 bug)
1) #566843 fix pal to not wake up ten times a second in interactive mode
Outstanding bugs -- Wishlist items; Unclassified (2 bugs)
2) #503851 please provide a simple howto with example commands and files used
3) #572142 new date formats: MON-FRI, WORKDAILY, WEEKEND
(1-3/3) Is the bug you found listed above [y|N|b|m|r|q|s|f|?]?
Maintainer for pal is 'Carsten Hey <carsten at debian.org>'.
Looking up dependencies of pal...
Getting changed configuration files...
Please briefly describe your problem (max. 100 characters allowed; you can elaborate in a moment).
This will be the bug email subject, so write a concise summary of what is wrong with the package,
for example, "fails to send email" or "does not start with -q option specified" (type Ctrl+c to
exit).
> foo
Rewriting subject to 'pal: foo'
How would you rate the severity of this problem or report?
1 critical makes unrelated software on the system (or the whole system) break, or causes
serious data loss, or introduces a security hole on systems where you install the
package.
2 grave makes the package in question unusable by most or all users, or causes data loss,
or introduces a security hole allowing access to the accounts of users who use the
package.
3 serious is a severe violation of Debian policy (that is, the problem is a violation of a
'must' or 'required' directive); may or may not affect the usability of the
package. Note that non-severe policy violations may be 'normal,' 'minor,' or
'wishlist' bugs. (Package maintainers may also designate other bugs as 'serious'
and thus release-critical; however, end users should not do so.)
4 important a bug which has a major effect on the usability of a package, without rendering it
completely unusable to everyone.
5 does-not-build a bug that stops the package from being built from source. (This is a 'virtual
severity'.)
6 normal a bug that does not undermine the usability of the whole package; for example, a
problem with a particular option or menu item.
7 minor things like spelling mistakes and other minor cosmetic errors that do not affect
the core functionality of the package.
8 wishlist suggestions and requests for new features.
Please select a severity level: [normal] 5
Checking buildd.debian.org for past builds of pal...
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2082, in <module>
main()
File "/usr/bin/reportbug", line 1034, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1873, in user_interface
timeout=options.timeout)
NameError: global name 'options' is not defined
$
-- Package-specific info:
** Environment settings:
EDITOR="/usr/bin/vi"
EMAIL="janbraun at gmx.de"
INTERFACE="text"
** /home/rlj/.reportbugrc:
reportbug_version "2.61"
mode standard
ui text
realname "Jan Braun"
email "janbraun at gmx.net"
mutt
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages reportbug depends on:
ii apt 0.7.25.3 Advanced front-end for dpkg
ii python 2.5.4-9 An interactive high-level object-o
ii python-reportbug 4.12.1 Python modules for interacting wit
reportbug recommends no packages.
Versions of packages reportbug suggests:
ii debconf-utils 1.5.32 debconf utilities
ii debsums 2.0.48 tool for verification of installed
pn dlocate <none> (no description available)
pn emacs22-bin-common | <none> (no description available)
ii exim4-daemon-light [ 4.71-4 lightweight Exim MTA (v4) daemon
ii file 5.04-2 Determines file type using "magic"
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep
pn python-gtk2 <none> (no description available)
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.0.2+cvs20100307-1 desktop integration utilities from
-- no debconf information
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug.options.diff
Type: text/x-diff
Size: 564 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20100505/093a4a0c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20100505/093a4a0c/attachment.pgp>
More information about the Reportbug-maint
mailing list