Avant Window Navigator

exception in awn manager when a launcher icon is missing

Reported by Fabien Chaillou on 2007-09-19
2
Affects Status Importance Assigned to Milestone
Awn
Undecided
Unassigned

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/awnLauncher.py", line 65, in __init__
    self.make_model()
  File "/usr/share/avant-window-navigator/awn-manager/awnLauncher.py", line 123, in make_model
    self.refresh_tree(uris)
  File "/usr/share/avant-window-navigator/awn-manager/awnLauncher.py", line 133, in refresh_tree
    self.model.set_value (row, 0, self.make_icon (i))
  File "/usr/share/avant-window-navigator/awn-manager/awnLauncher.py", 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

Fabien Chaillou (fchaillo) wrote :

Here is a patch that corrects the problem

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  Edit
Everyone can see this information.

Other bug subscribers