file-browser-launcher crashes on start

Bug #526752 reported by Leo Riccio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
Matt

Bug Description

Ubuntu 9.10
Installed via repository, trunk brz1208.
Gnome + Compiz.
Nvidia 195.36 (7600GT)

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/file-browser-launcher/file-browser-launcher.py", line 1152, in <module>
    applet = App(awn.uid, awn.panel_id)
  File "/usr/share/avant-window-navigator/applets/file-browser-launcher/file-browser-launcher.py", line 151, in __init__
    self.do_gio_places()
  File "/usr/share/avant-window-navigator/applets/file-browser-launcher/file-browser-launcher.py", line 373, in do_gio_places
    icons = vol.get_mount().get_icon().get_names()
AttributeError: 'gio.FileIcon' object has no attribute 'get_names'

Leo Riccio (leoriccio)
description: updated
Revision history for this message
Mark Lee (malept) wrote :

The code should handle the cases where the icon is one of the following types:
 * GEmblemedIcon
 * GFileIcon
 * GThemedIcon

tags: added: applet file-browser-launcher traceback
Changed in awn-extras:
assignee: nobody → Matt (sharkbaitbobby)
importance: Undecided → Medium
milestone: none → 0.4.0
status: New → Confirmed
Revision history for this message
Matt (mjz) wrote :

This has been fixed in r1216. Thanks.
(Though if it's a GEmblemedIcon it'll just use a plain drive or network icon as I don't think it's currently possible to properly get emblems via GIO.)

Changed in awn-extras:
status: Confirmed → Fix Committed
Mark Lee (malept)
Changed in awn-extras:
status: Fix Committed → Fix Released
Revision history for this message
clrwdt (txusff) wrote :

When in Nautilus I add a bookmark to \ (root) to left panel the "file-browser-launcher" can't start and chash it.

I delete the bookmark to \ and file-browser-launcher start and works fine.

Nautilus v 2.32.0
AWN 0.4.0

clrwdt (txusff)
summary: - File Browser Launcher crashes on start
+ file-browser-launcher crashes on start
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.