GNU bug report logs -
#45163
28.0.50; (dbus-error "org.freedesktop.DBus.Error.NoReply" "Call timed out")
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Thu, 10 Dec 2020 17:02:02 UTC
Severity: minor
Found in version 28.0.50
Fixed in version 28.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 45163 <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Does the appended patch fixes the problem?
>
> Best regards, Michael.
>
> *** /tmp/ediffiXLy7X 2020-12-11 09:52:50.304077441 +0100
> --- /home/albinus/src/emacs/lisp/battery.el 2020-12-11 09:51:12.514136708 +0100
> ***************
> *** 661,670 ****
> (cond ((stringp battery-upower-device)
> (list battery-upower-device))
> (battery-upower-device)
> ! ((dbus-call-method :system battery-upower-service
> ! battery-upower-path
> ! battery-upower-interface
> ! "EnumerateDevices"))))
>
> (defun battery--upower-state (props state)
> "Merge the UPower battery state in PROPS with STATE.
> --- 661,672 ----
> (cond ((stringp battery-upower-device)
> (list battery-upower-device))
> (battery-upower-device)
> ! ((dbus-ignore-errors
> ! (dbus-call-method :system battery-upower-service
> ! battery-upower-path
> ! battery-upower-interface
> ! "EnumerateDevices"
> ! :timeout 1000)))))
LGTM, thanks.
Just curious: why the shorter timeout, and why so short (from 25s to
1s)?
--
Basil
This bug report was last modified 4 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.