[orca-list] Update: Upgrading Speech Dispatcher broke my Orca



As of this morning, after a fresh Orca build from master, I still have
no speech dispatcher support with the same dbus error on both my
systems.

This was working a few days ago, so I'm a bit flumoxed. However, it
seems to be some kind of permissions problem with SD, e.g.

janina@concerto 08:33:58 ~$spd-say hello
Failed to connect to Speech Dispatcher:
Error: Can't connect to unix socket
/home/janina/.cache/speech-dispatcher/speechd.sock: Connection refused.
Autospawn: Server successfully autospawned

janina@concerto 08:43:23 ~$ls -l
/home/janina/.cache/speech-dispatcher/speechd.sock
srwxrwx--- 1 janina janina 0 Dec 29 08:34
/home/janina/.cache/speech-dispatcher/speechd.sock

NOTE: I hear a pop from the relevant speaker which suggests to me that
pipewire/alsa is making the device available.

Best,

Janina

Orca screen reader developers writes:
Hello All:

I have two Linux systems, both running Arch and both fully updated. The
newer system is fine with Speech-Dispatcher 0.11.0-1 and the latest alsa
plus pipewire infrastructure. My older, 2012 era custom built machine is
not, though all the same packages are installed. The older machine was
running SD just fine until this latest upgrade.

See below for errors running from master.

Downgrading to the release Orca 41 package gives me:

janina@concerto 13:54:07 ~$export DISPLAY=:0
janina@concerto 13:54:14 ~$orca -r

(orca:2918): dbind-ERROR **: 13:54:20.403: AT-SPI: Couldn't connect to
accessibility bus. Is at-spi-bus-launcher running?
Trace/breakpoint trap (core dumped)
janina@concerto 13:54:20 ~$pgrep at-spi
2347
2384

On the other hand, there's a much longer error trace running master on
this same older system:

janina@concerto 09:14:30 ~$export DISPLAY=:0
janina@concerto 09:14:36 ~$orca -r
09:14:48.691127 - TIMEOUT: something has hung. Aborting.

  File "/usr/bin/orca", line 283, in <module>
    sys.exit(main())
  File "/usr/bin/orca", line 280, in main
    return orca.main()
  File "/usr/lib/python3.10/site-packages/orca/orca.py", line 818, in main
    init(pyatspi.Registry)
  File "/usr/lib/python3.10/site-packages/orca/orca.py", line 613, in init
    loadUserSettings()
  File "/usr/lib/python3.10/site-packages/orca/orca.py", line 436, in
loadUserSettings
    speech.init()
  File "/usr/lib/python3.10/site-packages/orca/speech.py", line 108, in init
    _initSpeechServer(moduleName,
  File "/usr/lib/python3.10/site-packages/orca/speech.py", line 92, in
_initSpeechServer
    _speechserver = factory.SpeechServer.getSpeechServer()
  File "/usr/lib/python3.10/site-packages/orca/speechdispatcherfactory.py",
line 110, in getSpeechServer
    return SpeechServer._getSpeechServer(thisId)
  File "/usr/lib/python3.10/site-packages/orca/speechdispatcherfactory.py",
line 102, in _getSpeechServer
    cls(serverId)
  File "/usr/lib/python3.10/site-packages/orca/speechdispatcherfactory.py",
line 161, in __init__
    self._init()
  File "/usr/lib/python3.10/site-packages/orca/speechdispatcherfactory.py",
line 172, in _init
    self._client = client = speechd.SSIPClient('Orca', component=self._id)
  File "/usr/lib/python3.10/site-packages/speechd/client.py", line 578, in
__init__
    self._connect_with_autospawn(connection_args, autospawn)
  File "/usr/lib/python3.10/site-packages/speechd/client.py", line 591, in
_connect_with_autospawn
    self._server_spawn(connection_args)
  File "/usr/lib/python3.10/site-packages/speechd/client.py", line 681, in
_server_spawn
    stdout_reply, stderr_reply = server.communicate()
  File "/usr/lib/python3.10/subprocess.py", line 1149, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.10/subprocess.py", line 2000, in _communicate
    ready = selector.select(timeout)
  File "/usr/lib/python3.10/selectors.py", line 416, in select
    fd_event_list = self._selector.poll(timeout)
  File "/usr/lib/python3.10/site-packages/orca/orca.py", line 680, in timeout
    debug.printStack(debug.LEVEL_SEVERE)
  File "/usr/lib/python3.10/site-packages/orca/debug.py", line 196, in
printStack
    traceback.print_stack(None, 100, debugFile)

09:14:48.699534 - INFO: Desktop has 14 apps:
09:14:53.579684 -   1. WARNING: Possible hang (pid: 624) mate-session  file
descriptors: 25
09:14:53.639721 -   2. mate-settings-daemon (pid: 661)
/usr/lib/mate-settings-daemon/mate-settings-daemon  file descriptors: 23
09:14:53.660063 -   3. marco (pid: 669) marco  file descriptors: 17
09:14:53.680507 -   4. mate-panel (pid: 683) mate-panel  file descriptors: 16
09:14:53.700694 -   5. wnck-applet (pid: 719) /usr/lib/mate-panel/wnck-applet
file descriptors: 14
09:14:53.719977 -   6. mate-maximus (pid: 731) mate-maximus  file descriptors:
14
09:14:53.739669 -   7. polkit-mate-authentication-agent-1 (pid: 754)
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1  file descriptors: 14
09:14:53.758711 -   8. mate-screensaver (pid: 740) mate-screensaver  file
descriptors: 17
09:14:53.777182 -   9. mate-volume-control-status-icon (pid: 739)
mate-volume-control-status-icon  file descriptors: 15
09:14:53.794158 -  10. mate-power-manager (pid: 736) mate-power-manager  file
descriptors: 17
09:14:53.810845 -  11. evolution-alarm-notify (pid: 727)
/usr/lib/evolution-data-server/evolution-alarm-notify  file descriptors: 16
09:14:53.827706 -  12. clock-applet (pid: 995)
/usr/lib/mate-panel/clock-applet  file descriptors: 17
09:14:53.843988 -  13. notification-area-applet (pid: 994)
/usr/lib/mate-panel/notification-area-applet  file descriptors: 15
09:14:53.871786 -  14. caja (pid: 711) /usr/bin/caja  file descriptors: 22
09:14:53.894015 - INFO: no pid for apport
Killed
janina@concerto 09:14:53 ~$
-- 

Janina Sajka
(she/her/hers)
https://linkedin.com/in/jsajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:     http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Co-Chair, Accessible Platform Architectures   http://www.w3.org/wai/apa

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html

-- 

Janina Sajka
(she/her/hers)
https://linkedin.com/in/jsajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:       http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Co-Chair, Accessible Platform Architectures     http://www.w3.org/wai/apa



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]