oem-config-remove-gtk crashed with AttributeError in _run_transaction()

Bug #637517 reported by Mario Limonciello
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Unassigned
aptdaemon (Ubuntu)
Fix Released
High
Unassigned
ubiquity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: aptdaemon

OEM Config uses python-aptdaemon to remove itself after completion. Within the last few days it has began to crash rather than finish the removal.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: oem-config-gtk 2.3.17
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon Sep 13 16:30:00 2010
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-dell-maverick-une-20100913-0
ExecutablePath: /usr/sbin/oem-config-remove-gtk
InstallationMedia: Ubuntu 10.10 "Maverick" - Build i386 LIVE Binary 20100913-01:43
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/oem-config-remove-gtk
ProcCwd: /
ProcEnviron: PATH=(custom, no user)
PythonArgs: ['/usr/sbin/oem-config-remove-gtk']
SourcePackage: ubiquity
Title: oem-config-remove-gtk crashed with AttributeError in _run_transaction()
UserGroups:

Revision history for this message
Mario Limonciello (superm1) wrote :
visibility: private → public
Revision history for this message
Mario Limonciello (superm1) wrote :

This is a regression, and from what looks like directly what has changed in the most recent upload:

aptdaemon (0.31+bzr496-0ubuntu1) maverick; urgency=low

  * merge fixes from bzr:
    - fix for aptdaemon.client.get_transaction()
    - autodetect if "defer" is needed

tags: removed: need-duplicate-check
Jerone Young (jerone)
Changed in oem-priority:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Tobin Davis (gruemaster) wrote :

I'm also seeing this on recent armel preinstalled images since 20100913.

Revision history for this message
Michael Vogt (mvo) wrote :

It looks like its the "autodetect if "defer" is needed" - I'm in contact with Sebastian about it, but I think I will just revert it.

Changed in aptdaemon (Ubuntu):
milestone: none → ubuntu-10.10
importance: Undecided → High
status: New → In Progress
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Here you can find a reworked oem-config-remove-gtk which uses a main loop.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Furthermore the bug should be fixed in rev. 100. It was located in the synchrouns call logic of the client and not in the autodefer feature.

Changed in aptdaemon (Ubuntu):
status: In Progress → Fix Committed
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Mario Limonciello (superm1) wrote :

Sebastian:
I can confirm your fixes to aptdaemon resolve the issue, and so does your mainloop rework of oem-config-gtk. I've merge the mainloop rework into trunk.

Changed in ubiquity (Ubuntu):
status: Triaged → Fix Committed
Changed in aptdaemon (Ubuntu):
status: Fix Committed → Fix Released
Jerone Young (jerone)
Changed in oem-priority:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.4.0

---------------
ubiquity (2.4.0) maverick; urgency=low

  [ Sebastian Heinlein ]
  * Rework oem-config-gtk to use a mainloop (LP: #637517)

  [ Evan Dandrea ]
  * Call gconftool-2 --set with --config-source.
  * Better lock down the installer environment when past partitioning.
  * Lock down the installer environment when at partitioning commit,
    rather than just after automatic partitioning (and not manual
    partitioning) (LP: #640604, LP: #641897).
  * Do not show the quit button in OEM mode.
  * Depend on aptdaemon (LP: #641051).
  * Fix the skip download button (LP: #628311).
  * Make the '[type here to change]' string translatable (LP: #642989).
  * Disable the non-free software option if multiverse and restricted
    are disabled via preseed (LP: #641676).
  * Install kubuntu-restricted-addons, not kubuntu-restricted-extras
    (LP: #643614).
  * Clear hostname error when fixed (LP: #640661).
  * Deal with broken /cdrom symlinks (LP: #642274).
  * Disable locking the screen and switching users in the installer
    session (LP: #644016).
  * Update translations from Launchpad.

  [ Colin Watson ]
  * Stop ubiquity and oem-config when stopping display managers. This
    should guarantee that X has exited by the time we try to start plymouth
    on shutdown (LP: #628630).
 -- Evan Dandrea <email address hidden> Tue, 21 Sep 2010 10:09:28 +0100

Changed in ubiquity (Ubuntu):
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.