public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* EMACS: failed to commit changes to dconf: The connection is closed
@ 2022-05-14  0:38 Jim Reisert AD1C
  2022-05-14  2:04 ` Ken Brown
  2022-05-14  4:44 ` Brian Inglis
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2022-05-14  0:38 UTC (permalink / raw)
  To: cygwin

I'm running GNU Emacs 28.1 (build 2, x86_64-pc-cygwin, GTK+ Version
3.22.28, cairo version 1.17.4)  of 2022-04-13 in an xterm in Cygwin X.

I have a file open.  If I click on File | Save As... I get several
copies of the following message:

    (emacs:2775): dconf-WARNING **: failed to commit changes to dconf:
The connection is closed

What's happening here?

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: EMACS: failed to commit changes to dconf: The connection is closed
  2022-05-14  0:38 EMACS: failed to commit changes to dconf: The connection is closed Jim Reisert AD1C
@ 2022-05-14  2:04 ` Ken Brown
  2022-05-14  4:44 ` Brian Inglis
  1 sibling, 0 replies; 6+ messages in thread
From: Ken Brown @ 2022-05-14  2:04 UTC (permalink / raw)
  To: cygwin

On 5/13/2022 8:38 PM, Jim Reisert AD1C wrote:
> I'm running GNU Emacs 28.1 (build 2, x86_64-pc-cygwin, GTK+ Version
> 3.22.28, cairo version 1.17.4)  of 2022-04-13 in an xterm in Cygwin X.
> 
> I have a file open.  If I click on File | Save As... I get several
> copies of the following message:
> 
>      (emacs:2775): dconf-WARNING **: failed to commit changes to dconf:
> The connection is closed
> 
> What's happening here?

Sorry, no idea.  I can't reproduce it.  Does it happen with emacs -Q?  Is 
dconf-service running when you get this message?  It's running on my system.

Ken

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: EMACS: failed to commit changes to dconf: The connection is closed
  2022-05-14  0:38 EMACS: failed to commit changes to dconf: The connection is closed Jim Reisert AD1C
  2022-05-14  2:04 ` Ken Brown
@ 2022-05-14  4:44 ` Brian Inglis
  2022-05-14 17:32   ` Jim Reisert AD1C
  1 sibling, 1 reply; 6+ messages in thread
From: Brian Inglis @ 2022-05-14  4:44 UTC (permalink / raw)
  To: cygwin

On 2022-05-13 18:38, Jim Reisert AD1C wrote:
> I'm running GNU Emacs 28.1 (build 2, x86_64-pc-cygwin, GTK+ Version
> 3.22.28, cairo version 1.17.4)  of 2022-04-13 in an xterm in Cygwin X.
> I have a file open.  If I click on File | Save As... I get several
> copies of the following message:
> (emacs:2775): dconf-WARNING **: failed to commit changes to dconf:
> The connection is closed
> What's happening here?

Check the ownership and permissions of common local X directories and 
files e.g.

$ ls -dlR ~/{.*/dconf,.dbus{,/*}}{,/*}
drwxr-xr-x 1 $USER $GROUP    0 Aug  5  2019 $HOME/.cache/dconf
-rw-r--r-- 1 $USER $GROUP    2 Mar 28  2020 $HOME/.cache/dconf/user
drwxr-xr-x 1 $USER $GROUP    0 Feb 20  2020 $HOME/.config/dconf
-rw-r--r-- 1 $USER $GROUP 1469 Feb 20  2020 $HOME/.config/dconf/user
drwxr-xr-x 1 $USER $GROUP    0 Mar 27  2020 $HOME/.dbus
drwxr-xr-x 1 $USER $GROUP    0 Jul 16  2020 $HOME/.dbus/session-bus
-rw-r--r-- 1 $USER $GROUP  461 May 13 16:37 $HOME/.dbus/session-bus/ 
4f296f2ddbc2ee9b3ad5647a51930970-0
-rw-r--r-- 1 $USER $GROUP  463 Jul 16  2020 $HOME/.dbus/session-bus/ 
4f296f2ddbc2ee9b3ad5647a51930970-1

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: EMACS: failed to commit changes to dconf: The connection is closed
  2022-05-14  4:44 ` Brian Inglis
@ 2022-05-14 17:32   ` Jim Reisert AD1C
  2022-05-14 17:39     ` Jim Reisert AD1C
  2022-05-15  1:40     ` Ken Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2022-05-14 17:32 UTC (permalink / raw)
  To: cygwin

On Fri, May 13, 2022 at 8:05 PM Ken Brown wrote:

> Sorry, no idea.  I can't reproduce it.  Does it happen with emacs -Q?  Is
> dconf-service running when you get this message?  It's running on my system.

It still happens with "emacs -Q"

dconf-service is *not* running.  Should it be?  How would I start it?

On Fri, May 13, 2022 at 10:44 PM Brian Inglis wrote:

> Check the ownership and permissions of common local X directories and
> files e.g.

They look good here:

# ls -dlR ~/{.*/dconf,.dbus{,/*}}{,/*}

drwxrwx---+ 1 jjrei jjrei   0 Sep 24  2015 /cygdrive/d/Home/.cache/dconf
-rwxrwx---+ 1 jjrei jjrei   2 May 14 11:31 /cygdrive/d/Home/.cache/dconf/user
drwxrwx---+ 1 jjrei jjrei   0 Sep 24  2015 /cygdrive/d/Home/.dbus
drwxrwx---+ 1 jjrei jjrei   0 Apr 24 08:55 /cygdrive/d/Home/.dbus/session-bus
drwxrwx---+ 1 jjrei jjrei   0 Apr 24 08:55 /cygdrive/d/Home/.dbus/session-bus

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: EMACS: failed to commit changes to dconf: The connection is closed
  2022-05-14 17:32   ` Jim Reisert AD1C
@ 2022-05-14 17:39     ` Jim Reisert AD1C
  2022-05-15  1:40     ` Ken Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2022-05-14 17:39 UTC (permalink / raw)
  To: cygwin

One other possibly-related piece. When I start emacs, I see this:

# emacs -Q counties.cpp

** (emacs:4784): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.a11y.Bus exited with status 1



-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: EMACS: failed to commit changes to dconf: The connection is closed
  2022-05-14 17:32   ` Jim Reisert AD1C
  2022-05-14 17:39     ` Jim Reisert AD1C
@ 2022-05-15  1:40     ` Ken Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Ken Brown @ 2022-05-15  1:40 UTC (permalink / raw)
  To: cygwin

On 5/14/2022 1:32 PM, Jim Reisert AD1C wrote:
> On Fri, May 13, 2022 at 8:05 PM Ken Brown wrote:
> 
>> Sorry, no idea.  I can't reproduce it.  Does it happen with emacs -Q?  Is
>> dconf-service running when you get this message?  It's running on my system.
> 
> It still happens with "emacs -Q"
> 
> dconf-service is *not* running.  Should it be?  How would I start it?

Never mind.  I generally have HexChat running, and it turns out that this starts 
dconf-service.  So I don't know of any reason why emacs would expect it to be 
running.

Is there actually a problem as far as you can tell, or is it just an annoying 
error message?  If the latter, I would just ignore it.

On 5/14/2022 1:39 PM, Jim Reisert AD1C wrote:
 > One other possibly-related piece. When I start emacs, I see this:
 >
 > # emacs -Q counties.cpp
 >
 > ** (emacs:4784): WARNING **: Error retrieving accessibility bus
 > address: org.freedesktop.DBus.Error.Spawn.ChildExited: Process
 > org.a11y.Bus exited with status 1

I've seen messages like this for years.  Again, I think you can safely ignore it.

Ken

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-15  1:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14  0:38 EMACS: failed to commit changes to dconf: The connection is closed Jim Reisert AD1C
2022-05-14  2:04 ` Ken Brown
2022-05-14  4:44 ` Brian Inglis
2022-05-14 17:32   ` Jim Reisert AD1C
2022-05-14 17:39     ` Jim Reisert AD1C
2022-05-15  1:40     ` Ken Brown

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).