emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* dbus-error with org-notify
@ 2016-06-28  9:02 Xi Shen
  0 siblings, 0 replies; only message in thread
From: Xi Shen @ 2016-06-28  9:02 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Hi,

I am using Emacs within a Cygwin environment on Windows 7 64bit. I have
install the dbus Windows service with "messagebus-config", and started the
service from Windows service console.

After I called (org-notify-start), I got below Message before my task
deadline:

    Warning: notification for "check org-notify" behind schedule!
    Error: (dbus-error "No connection to bus" :session) [2 times]
    Warning: notification for "check org-notify" behind schedule!
    Error: (dbus-error "No connection to bus" :session)
    ...

In eLisp, if I call (dbus-init-bus :session), I got "dbus-init-bus: D-Bus
error: "No connection to bus", :session"; if I call (dbus-init-bus
:system), I got ((:signal :system "org.freedesktop.DBus.Local"
"Disconnected") (nil "/org/freedesktop/DBus/Local"
dbus-handle-bus-disconnect)).

Does it means I have a system dbus, but no session dbus? Which dbus should
Emacs/org-notify use?


Thanks,
David

[-- Attachment #2: Type: text/html, Size: 1333 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-28  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-28  9:02 dbus-error with org-notify Xi Shen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).