[Reportbug-maint] Bug#609423: reportbug: crashes with `AttributeError: invalid report type`

Paul Menzel pm.debian at googlemail.com
Sun Jan 9 12:40:23 UTC 2011

Subject: reportbug: crashes with `AttributeError: invalid report type`
Package: reportbug
Version: 4.12.6
Severity: important

*** Please type your report below this line ***

Dear Debian folks,

I got `AttributeError: invalid report type` doing the following.

	$ reportbug media-player-info
	*** Welcome to reportbug.  Use ? for help at prompts. ***
	Detected character set: UTF-8
	Please change your locale if this is incorrect.

	Using 'Paul Menzel <pm.debian at googlemail.com>' as your from address.
	Getting status for media-player-info...
	Checking for newer versions at packages.debian.org...
	Will use https protocol talking to bugs.freedesktop.org/buglist.cgi?product=media-player-info.
	Maintainer for media-player-info is 'Martin Pitt <mpitt at debian.org>'.
	Looking up dependencies of media-player-info...

	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).
	> `NEWS` not packaged/distributed
	Rewriting subject to 'media-player-info: `NEWS` not packaged/distributed'
	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] 
	Traceback (most recent call last):
		File "/usr/bin/reportbug", line 2098, in <module>
		File "/usr/bin/reportbug", line 1045, in main
		  return iface.user_interface()
		File "/usr/bin/reportbug", line 1990, in user_interface
		File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 745, in generate_blank_report
		  debsumsoutput=debsumsoutput, issource=issource)
		File "/usr/lib/pymodules/python2.6/reportbug/bugreport.py", line 43, in __init__
		  self.type = type
		File "/usr/lib/pymodules/python2.6/reportbug/bugreport.py", line 59, in tset
		  raise AttributeError, 'invalid report type'
	AttributeError: invalid report type

Maybe it has something to do with the slash or the encoding?



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

** /home/paul/.reportbugrc:
reportbug_version "3.9"
mode standard
ui text
realname "Paul Menzel"
email "pm.debian at wgooglemail.com"
smtphost "smtp.googlemail.com"

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                     0.8.10           Advanced front-end for dpkg
ii  python                  2.6.6-3+squeeze4 interactive high-level object-orie
ii  python-reportbug        4.12.6           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  emacs22-bin-common   22.3+1-1.2+b1       The GNU Emacs editor's shared, arc
ii  emacs23-bin-common   23.2+1-7            The GNU Emacs editor's shared, arc
ii  exim4                4.72-3              metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [ 4.72-3+b1           lightweight Exim MTA (v4) daemon
ii  file                 5.04-5              Determines file type using "magic"
ii  gnupg                1.4.10-4            GNU privacy guard - a free PGP rep
ii  python-gtk2          2.17.0-4            Python bindings for the GTK+ widge
ii  python-gtkspell      2.25.3-6            Python bindings for the GtkSpell l
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.3-2          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-3 desktop integration utilities from

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20110109/4a7b5b96/attachment.pgp>

More information about the Reportbug-maint mailing list