update-manager crashed with AttributeError in checkFreeSpace()

Bug #340828 reported by linuxuser600
This bug affects 6 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Michael Vogt

Bug Description

Binary package hint: update-manager

Crashed after trying to install updates to libparted1.8-10, libproxy0, and parted.
Using Jaunty 9.04 alpha 4, kernel Linux 2.6.28-9-generic, GNOME 2.25.92

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: update-manager 1:0.100
PackageArchitecture: all
ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Title: update-manager crashed with AttributeError in checkFreeSpace()
Uname: Linux 2.6.28-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
linuxuser600 (linuxuser600) wrote :
Revision history for this message
William Wynn (williamwynn) wrote :

I'm getting this now too (on Alpha 5) after the latest round of updates earlier today which I believe updated the update manager.
It crashes after I hit "Install Updates" every time.

Revision history for this message
Knatchwa (rl-marr) wrote :

First time I have seen this problem, guess I am not alone in the circumstance, anyone try using Synaptic to see if it does the same?

Revision history for this message
Knatchwa (rl-marr) wrote :

When running Synaptic via System>Administration>Synaptic Package Manager and marking all upgrades was able to get the same items that were having problems in Update Manager to finish the process to the end. So that seems to point that perhaps it is something to do with the Recently upgraded update manager. At the very least the system is still strong enough and does not crash but would be nice to be able to use either/or.

Rocko (rockorequin)
Changed in update-manager:
status: New → Confirmed
Revision history for this message
Martin Olsson (mnemo) wrote :

I just launched "update-manager" from console and it printed a bunch of error to stderr and then it crashed into apport:

mnemo@kingfish:~$ update-manager
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:188: DeprecationWarning: integer argument expected, got float
  self.gconfclient.set_int("/apps/update-manager/launch_time", time.time())
/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 562, in on_button_install_clicked
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py", line 907, in checkFreeSpace
    if self.config.getWithDefault("Aufs","Enabled", False):
AttributeError: 'MyCache' object has no attribute 'config'

Michael Vogt (mvo)
Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → High
milestone: none → jaunty-alpha-6
status: Confirmed → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport(s).

This is a bug in update-manager, please install the new version (0.100.1) with synaptic or apt-get, then everything should be back to normal.

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

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

update-manager (1:0.100.1) jaunty; urgency=low

  * DistUpgrade/DistUpgradeCache.py:
    - fix crash (LP: #340828) when config is undefinied
  * UpdateManager/UpdateManager.py:
    - explicitely cast time.time() to int (LP: #340755)

 -- Michael Vogt <email address hidden> Wed, 11 Mar 2009 09:10:02 +0100

Changed in update-manager:
status: In Progress → Fix Released
Revision history for this message
Richard Kleeman (kleeman) wrote :

Still occurring in version 1:0.111.1

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

@Richard Kleeman: do you get the exact same error message as in comment 5 ? Could you please run it in a terminal and paste the message here (including the line numbers where the problem happens)?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers