alexmurray / emacs-snap

GNU Emacs in a snap
https://snapcraft.io/emacs
71 stars 13 forks source link

atk-bridge: get_device_events_reply: unknown signature #60

Open gjm opened 1 year ago

gjm commented 1 year ago

I keep getting these warning messages on the terminal where I started Emacs.

** (emacs:820388): WARNING **: 09:37:47.808: atk-bridge: get_device_events_reply: unknown signature

Is it something I'm missing or have not/incorrectly configured?

I'm running latest/beta channel on Ubuntu 23.04.

alexmurray commented 1 year ago

Thanks for reporting this issue.

FWIW I'm also running 23.04 with emacs from the beta channel so I will see if I can reproduce this when I'm back in front of my computer.

I suspect these messages can be ignored but I'll see what I can do to try and eliminate them.

Are you running a particular desktop environment?

alexmurray commented 1 year ago

Perhaps we can try setting NO_AT_BRIDGE=1 as per https://bugzilla.redhat.com/show_bug.cgi?id=1706608#c8

alexmurray commented 1 year ago

Although this will disable the accessibility service integration for the emacs snap - it might be better to try and do this gracefully, or perhaps just try and filter these messages from the output of emacs.

alexmurray commented 1 year ago

For filtering we might be able to set G_MESSAGES_PREFIXED as per https://docs.gtk.org/glib/running.html

gjm commented 1 year ago

Perhaps we can try setting NO_AT_BRIDGE=1 as per https://bugzilla.redhat.com/show_bug.cgi?id=1706608#c8

I can confirm this removes the warnings...

alexmurray commented 1 year ago

So I can't reproduce this myself on Ubuntu 23.04 - do you happen to have the at-spi2-core deb package installed? This should be part of the default install on Ubuntu - if this package is installed then you should not see this warning message.

gjm commented 1 year ago

So I can't reproduce this myself on Ubuntu 23.04 - do you happen to have the at-spi2-core deb package installed? This should be part of the default install on Ubuntu - if this package is installed then you should not see this warning message.

It's installed

ii  at-spi2-core   2.48.0-1     amd64        Assistive Technology Service Provider Interface (D-Bus core)
choeppler commented 2 weeks ago

Getting the same error on Ubuntu 24.04 (running on WSL2). Confirmed that at-spi-core is installed (version 2.52.0-1build1)