apport package hook crashes with KeyError

Bug #716733 reported by Matt Zimmerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
High
Bryce Harrington

Bug Description

Binary package hint: xserver-xorg-video-intel

ERROR: hook /usr/share/apport/package-hooks//source_xserver-xorg-video-intel.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 637, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/package-hooks//source_xserver-xorg-video-intel.py", line 450, in add_info
    attach_3d_info(report, ui)
  File "/usr/share/apport/package-hooks//source_xserver-xorg-video-intel.py", line 344, in attach_3d_info
    report['Tags'] += ' ' + report[compiz_version]
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'Compiz-0.9.2'

I think perhaps report[compiz_version] should be simply compiz_version?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.38-2.29-generic 2.6.38-rc3
Uname: Linux 2.6.38-2-generic x86_64
Architecture: amd64
Date: Thu Feb 10 22:22:02 2011
DistroCodename: natty
DistroVariant: ubuntu
SourcePackage: xserver-xorg-video-intel
version.compiz: compiz 1:0.9.2.1+glibmainloop4-0ubuntu10
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2+git20110124.fadee040-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu4

Related branches

Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Yep, thanks.

affects: xserver-xorg-video-intel (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
assignee: nobody → Bryce Harrington (bryce)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg - 1:7.6~3ubuntu4

---------------
xorg (1:7.6~3ubuntu4) natty; urgency=low

  * apport/source_xorg.py:
    - Fix misspelling of CompositorRunning
    - report[compiz_version] should just be compiz_version (LP: #716733)
 -- Bryce Harrington <email address hidden> Thu, 10 Feb 2011 19:07:11 -0800

Changed in xorg (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.