brailcom / speechd

Common high-level interface to speech synthesis
GNU General Public License v2.0
202 stars 61 forks source link

speech-dispatcher won't start on manjaro #640

Open ralyodio opened 2 years ago

ralyodio commented 2 years ago
$ sudo systemctl start speech-dispatcherd.service
Job for speech-dispatcherd.service failed because the control process exited with error code.
See "systemctl status speech-dispatcherd.service" and "journalctl -xeu speech-dispatcherd.service" for details.
ov 10 21:42:32 wiley speech-dispatcher[3128]: [Wed Nov 10 21:42:32 2021 : 132158] speechd: Speech Dispatcher 0.10.2 starting
Nov 10 21:42:32 wiley systemd[1]: speech-dispatcherd.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ An ExecStart= process belonging to unit speech-dispatcherd.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 10 21:42:32 wiley systemd[1]: speech-dispatcherd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit speech-dispatcherd.service has entered the 'failed' state with result 'exit-code'.
Nov 10 21:42:32 wiley systemd[1]: Failed to start Speech-Dispatcher an high-level device independent layer for speech synthesis..
░░ Subject: A start job for unit speech-dispatcherd.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit speech-dispatcherd.service has finished with a failure.
░░ 
░░ The job identifier is 1578 and the job result is failed.

I'm trying to get speech api to work in firefox. If I type the command to speak from the cli it works fine, but voices array is empty in firefox.

I think speech-dispatcher needs to be running but it won't start on manjaro

alex19EP commented 2 years ago

running sd through systemd, as far as I know, requires additional configuration and is generally not needed. what the output of spd-say -O on your system?

sthibaul commented 2 years ago

Hello,

Possibly this is just a duplicate of https://github.com/brailcom/speechd/issues/606 which is already fixed in master. Could you try the 0.11.0rc4 release to check that it is fixed there?

Also, please post the output of

spd-say -O

spd-say -L

and the content of your speech-dispatcher.log file, usually found in /run/user/1000/speech-dispatcher/log

Samuel

ralyodio commented 2 years ago
$ spd-say -O                      
OUTPUT MODULES

$ spd-say -L
Failed to get voice list.

http://sprunge.us/irRvMD

sthibaul commented 2 years ago

What shows up if you run the following?

echo INIT | /usr/lib/speech-dispatcher-modules/sd_espeak-ng