YAMA applet freezes for a few seconds after unlocking desktop

Bug #702883 reported by Artem Nagornyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
onox

Bug Description

YAMA applet freezes for a few seconds after unlocking desktop.

Scenario:
1. Lock Screen
2. Unlock Screen
Problem: It is impossible to open menu using YAMA applet for a few seconds, it is disabled.

AWN version: 0.4.0
YAMA applet version: 0.4.0
OS: Ubuntu 10.04 Lucid (x86, 32-bit)

Tags: yama

Related branches

onox (onox)
affects: awn → awn-extras
Changed in awn-extras:
assignee: nobody → onox (onox)
status: New → Confirmed
tags: added: yama
Changed in awn-extras:
importance: Undecided → Medium
milestone: none → 0.4.2
Revision history for this message
onox (onox) wrote :

Thanks for filing a bug.

For future reference, the YAMA applet is part of the Awn Extras project. If you have any future problems with this applet, they should be filed in the Awn Extras bug tracker.

summary: - yama applet freezes for a few seconds after unlocking desktop
+ YAMA applet freezes for a few seconds after unlocking desktop
Revision history for this message
onox (onox) wrote :

Fixed in revision 1495. If you want to test it, make sure you uninstall all Awn related packages, then install testing PPA. See https://launchpad.net/~awn-testing/+archive/ppa (the PPA gets updated once in a while)

Changed in awn-extras:
status: Confirmed → Fix Committed
Revision history for this message
Artem Nagornyi (anahorny) wrote :

Now applet crashes with the following exception:

AttributeError in YAMA: '__main__.DesktopAgnosticVFSFileGIO' object has no attribute 'is_native'

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1525, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/yama/yama.py", line 96, in __init__
    self.build_menu()
  File "/usr/share/avant-window-navigator/applets/yama/yama.py", line 126, in build_menu
    self.create_places_submenu(self.menu)
  File "/usr/share/avant-window-navigator/applets/yama/yama.py", line 274, in create_places_submenu
    self.append_bookmarks()
  File "/usr/share/avant-window-navigator/applets/yama/yama.py", line 367, in append_bookmarks
    item = self.get_url_name_item(*url_name)
  File "/usr/share/avant-window-navigator/applets/yama/yama.py", line 379, in get_url_name_item
    if file.is_native():
AttributeError: '__main__.DesktopAgnosticVFSFileGIO' object has no attribute 'is_native'

Revision history for this message
onox (onox) wrote :

Make sure you have updated libdesktop-agnostic to latest version.

Revision history for this message
Artem Nagornyi (anahorny) wrote :

It was caused by the old version of "python-desktop-agnostic", I have upgraded it to 0.3.91 version and now YAMA applet starts successfully :). Definitely all these "agnostic" libs must be in dependencies for YAMA.

I have verified the fix, it works OK, thanks.

Revision history for this message
onox (onox) wrote :

Thanks for confirming that the bug has been fixed!

Povilas Kanapickas (p12)
Changed in awn-extras:
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.