Duplicate id in DistUpgrade.ui

Bug #422665 reported by Ulf Rompe
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Version 1:0.124.9 fixed some duplicate ids to make the new gtk version happy, but it missed at least this one:

$ LANG=C sudo update-manager --dist-upgrade
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: Duplicate object id 'vbox2' on line 409 (previously on line 311)

Changing the id in line 409 of /usr/share/update-manager/glade/DistUpgrade.ui to something like "vbox0" fixes the problem.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

i can confirm this issue.

This thread suggest a workaround that didn't worked for me.

http://ubuntuforums.org/showthread.php?t=1255799

Changed in update-manager (Ubuntu):
status: New → Confirmed
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * DistUpgrade/removal_blacklist.cfg:
    - add update-manager so that it does not
  * typo fixes (thanks to Brian Murray, LP: #418127)
  * merge the changes of seb128 into bzr
  * po/POTFILES.in:
    - fix ui file detection (thanks to Gabor Kelemen) LP: #420209
  * DistUpgrade/DistUpgrade.ui:
    - fix duplicated id (LP: #422665)
  * fix crash when lsmod is not installed

 -- Michael Vogt <email address hidden> Wed, 02 Sep 2009 15:04:53 +0200

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
al1321om (al1321om) wrote :

This worked for me as suggested above:

Changing the id in line 409 of /usr/share/update-manager/glade/DistUpgrade.ui to something like "vbox0" fixes the problem.

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.