quit applet not working

Bug #225292 reported by perroazul
4
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
High
IM.tehk

Bug Description

the error happens when i click the quit button:
Traceback (most recent call last):
  File "/usr/lib/awn/applets/quit-applet/quit-applet.py", line 70, in button_press
    os.system(self.command)
AttributeError: 'App' object has no attribute 'command'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 78, in apport_excepthook
    report_file = open(pr_filename, 'wt')
IOError: [Errno 13] Permission denied: '/var/crash/_usr_lib_awn_applets_quit-applet_quit-applet.py.1000.crash'
I have the latest version of awn, I'm running hardy heron i386 flavor, i'm using the version of awn which is in the following repository: http://ppa.launchpad.net/reacocard-awn/ubuntu

I don't know python but i opened that script, go to line 70 and changed the code from
os.system(self.command)
to
os.system(self.logout_command)
then i restarted awn and the logout screen appears. the properties dialog of this button is still not working though
thanks

Revision history for this message
Mark Lee (malept) wrote :

Since this is an applet-specific bug, it needs to go into the awn-extras bugtracker, not the awn bugtracker.

Changed in awn:
assignee: nobody → malept
importance: Undecided → High
status: New → Confirmed
Changed in awn-extras:
milestone: none → 0.2.8
Revision history for this message
Mark Lee (malept) wrote :

Fixed in trunk r472.

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

To fix the preferences dialog all that needs to be done is to change line 106 of the file src/quit-applet.py from "self.logout_command.set_text(applet.command)" to "self.logout_command.set_text(applet.logout_command)"

I have attached a patch to be applied against bzr revision 476.

Revision history for this message
Michael Rooney (mrooney) wrote :

Re-opening since only half the issue was fixed. The preferences dialog issue wasn't fixed in r472. Should be easy though since glennric provided a patch (thanks!).

Changed in awn-extras:
status: Fix Committed → Confirmed
Revision history for this message
IM.tehk (im-tehk) wrote :

Fixed in revision 517

Changed in awn-extras:
assignee: malept → im-tehk
status: Confirmed → Fix Committed
onox (onox)
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.