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

Re: Speech-dispatcher crash while using Unix sockets methodd



Hello Mgr. Janusz,

Orca only support the default connection method to connect to Speech-Dispatcher. By default, unix socket is used.

What changes do you have made to the configuration to get it to crash?

Best regards,
Alex.

Le 02/11/2018 à 20:10, Mgr. Janusz Chmiel a écrit :
Dear specialists,
Hee is The example of Speech-dispatcher crash, while using Unix sockets communication method. I will try to specify Inet sockets instead to find out, if those errors will also occur. Sure, I Am aware, that it is very probably caused by The fact, that Unix sockets are working no so smoothly, like when Linux kernel only controls it. I share them with Android kernel so may be, that CPu is switching very fast between some registers. File "/usr/lib/python3/dist-packages/orca/input_event.py", line 560, in _present
     self._script.presentationInterrupt()
  File "/usr/lib/python3/dist-packages/orca/scripts/default.py", line 3664, in presentationInte
rrupt
     speech.stop()
   File "/usr/lib/python3/dist-packages/orca/speech.py", line 288, in stop
     _speechserver.stop()
  File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 532, in stop
     self._cancel()
  File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 389, in _cancel
     self._send_command(self._client.cancel)
  File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 196, in _send_com
mand
     self.reset()
  File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 540, in reset
     self._init()
  File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 165, in _init
     self._client = client = speechd.SSIPClient('Orca', component=self._id)
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 576, in __init__
     self._connect_with_autospawn(connection_args, autospawn)
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 592, in _connect_with_autospawn
     raise ce
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 582, in _connect_with_autospawn
     self._conn = _SSIP_Connection(**connection_args)
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 193, in __init__
     original_exception = ex)
speechd.client.SSIPCommunicationError: Can't open socket using method unix_socket
Original error: [Errno 111] Connection refused
Additional error: Server refused to autospawn, stating this reason: b''





Reply to: