On kubuntu, update-manager hook crashes with ImportError: No module named gconf in hookutils.py attach_gconf

Bug #880704 reported by Jean-Baptiste Lallement
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Brian Murray
Oneiric
Fix Released
Medium
Brian Murray

Bug Description

On Kubuntu, update-manager's hook crashes with the trace:
$ ubuntu-bug update-manager-core
ERROR: hook /usr/share/apport/package-hooks//source_update-manager.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 663, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/package-hooks//source_update-manager.py", line 12, in add_info
    attach_gconf(report, 'update-manager')
  File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 515, in attach_gconf
    import gconf
ImportError: No module named gconf

TEST CASE:
1. Install Kubuntu and login
2.a In a terminal run the command:
  $ ubuntu-bug update-manager-core
OR
2.b Run the following command in a terminal against an update-manager bug:
  $ apport-collect <bug id>

Expected Result:
The bug reporting process starts.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.154
ProcVersionSignature: Ubuntu 3.1.0-1.1-generic 3.1.0-rc10
Uname: Linux 3.1.0-1-generic i686
ApportVersion: 1.24-0ubuntu1
Architecture: i386
Date: Mon Oct 24 09:59:41 2011
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2011-07-12 (103 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
summary: - On kubuntu, update-manager crashes with ImportError: No module named
- gconf in hookutils.py attach_gconf
+ On kubuntu, update-manager hook crashes with ImportError: No module
+ named gconf in hookutils.py attach_gconf
tags: added: apport-hook
Changed in update-manager (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

This fix isn't necessary in Precise as the attach_gconf function in apport just returns pass. Additionally the update-manager apport-hook in precise should switch to attach_gsettings_package.

Changed in update-manager (Ubuntu Oneiric):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jean-Baptiste, or anyone else affected,

Accepted update-manager into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Jean-Baptiste, or anyone else affected,

Accepted into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.152.25.9

---------------
update-manager (1:0.152.25.9) oneiric-proposed; urgency=low

  * In the apport package hook continue if unable to import gconf data
    (LP: #880704)
  * In the apport package hook do not gzip the apt-clone attachment two times
    (LP: #973747)
  * check-new-release-gtk:
    - ensure to write a integer when calculating the next time that
      the release available window will be presented (LP: #873424)
    - hide redundant release-notes button (LP: #873432)
  * check-new-release-gtk:
    - write the time to check the new release to the update-notifier schema
      not the update-manager one (LP: #873424)
 -- Brian Murray <email address hidden> Wed, 04 Apr 2012 13:04:28 -0700

Changed in update-manager (Ubuntu Oneiric):
status: Fix Committed → 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.