After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353674 - gdmactions - lock screen gives error on unlocking
gdmactions - lock screen gives error on unlocking
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-08-31 10:53 UTC by Mikkel Kamstrup Erlandsen
Modified: 2006-09-03 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdmactions-dbus-timeout.patch (1.90 KB, patch)
2006-08-31 13:25 UTC, Raphael Slinckx
none Details | Review

Description Mikkel Kamstrup Erlandsen 2006-08-31 10:53:01 UTC
If I search for "lock", and select the "Lock screen" hit, I get:

Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/deskbar/DeskbarApplet.py", line 109 in on_match_selected
    match.action(text)
  • File "/usr/lib/deskbar-applet/handlers/gdmactions.py", line 74 in action
    self._scrsvr.Lock()
  • File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 79 in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  • File "dbus_bindings.pyx", line 458 in dbus_bindings.Connection.send_with_reply_and_block
DBusException: No reply within specified time

when I unlock the screen again.
Comment 1 Raphael Slinckx 2006-08-31 13:14:11 UTC
Either we dump gdmactions, or we surround the call with a try/catch and be happy.
Comment 2 Raphael Slinckx 2006-08-31 13:25:22 UTC
Created attachment 71960 [details] [review]
gdmactions-dbus-timeout.patch

Here is the patch that workarounds the problem until we have a real solution to the timeout problem.
Comment 3 Mikkel Kamstrup Erlandsen 2006-08-31 18:35:11 UTC
I don't think we should drop gdm actions. I use deskbar as the only menu-style thing in my panel, and I won't be able to shut down or log out without it :-D

Seriously, I think we should keep it.
Comment 4 Raphael Slinckx 2006-09-03 15:56:41 UTC
Applied in HEAD