emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xi Shen <davidshen84@gmail.com>
To: "emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: dbus-error with org-notify
Date: Tue, 28 Jun 2016 17:02:42 +0800	[thread overview]
Message-ID: <CANO68EMA+C16HcY-p_9miK-6=Zg9rQb1x-Vj+23_O5XtTWUo1w@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2016-06-28  9:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANO68EMA+C16HcY-p_9miK-6=Zg9rQb1x-Vj+23_O5XtTWUo1w@mail.gmail.com' \
    --to=davidshen84@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    /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 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).