apport hook crashes

Bug #723061 reported by Matt Zimmerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz

perseus:[~] python /usr/share/apport/package-hooks/source_compiz.py
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/source_compiz.py", line 445, in <module>
    add_info(report, None)
  File "/usr/share/apport/package-hooks/source_compiz.py", line 428, in add_info
    attach_dist_upgrade_status(report, ui)
  File "/usr/share/apport/package-hooks/source_compiz.py", line 250, in attach_dist_upgrade_status
    if len(upgraded) > 0:
TypeError: object of type 'NoneType' has no len()

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop4-0ubuntu11
ProcVersionSignature: Ubuntu 2.6.38-4.31-generic 2.6.38-rc5
Uname: Linux 2.6.38-4-generic x86_64
Architecture: amd64
Date: Tue Feb 22 10:12:40 2011
DistroCodename: natty
DistroVariant: ubuntu
PackageArchitecture: all
SourcePackage: compiz
version.compiz: compiz 1:0.9.2.1+glibmainloop4-0ubuntu11
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu7
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu9
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
Matt Zimmerman (mdz) wrote :

Most likely because:

-rw-r----- 1 root root 42547 2011-02-10 20:30 /var/log/dist-upgrade/apt.log

This log is not readable by non-root users.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

The compiz hook is a hard link to the xorg one, redirecting.

(btw, to xorg packagers: I'll change that back to have our own compiz hook later, including xorg info only if needed)

affects: compiz (Ubuntu) → xorg (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * apport/source_xorg.py:
    - Collect jockey info in the case of proprietary drivers
    - Collect update-alternatives info in case of proprietary drivers
    - Generate nvidia-bug-report.log.gz if -nvidia loaded
    - Don't quell errors calling unity_support_test (LP: #710630)
    - Check for null when checking for upgrades. Can fail if apt.log is
      empty or unreadable. (LP: #723061)
 -- Bryce Harrington <email address hidden> Tue, 01 Mar 2011 16:58:31 -0800

Changed in xorg (Ubuntu):
status: New → 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.