"The name org.a11y.Bus was not provided by any .service files" with multiple applications

  • Open
  • quality assurance status badge
Details
3 participants
  • 宋文武
  • Ludovic Courtès
  • ng0
Owner
unassigned
Submitted by
ng0
Severity
normal

Debbugs page

N
(address . bug-guix@gnu.org)
20170814192808.5ppgwpahwe4mre5h@abyayala
Upon starting for example emacs in spectrwm I get this message:
[1] Done emacs
user@abyayala ~$
** (emacs-25-2:19121): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

It works alright, but I have seen the exact same message while
trying to figure out why mate-terminal does not start.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmR+cgACgkQ4i+bv+40
hYhcdg//YXu0vmnR4TwzwkrniLy5dek8Q12WyyIGg+7iai8ljzXSeDmq/3iboOZJ
vLIh+euM8dPApWWegONEQyYvutv6IFmjS3c71A8tooUd3d0A6QnumlLK9cUg2Ihi
YvDWDuxE9g/+iBVuFG/5dlyKo87OVg6xx1vZmJnGGaAGRvGuDOv2LPkrf7zogPjg
sDJLl3oTkPBWarKm6E3C1SizDtv+FfJuLsXJyXGjsms4bgJuHDmlBz0x/Gj8Zc/I
oeFm3CbZk42IdYHNR4Hr5S+nycU93c8GeGswrbk/BeO7DQ94g3IIXshecgyJHJog
ZrNh0Guef1yLJbVdHYfqsbKhKMXH944hrjeFft95oj8/KEZCcTFjlrUpdnBqIK+f
YJxoRM7YHzrPjiLulYIZwKfCGlLL6JtqRAe1bPaUBX/5xoO2mMpm5M6P7p15lKjV
vXBLBspyYhCv0zlbg7SeL0SD6h+4DicJSxYGJYxApPG9hqC0qC6DwvdKcUA7sWru
asTT8JMfTECrUcbb6iQHmr5XeEX1IMgGXo6//4zuKljbGBCjam9EFcpQGoooMLMt
rC6ghPTXeqjc084PnLBXex1Iubp2qQY/X5f0o4x4x2gSlPdKcq8te4UULIckruAC
RF+RLxQbiuX9HIz3+ut9xCsHk4DDXC2gp/da2EqkaNmUUeSBO+4=
=4/X8
-----END PGP SIGNATURE-----


N
(address . 28088@debbugs.gnu.org)
20170814195645.ctqil2qdcusduvy5@abyayala
ng0 transcribed 1.6K bytes:
Toggle quote (13 lines)
> Upon starting for example emacs in spectrwm I get this message:
> [1] Done emacs
> user@abyayala ~$
> ** (emacs-25-2:19121): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> It works alright, but I have seen the exact same message while
> trying to figure out why mate-terminal does not start.
> --
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org

It is worth mentioning that this only happens with a
desktop-services ressembling services list + no xfce-service
or gnome-service in the system config.

Reconfiguring and adding GNOME, switching tp GNOME makes
this message not appear. We need to narrow down where
this error comes from.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmSAH0ACgkQ4i+bv+40
hYikNw//chTb0hfWRt5UayfymA4q8TLgrnyEyrW3CcYmnEgm/OWAl46S7+5LbweM
5kfrStgZocG5pSk0gd5L94n8FqO79042/8Xtud4hR2O6Nd98TJFJ3vsU6wZYI3S2
9FOplNyCwQjrL4bovkzC0rPq/JLnfWR0rBCfqLoVDYCTlBvhRFBFP5QmSZb7VnX6
r7OuqbrfnBVREi0V33+bj7L/460t/Ac98Bjp3fQwHLt91XXv9TlZ5V1KYiPFlXd9
AsDSPLYw6jZJwCi4quUPzR8ueCmHfUjMYfnzpwcjG9bCjNDA/tBW9fQtRX58Dekn
HAlzzFcNUaZYhGdES62elZ+7izMXNOGQnokQ+oAgpFdldd2H4lO0C+LupXfAGEca
Uyn+LG6ogTQZSL8HE7zzOGtgmwPwciy729gOvb70JItZUcvvgSCNgG0jWaeD89Fh
Oz38Q2gRf6vU5OMiz7JebpInMk/V3dHkUGTvi+YU22zLh7N/vLJjHWjFg2kqC2li
v/EPcDNlhrzRL6lwOHsMz9btBnsJLt7pshUFWQo/cZ/ZNM0zUxoNqbPhF11CHk9C
xB3zlucrimtEft4XMpgs6lkjk7VcAfjemN9cCZ6C0j14rfk7wqMz3IIKsUMxqQKi
mPr0Ilozlri2fGjdqeqAAoPyKzbL5ZVVvfLXdZVUqTyKr/sfa0o=
=MsWh
-----END PGP SIGNATURE-----


宋
宋文武 wrote on 23 Aug 2017 06:53
(address . 28088@debbugs.gnu.org)
87h8wys83v.fsf@member.fsf.org
ng0 <ng0@infotropique.org> writes:

Toggle quote (24 lines)
> ng0 transcribed 1.6K bytes:
>> Upon starting for example emacs in spectrwm I get this message:
>> [1] Done emacs
>> user@abyayala ~$
>> ** (emacs-25-2:19121): WARNING **: Error retrieving accessibility
>> bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>>
>> It works alright, but I have seen the exact same message while
>> trying to figure out why mate-terminal does not start.
>> --
>> ng0
>> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
>> GnuPG: https://n0is.noblogs.org/my-keys
>> https://www.infotropique.org https://krosos.org
>
> It is worth mentioning that this only happens with a
> desktop-services ressembling services list + no xfce-service
> or gnome-service in the system config.
>
> Reconfiguring and adding GNOME, switching tp GNOME makes
> this message not appear. We need to narrow down where
> this error comes from.

GTK+ applications will provide accessibility support over this dbus
service, so the AT-SPI clients (screen reader etc.) could use them.

And this 'org.a11y.Bus' service can be auto activated by the dbus
session daemon if the 'at-spi2-core' package is available. If not,
we'll get thoese warnning from applications.

Usually they're harmless, and can be suppressed by set the environment
variable 'NO_AT_BRIGE=1'.
L
L
Ludovic Courtès wrote on 2 Sep 2017 15:09
(name . 宋文武)(address . iyzsong@member.fsf.org)(address . 28088@debbugs.gnu.org)
8760d0u50l.fsf@gnu.org
Hi!

iyzsong@member.fsf.org (宋文武) skribis:

Toggle quote (7 lines)
> GTK+ applications will provide accessibility support over this dbus
> service, so the AT-SPI clients (screen reader etc.) could use them.
>
> And this 'org.a11y.Bus' service can be auto activated by the dbus
> session daemon if the 'at-spi2-core' package is available. If not,
> we'll get thoese warnning from applications.

It does sound like our GuixSD setup fails to activate org.a11y.Bus
though. Should we add a service in %desktop-services that extends
‘dbus-root-service-type’ with ‘at-spi2-core’ to ensure that
auto-activation works?

I think we should strive to provide accessible environments when
possible, as with GNOME.

Thanks,
Ludo’.
宋
宋文武 wrote on 2 Sep 2017 20:11
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 28088@debbugs.gnu.org)
87fuc4bhnt.fsf@member.fsf.org
ludo@gnu.org (Ludovic Courtès) writes:

Toggle quote (16 lines)
> Hi!
>
> iyzsong@member.fsf.org (宋文武) skribis:
>
>> GTK+ applications will provide accessibility support over this dbus
>> service, so the AT-SPI clients (screen reader etc.) could use them.
>>
>> And this 'org.a11y.Bus' service can be auto activated by the dbus
>> session daemon if the 'at-spi2-core' package is available. If not,
>> we'll get thoese warnning from applications.
>
> It does sound like our GuixSD setup fails to activate org.a11y.Bus
> though. Should we add a service in %desktop-services that extends
> ‘dbus-root-service-type’ with ‘at-spi2-core’ to ensure that
> auto-activation works?

It's not a dbus system service, we can extend 'profile-service-package'
with 'at-spi2-core' to make it available for the user's dbus session
daemon.

Toggle quote (4 lines)
>
> I think we should strive to provide accessible environments when
>possible, as with GNOME.

Yes, but without a client (we only have 'orca') the AT-SPI service alone
is not useful, maybe we should add Orca to both GNOME and Xfce? (I'm not
a user of any, so can't be sure.)
L
L
Ludovic Courtès wrote on 3 Sep 2017 12:14
(name . 宋文武)(address . iyzsong@member.fsf.org)(address . 28088@debbugs.gnu.org)
87o9qrsifx.fsf@gnu.org
Hello!

iyzsong@member.fsf.org (宋文武) skribis:

Toggle quote (22 lines)
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hi!
>>
>> iyzsong@member.fsf.org (宋文武) skribis:
>>
>>> GTK+ applications will provide accessibility support over this dbus
>>> service, so the AT-SPI clients (screen reader etc.) could use them.
>>>
>>> And this 'org.a11y.Bus' service can be auto activated by the dbus
>>> session daemon if the 'at-spi2-core' package is available. If not,
>>> we'll get thoese warnning from applications.
>>
>> It does sound like our GuixSD setup fails to activate org.a11y.Bus
>> though. Should we add a service in %desktop-services that extends
>> ‘dbus-root-service-type’ with ‘at-spi2-core’ to ensure that
>> auto-activation works?
>
> It's not a dbus system service, we can extend 'profile-service-package'
> with 'at-spi2-core' to make it available for the user's dbus session
> daemon.

Right. In fact our ‘gnome’ package already propagates ‘at-spi2-core’
but not Orca. Should we do this:
Toggle diff (12 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 43547961b..a95214317 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5827,6 +5827,7 @@ associations for GNOME.")
("font-cantarell" ,font-cantarell)
("font-dejavu" ,font-dejavu)
("at-spi2-core" ,at-spi2-core)
+ ("orca" ,orca)
("dbus" ,dbus)
("dconf" ,dconf)
("desktop-file-utils" ,desktop-file-utils)
?

What about Xfce?

There’s still a problem for people not using GNOME/Xfce, but maybe we
can’t address it in the same way (and maybe Orca is not the right tool
either for those users; I see that we lack brltty for instance.)

Thanks,
Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 28088@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 28088
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch