Update-manager won't start because of missing icon

Bug #68697 reported by Fredrik Tolf
2
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-manager

I just tried to upgrade a system from Dapper to Edgy by way of using "update-manager -c", and was surprised to find the following error. As soon as I pressed the Update button and it had downloaded two files, it aborted with the following Python traceback:

Traceback (most recent call last):
  File "/tmp/tmpdmzvTY/edgy", line 33, in ?
    view = view_class()
  File "/tmp/tmpdmzvTY/DistUpgradeViewGtk.py", line 326, in __init__
    gtk.window_set_default_icon(icons.load_icon("update-manager", 32, 0))
gobject.GError: Failed to open file '/usr/share/icons/Tangerine/scalable/apps/update-manager.svg': No such file or directory

I then tried symlinking Tango/scalable/apps/update-manager.svg to Tangerine/scalable/apps/update-manager.svg, and that made it work. Surely, however, it isn's supposed to abort because of something that simple?

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

Thanks for your bugreport.

I was not able to reproduce this problem on my dapper install. I set the icon-theme to Tangerine. What theme settings did you used when you got the error?

Anyway I commited a patch to protect against this kind of error in the future and it will be part of the next upload to edgy-updates.

Thanks,
 Michael

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Medium
status: Unconfirmed → Fix Committed
Revision history for this message
Remke (r-schuurmans) wrote :

Same problem here...
the symlinking resolved also my problem ...

Grz
Remke

ln -s /usr/share/icons/Tango/scalable/apps/update-manager.svg /usr/share/icons/Tangerine/scalable/apps/update-manager.svg

(gksu -u root "update-manager -c")

Revision history for this message
Fredrik Tolf (fredrik-dolda2000) wrote :

The icon theme in use at the time was, in fact, Human. I have no idea why it was looking for an icon in the Tangerine directory.

Michael Vogt (mvo)
Changed in update-manager:
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.