exception in awn manager when a launcher icon is missing

Bug #140928 reported by Fabien Chaillou
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I removed the file with the icon and now awn-manager doesn't launch ... this is just a one line change i guess (add a catch somewhere) but i don't know python yet so here is the exception trace

Traceback (most recent call last):
  File "/usr/bin/awn-manager", line 199, in <module>
    awnmanager = AwnManager()
  File "/usr/bin/awn-manager", line 97, in __init__
    self.launchManager = awnLauncher(self.wTree, self.AWN_CONFIG_DIR)
  File "/usr/share/avant-window-navigator/awn-manager/", line 65, in __init__
  File "/usr/share/avant-window-navigator/awn-manager/", line 123, in make_model
  File "/usr/share/avant-window-navigator/awn-manager/", line 133, in refresh_tree
    self.model.set_value (row, 0, self.make_icon (i))
  File "/usr/share/avant-window-navigator/awn-manager/", line 170, in make_icon
    icon = gtk.gdk.pixbuf_new_from_file_at_size (name, 32, 32)
gobject.GError: L'ouverture du fichier « /opt/eclipse/plugins/org.eclipse.sdk_3.2.1.r321_v20060705/eclipse48.png » a échoué : Aucun fichier ou répertoire de ce type

it is on revision 106 in bzr

thanx all

Revision history for this message
Fabien Chaillou (fchaillo) wrote :

Here is a patch that corrects the problem

Revision history for this message
Neil J. Patel (njpatel) wrote :

Thanks! Committed.

Changed in awn:
status: New → Fix Committed
Changed in awn:
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.