From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 45163@debbugs.gnu.org, Jean Louis <bugs@gnu.support>
Subject: bug#45163: 28.0.50; (dbus-error "org.freedesktop.DBus.Error.NoReply" "Call timed out")
Date: Fri, 11 Dec 2020 10:14:48 +0000 [thread overview]
Message-ID: <87k0to4pk7.fsf@tcd.ie> (raw)
In-Reply-To: <875z5890wj.fsf@gmx.de> (Michael Albinus's message of "Fri, 11 Dec 2020 09:56:12 +0100")
Michael Albinus <michael.albinus@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
next prev parent reply other threads:[~2020-12-11 10:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 17:01 bug#45163: 28.0.50; (dbus-error "org.freedesktop.DBus.Error.NoReply" "Call timed out") Jean Louis
2020-12-11 8:56 ` Michael Albinus
2020-12-11 9:00 ` Jean Louis
2020-12-11 10:14 ` Basil L. Contovounesios [this message]
2020-12-11 10:37 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0to4pk7.fsf@tcd.ie \
--to=contovob@tcd.ie \
--cc=45163@debbugs.gnu.org \
--cc=bugs@gnu.support \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.