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

OpenSubmitted by ng0.
Details
3 participants
  • 宋文武
  • Ludovic Courtès
  • ng0
Owner
unassigned
Severity
normal
N
(address . bug-guix@gnu.org)
20170814192808.5ppgwpahwe4mre5h@abyayala
Upon starting for example emacs in spectrwm I get this message:[1] Done emacsuser@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 whiletrying to figure out why mate-terminal does not start.-- ng0GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588GnuPG: https://n0is.noblogs.org/my-keyshttps://www.infotropique.orghttps://krosos.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmR+cgACgkQ4i+bv+40hYhcdg//YXu0vmnR4TwzwkrniLy5dek8Q12WyyIGg+7iai8ljzXSeDmq/3iboOZJvLIh+euM8dPApWWegONEQyYvutv6IFmjS3c71A8tooUd3d0A6QnumlLK9cUg2IhiYvDWDuxE9g/+iBVuFG/5dlyKo87OVg6xx1vZmJnGGaAGRvGuDOv2LPkrf7zogPjgsDJLl3oTkPBWarKm6E3C1SizDtv+FfJuLsXJyXGjsms4bgJuHDmlBz0x/Gj8Zc/IoeFm3CbZk42IdYHNR4Hr5S+nycU93c8GeGswrbk/BeO7DQ94g3IIXshecgyJHJogZrNh0Guef1yLJbVdHYfqsbKhKMXH944hrjeFft95oj8/KEZCcTFjlrUpdnBqIK+fYJxoRM7YHzrPjiLulYIZwKfCGlLL6JtqRAe1bPaUBX/5xoO2mMpm5M6P7p15lKjVvXBLBspyYhCv0zlbg7SeL0SD6h+4DicJSxYGJYxApPG9hqC0qC6DwvdKcUA7sWruasTT8JMfTECrUcbb6iQHmr5XeEX1IMgGXo6//4zuKljbGBCjam9EFcpQGoooMLMtrC6ghPTXeqjc084PnLBXex1Iubp2qQY/X5f0o4x4x2gSlPdKcq8te4UULIckruACRF+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 adesktop-services ressembling services list + no xfce-serviceor gnome-service in the system config.
Reconfiguring and adding GNOME, switching tp GNOME makesthis message not appear. We need to narrow down wherethis error comes from.-- ng0GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588GnuPG: https://n0is.noblogs.org/my-keyshttps://www.infotropique.orghttps://krosos.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmSAH0ACgkQ4i+bv+40hYikNw//chTb0hfWRt5UayfymA4q8TLgrnyEyrW3CcYmnEgm/OWAl46S7+5LbweM5kfrStgZocG5pSk0gd5L94n8FqO79042/8Xtud4hR2O6Nd98TJFJ3vsU6wZYI3S29FOplNyCwQjrL4bovkzC0rPq/JLnfWR0rBCfqLoVDYCTlBvhRFBFP5QmSZb7VnX6r7OuqbrfnBVREi0V33+bj7L/460t/Ac98Bjp3fQwHLt91XXv9TlZ5V1KYiPFlXd9AsDSPLYw6jZJwCi4quUPzR8ueCmHfUjMYfnzpwcjG9bCjNDA/tBW9fQtRX58DeknHAlzzFcNUaZYhGdES62elZ+7izMXNOGQnokQ+oAgpFdldd2H4lO0C+LupXfAGEcaUyn+LG6ogTQZSL8HE7zzOGtgmwPwciy729gOvb70JItZUcvvgSCNgG0jWaeD89FhOz38Q2gRf6vU5OMiz7JebpInMk/V3dHkUGTvi+YU22zLh7N/vLJjHWjFg2kqC2liv/EPcDNlhrzRL6lwOHsMz9btBnsJLt7pshUFWQo/cZ/ZNM0zUxoNqbPhF11CHk9CxB3zlucrimtEft4XMpgs6lkjk7VcAfjemN9cCZ6C0j14rfk7wqMz3IIKsUMxqQKimPr0Ilozlri2fGjdqeqAAoPyKzbL5ZVVvfLXdZVUqTyKr/sfa0o==MsWh-----END PGP SIGNATURE-----

宋文武 wrote on 23 Aug 2017 15: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 dbusservice, so the AT-SPI clients (screen reader etc.) could use them.
And this 'org.a11y.Bus' service can be auto activated by the dbussession 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 environmentvariable 'NO_AT_BRIGE=1'.
L
L
Ludovic Courtès wrote on 3 Sep 2017 00: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.Busthough. Should we add a service in %desktop-services that extends‘dbus-root-service-type’ with ‘at-spi2-core’ to ensure thatauto-activation works?
I think we should strive to provide accessible environments whenpossible, as with GNOME.
Thanks,Ludo’.
宋文武 wrote on 3 Sep 2017 05: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 sessiondaemon.
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 aloneis not useful, maybe we should add Orca to both GNOME and Xfce? (I'm nota user of any, so can't be sure.)
L
L
Ludovic Courtès wrote on 3 Sep 2017 21: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.scmindex 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 wecan’t address it in the same way (and maybe Orca is not the right tooleither for those users; I see that we lack brltty for instance.)
Thanks,Ludo’.
?