update-manager crashed with GError in __init__()

Bug #417301 reported by Max Bowsher
This bug affects 256 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-manager

For me, on several different machines, update-manager crashes on startup before even opening its window.

ProblemType: Crash
Architecture: amd64
Date: Sat Aug 22 10:47:54 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.6
Package: update-manager 1:0.124.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Title: update-manager crashed with GError in __init__()
Uname: Linux 2.6.31-6-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner vboxusers video

Revision history for this message
Max Bowsher (maxb) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
update-manager (1:0.124.8) karmic; urgency=low

  * make the release-upgrader auto selection for the frontend
    more robust when no DISPLAY is avaiable
  * Janitor/computerjanitor/package_cruft.py:
    - use unicode string here (thanks to liw)
  * data/glade/UpdateManager.ui:
    - fix duplicated symbol (LP: #417301)
  * UpdateManager/UpdateManager.py:
    - show the on-battery warning on first map only (LP: #416067)
  * DistUpgrade/DistUpgradeController.py:
    - do not how a error when the upgrade is canceled by the user
      during download

 -- Michael Vogt <email address hidden> Mon, 24 Aug 2009 17:48:45 +0200

Changed in update-manager (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Max Bowsher (maxb) wrote :

One instance fixed, perhaps, but another incarnation of the same bug filed as bug 418480.

Revision history for this message
Max Bowsher (maxb) wrote :

Apport duped my new bug against this one, so I guess I'll reopen this one.

Changed in update-manager (Ubuntu):
status: Fix Released → New
Changed in update-manager (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
josa (johnny-sander) wrote :

Got this problem today after applying last updates. Get a traceback identical to bug 418480 and can not start update-manager. Marked and applied a number of updates using synaptic after this, if that means anything.

Revision history for this message
Ace Suares (acesuares) wrote : Re: [Bug 417301] Re: update-manager crashed with GError in __init__()

josa wrote:
> Got this problem today after applying last updates. Get a traceback
> identical to bug 418480 and can not start update-manager. Marked and
> applied a number of updates using synaptic after this, if that means
> anything.
>
I did an apt-get update && apt-get upgrade but the problem persists. Hmm.

Revision history for this message
Martin Albisetti (beuno) wrote :

Ditto. Problem still not solved today.

Revision history for this message
Kamilion (kamilion) wrote :

Getting this today too after running an update to Aug 31st's latest karmic packages.

Revision history for this message
Hernando Torque (htorque) wrote :

Double ids in /usr/share/update-manager/glade/UpdateManager.ui:

image15, vbox18, label30, and label31

Revision history for this message
lookout (lookout-lo) wrote :

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 103, in <module>
    app = UpdateManager(data_dir, options)
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 111, in __init__
    SimpleGtkbuilderApp.__init__(self, datadir+"glade/UpdateManager.ui")
  File "/usr/lib/python2.6/dist-packages/UpdateManager/SimpleGtkbuilderApp.py", line 33, in __init__
    self.builder.add_from_file(path)
glib.GError: Duplicate object id 'image15' on line 1088 (previously on line 957)

Revision history for this message
Kamilion (kamilion) wrote :

Seems to be fixed with 1:0.124.9 for me.

Revision history for this message
Hellsgator (hellsgate) wrote :

not here, refusing to start up.

Revision history for this message
dnl (daniel-intellsoft) wrote :

having the same problem

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 103, in <module>
    app = UpdateManager(data_dir, options)
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 111, in __init__
    SimpleGtkbuilderApp.__init__(self, datadir+"glade/UpdateManager.ui")
  File "/usr/lib/python2.6/dist-packages/UpdateManager/SimpleGtkbuilderApp.py", line 33, in __init__
    self.builder.add_from_file(path)
glib.GError: Duplicate object id 'image15' on line 1088 (previously on line 957)

Revision history for this message
Gavo (gavalier-marcel) wrote :

Latest update solwed my Update manager problem.

2009/9/1 dnl <email address hidden>:
> having the same problem
>
> Traceback (most recent call last):
>  File "/usr/bin/update-manager", line 103, in <module>
>    app = UpdateManager(data_dir, options)
>  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 111, in __init__
>    SimpleGtkbuilderApp.__init__(self, datadir+"glade/UpdateManager.ui")
>  File "/usr/lib/python2.6/dist-packages/UpdateManager/SimpleGtkbuilderApp.py", line 33, in __init__
>    self.builder.add_from_file(path)
> glib.GError: Duplicate object id 'image15' on line 1088 (previously on line 957)
>
> --
> update-manager crashed with GError in __init__()
> https://bugs.launchpad.net/bugs/417301
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “update-manager” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: update-manager
>
> For me, on several different machines, update-manager crashes on startup before even opening its window.
>
> ProblemType: Crash
> Architecture: amd64
> Date: Sat Aug 22 10:47:54 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/bin/update-manager
> InterpreterPath: /usr/bin/python2.6
> Package: update-manager 1:0.124.7
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
> ProcEnviron:
>  LANG=en_GB.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
> PythonArgs: ['/usr/bin/update-manager']
> SourcePackage: update-manager
> Title: update-manager crashed with GError in __init__()
> Uname: Linux 2.6.31-6-generic x86_64
> UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner vboxusers video
>

--
S pozdravom Marcel Gavalier

Marcel Gavalier
Jarmočná 3988/30
058 01 Poprad
Skype: "gavopp", ICQ: "275 893 801"
E-mail: "<email address hidden>"
Mob. tel: +421 902 848 076

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

This problem is fixed with the recent 0.124.9ubuntu1 upload.

If you are affected, please open a terminal window (e.g. gnome terminal from applicatons/accessories) and
type:
$ sudo apt-get update
$ sudo apt-get install update-manager

Check that version 0.124.9ubuntu1 is getting installed (or a later version) and then update-manager
should work again.

Changed in update-manager (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Ryan (ubuntu-draziw) wrote :

Just had a hit with 1:0.124.9ubuntu1. Entered as bug 422618 so that all the apport data would be available.

Revision history for this message
Alvin Thompson (alvint-deactivatedaccount) wrote :

ditto #16

Revision history for this message
Rob Adams (readams) wrote :

Not fixed; this happens when I press the "Partial Upgrade" button.

Revision history for this message
Jamie (jtroybailey) wrote :

same here

On Wed, Sep 2, 2009 at 1:26 AM, Rob Adams <email address hidden> wrote:

> Not fixed; this happens when I press the "Partial Upgrade" button.
>
> --
> update-manager crashed with GError in __init__()
> https://bugs.launchpad.net/bugs/417301
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Jamie Bailey

Revision history for this message
Gavo (gavalier-marcel) wrote :

2Robs: sudo apt-get update

2009/9/1 Rob Adams <email address hidden>:
> Not fixed; this happens when I press the "Partial Upgrade" button.
>
> --
> update-manager crashed with GError in __init__()
> https://bugs.launchpad.net/bugs/417301
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “update-manager” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: update-manager
>
> For me, on several different machines, update-manager crashes on startup before even opening its window.
>
> ProblemType: Crash
> Architecture: amd64
> Date: Sat Aug 22 10:47:54 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/bin/update-manager
> InterpreterPath: /usr/bin/python2.6
> Package: update-manager 1:0.124.7
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
> ProcEnviron:
>  LANG=en_GB.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
> PythonArgs: ['/usr/bin/update-manager']
> SourcePackage: update-manager
> Title: update-manager crashed with GError in __init__()
> Uname: Linux 2.6.31-6-generic x86_64
> UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner vboxusers video
>

--
S pozdravom Marcel Gavalier

Marcel Gavalier
Jarmočná 3988/30
058 01 Poprad
Skype: "gavopp", ICQ: "275 893 801"
E-mail: "<email address hidden>"
Mob. tel: +421 902 848 076

Ryan (ubuntu-draziw)
Changed in update-manager (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Gavo (gavalier-marcel) wrote :

sudo apt-get update
sudo apt-get upgrade
sudo reboot

2009/9/1 Gavo <email address hidden>:
> 2Robs: sudo apt-get update
>
>
> 2009/9/1 Rob Adams <email address hidden>:
>> Not fixed; this happens when I press the "Partial Upgrade" button.
>>
>> --
>> update-manager crashed with GError in __init__()
>> https://bugs.launchpad.net/bugs/417301
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “update-manager” package in Ubuntu: Fix Released
>>
>> Bug description:
>> Binary package hint: update-manager
>>
>> For me, on several different machines, update-manager crashes on startup before even opening its window.
>>
>> ProblemType: Crash
>> Architecture: amd64
>> Date: Sat Aug 22 10:47:54 2009
>> DistroRelease: Ubuntu 9.10
>> ExecutablePath: /usr/bin/update-manager
>> InterpreterPath: /usr/bin/python2.6
>> Package: update-manager 1:0.124.7
>> PackageArchitecture: all
>> ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
>> ProcEnviron:
>>  LANG=en_GB.UTF-8
>>  SHELL=/bin/bash
>> ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
>> PythonArgs: ['/usr/bin/update-manager']
>> SourcePackage: update-manager
>> Title: update-manager crashed with GError in __init__()
>> Uname: Linux 2.6.31-6-generic x86_64
>> UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner vboxusers video
>>
>
>
>
> --
> S pozdravom Marcel Gavalier
>
> Marcel Gavalier
> Jarmočná 3988/30
> 058 01  Poprad
> Skype: "gavopp", ICQ: "275 893 801"
> E-mail: "<email address hidden>"
> Mob. tel: +421 902 848 076
>

--
S pozdravom Marcel Gavalier

Marcel Gavalier
Jarmočná 3988/30
058 01 Poprad
Skype: "gavopp", ICQ: "275 893 801"
E-mail: "<email address hidden>"
Mob. tel: +421 902 848 076

Revision history for this message
triplesqaurednine (triplesquarednine) wrote :

ya this error is onyl have fixed as of sept 1st updates....yesterday i couldn't open
update manager while today it opened, however clicking on partial upgrade caused it to crash again..obviuosly though, it is the frontend as the command line works just fine..

Revision history for this message
Gavo (gavalier-marcel) wrote :

Yes, this crash mi too,
http://launchpadlibrarian.net/31182229/Screenshot-2.png

My report has been marked as duplicited with this bug https://bugs.launchpad.net/bugs/422627 .. I dont have permission. I dont know what next.

Changed in update-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ryan (ubuntu-draziw) wrote :

Froherz - Since we have apport logged faults with the newer code level, why would you mark this incomplete as your very first use of launchpad?

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Ralf (ralf-kaestner) wrote :

@ #17
@ #22

when the crash happens on partial-upgrade-click you need to run "sudo apt-get dist-upgrade" to get beyond it, it helped here.

Revision history for this message
Ryan (ubuntu-draziw) wrote :

Michael: maybe this will help?

Crashing now when there is 1 pinned/held package, a few packages with deps that aren't in repos yet, and 1 package that can actually be updated. script output of update-manager run with errors, and apt-get upgrade successfully dealing with things.

update-manager is reporting a version level back from what is installed.
If any other output would be useful - yell. :)

# update-manager --version
update-manager: version 0.124.8

# md5sum /usr/bin/update-manager
ceaf881a421f169e057383556fbfff81 /usr/bin/update-manager

# which update-manager
/usr/bin/update-manager
$ dpkg-query -S /usr/bin/update-manager
update-manager: /usr/bin/update-manager

apt-cache policy update-manager
update-manager:
  Installed: 1:0.124.9ubuntu1
  Candidate: 1:0.124.9ubuntu1
  Version table:
 *** 1:0.124.9ubuntu1 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
thanhliem (liem) wrote :

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 98, in <module>
    view = DistUpgradeViewGtk(data_dir)
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeViewGtk.py", line 361, in __init__
    SimpleGtkbuilderApp.__init__(self, gladedir+"/DistUpgrade.ui")
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/SimpleGtkbuilderApp.py", line 33, in __init__
    self.builder.add_from_file(path)
glib.GError: ID di oggetto "vbox2" duplicato alla riga 409 (il precedente è alla riga 311)

Revision history for this message
Theo Nolte (theo-nolte) wrote :

For me update-manager crashes when i click "partial upgrade". error is:

glib.GError: Duplicate object id 'vbox2' on line 409 (previously on line 311)

See attachment for full output.

Revision history for this message
Nicklas W Bjurman (lordmetroid) wrote :

I confirm, I got the newest version as of Sep 2 using Karmic Alpha 4 and partial update do not work and results in crashing the update-manager as described above.

Revision history for this message
Delan Azabani (azabani) wrote :

sudo apt-get upgrade
The newest version as I'm posting fixes this bug completely, as far as I've tested.

Revision history for this message
Ryan (ubuntu-draziw) wrote :

Fixed in update manager 1:0.124.10

$ apt-cache policy update-manager
update-manager:
  Installed: 1:0.124.10
  Candidate: 1:0.124.10
  Version table:
 *** 1:0.124.10 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ update-manager --version
update-manager: version 0.124.10

Changed in update-manager (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gavo (gavalier-marcel) wrote :

Thanx, problem is fixed!

2009/9/2 Ryan <email address hidden>:
> Fixed in update manager 1:0.124.10
>
> $ apt-cache policy update-manager
> update-manager:
>  Installed: 1:0.124.10
>  Candidate: 1:0.124.10
>  Version table:
>  *** 1:0.124.10 0
>        500 http://archive.ubuntu.com karmic/main Packages
>        100 /var/lib/dpkg/status
>
> $ update-manager --version
> update-manager: version 0.124.10
>
>
> ** Changed in: update-manager (Ubuntu)
>       Status: Confirmed => Fix Released
>
> --
> update-manager crashed with GError in __init__()
> https://bugs.launchpad.net/bugs/417301
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “update-manager” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: update-manager
>
> For me, on several different machines, update-manager crashes on startup before even opening its window.
>
> ProblemType: Crash
> Architecture: amd64
> Date: Sat Aug 22 10:47:54 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/bin/update-manager
> InterpreterPath: /usr/bin/python2.6
> Package: update-manager 1:0.124.7
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
> ProcEnviron:
>  LANG=en_GB.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
> PythonArgs: ['/usr/bin/update-manager']
> SourcePackage: update-manager
> Title: update-manager crashed with GError in __init__()
> Uname: Linux 2.6.31-6-generic x86_64
> UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner vboxusers video
>

--
S pozdravom Marcel Gavalier

Marcel Gavalier
Jarmočná 3988/30
058 01 Poprad
Skype: "gavopp", ICQ: "275 893 801"
E-mail: "<email address hidden>"
Mob. tel: +421 902 848 076

Revision history for this message
mloosveldt (mloosveldt) wrote :

Fixed with "$ sudo apt-get dist-upgrade"

Affian66 (affianonn)
Changed in update-manager (Ubuntu):
status: Fix Released → New
status: New → Confirmed
Revision history for this message
Max Bowsher (maxb) wrote :

Affian66: Never reopen bugs without leaving an explanatory comment

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