From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Shen Subject: dbus-error with org-notify Date: Tue, 28 Jun 2016 17:02:42 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e025808d0f8053652e867 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHovK-00089p-BQ for Emacs-orgmode@gnu.org; Tue, 28 Jun 2016 05:03:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHovJ-0003cI-9D for Emacs-orgmode@gnu.org; Tue, 28 Jun 2016 05:03:14 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:33220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHovJ-0003c7-3m for Emacs-orgmode@gnu.org; Tue, 28 Jun 2016 05:03:13 -0400 Received: by mail-oi0-x231.google.com with SMTP id u201so13902951oie.0 for ; Tue, 28 Jun 2016 02:03:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --001a113e025808d0f8053652e867 Content-Type: text/plain; charset=UTF-8 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 --001a113e025808d0f8053652e867 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am using Emacs within a Cygwin en= vironment 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:

=C2= =A0 =C2=A0 Warning: notification for "check org-notify" behind sc= hedule!
=C2=A0 =C2=A0 Error: (dbus-error "No connection to b= us" :session) [2 times]
=C2=A0 =C2=A0 Warning: notification = for "check org-notify" behind schedule!
=C2=A0 =C2=A0 E= rror: (dbus-error "No connection to bus" :session)
=C2=A0 =C2=A0 ...

In eLisp, if I call=C2=A0(dbus= -init-bus :session), I got "dbus-init-bus: D-Bus error: "No conne= ction to bus", :session"; if I call=C2=A0(dbus-init-bus :system),= I got=C2=A0((:signal :system "org.freedesktop.DBus.Local" "= Disconnected") (nil "/org/freedesktop/DBus/Local" dbus-handl= e-bus-disconnect)).

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


Thanks,
David



--001a113e025808d0f8053652e867--