← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 716733] [NEW] apport package hook crashes with KeyError

 

Public bug reported:

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

** Affects: xserver-xorg-video-intel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.
https://bugs.launchpad.net/bugs/716733

Title:
  apport package hook crashes with KeyError



Follow ups

References