apport-hook crashes with NameError: global name 'tags' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
Binary package hint: compiz
When running the following command from a terminal:
$ ubuntu-bug compiz
This traceback is displayed:
$ ubuntu-bug compiz
hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
if check_is_
File "/usr/share/
tags.
NameError: global name 'tags' is not defined
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.
ProcVersionSign
Uname: Linux 2.6.37-12-generic i686
Architecture: i386
Date: Wed Jan 19 12:48:35 2011
EcryptfsInUse: Yes
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: compiz
Related branches
Changed in compiz (Ubuntu): | |
assignee: | nobody → Bryce Harrington (bryce) |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: compiz-0.9 |
tags: | added: mago |
affects: | compiz (Ubuntu) → xorg (Ubuntu) |
Elsewhere in the hook this is used:
report['Tags'] += ' ' + report[ 'DistroCodename ']
And while trying to recreate this bug I noticed that 'natty' was in the tag list twice. While Launchpad will likely strip the redundant one it'd be neat if it wasn't sent at all. The reason for the duplication is that apport is adding the DistroCodename already.