[Tts-project] Bug#948679: speech-dispatcher: doesn't start, first due to /var/run/…/cache/… then Can't bind local socket
Thorsten Glaser
tg at mirbsd.de
Sat Jan 11 20:31:43 GMT 2020
Package: speech-dispatcher
Version: 0.9.1-3
Severity: important
I installed orca to test something, but it doesn’t read out anything.
Following https://wiki.debian.org/accessibility#Speech-Dispatcher
I edited the config file and tried to stop and start it:
# /etc/init.d/speech-dispatcher start
Starting Speech Dispatcher: speech-dispatcherln: failed to create symbolic link '/var/run/speech-dispatcher/.cache/speech-dispatcher/log': No such file or directory
Creating that as root leads to:
# /etc/init.d/speech-dispatcher start
Starting Speech Dispatcher: speech-dispatcher[Sat Jan 11 21:20:08 2020 : 170553] speechd: Speech Dispatcher 0.9.1 starting
Fatal error [speechd.c:849]:Can't bind local socket
The local socket appears to be in the filesystem, since after…
# chown -R speech-dispatcher /var/run/speech-dispatcher/
… it starts:
# /etc/init.d/speech-dispatcher start
Starting Speech Dispatcher: speech-dispatcher[Sat Jan 11 21:23:59 2020 : 214754] speechd: Speech Dispatcher 0.9.1 starting
.
This is likely too over-zealous, though…
Going on further (no sound output), the logs aren’t happy:
= dummy.log
Error opening configuration file '/etc/speech-dispatcher/modules/dummy.conf'
Sat Jan 11 21:27:33 2020 [275613] ALSA: Closing ALSA device
Sat Jan 11 21:27:33 2020 [275702] ALSA: ALSA closed.
= generic.log
Error opening configuration file '/etc/speech-dispatcher/modules/generic.conf'
Sat Jan 11 21:27:33 2020 [277118] ALSA: Closing ALSA device
Sat Jan 11 21:27:33 2020 [277214] ALSA: ALSA closed.
= mary-generic.log
/etc/speech-dispatcher/modules/mary-generic.conf:33: Missing argument to option 'GenericPunctNone'
Sat Jan 11 21:27:33 2020 [277118] ALSA: Closing ALSA device
Sat Jan 11 21:27:33 2020 [277214] ALSA: ALSA closed.
Line 33 reads:
33 GenericPunctNone ""
This seems to be not liked.
Commenting out that line fixes this issue…
root at tglase-nb:/var/log/speech-dispatcher # cat mary-generic.log
Sat Jan 11 21:30:19 2020 [279375] ALSA: Closing ALSA device
Sat Jan 11 21:30:19 2020 [279475] ALSA: ALSA closed.
… but still, no sound.
-- System Information:
Debian Release: bullseye/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages speech-dispatcher depends on:
ii adduser 3.118
ii init-system-helpers 1.57
ii libc6 2.29-7
ii libdotconf0 1.3-0.3
ii libglib2.0-0 2.62.4-1
ii libltdl7 2.4.6-11
ii libsndfile1 1.0.28-6
ii libspeechd2 0.9.1-3
ii lsb-base 11.1.0
ii speech-dispatcher-audio-plugins 0.9.1-3
Versions of packages speech-dispatcher recommends:
pn pulseaudio <none>
pn sound-icons <none>
pn speech-dispatcher-espeak-ng <none>
Versions of packages speech-dispatcher suggests:
pn espeak <none>
pn libttspico-utils <none>
pn mbrola <none>
pn speech-dispatcher-cicero <none>
pn speech-dispatcher-doc-cs <none>
pn speech-dispatcher-espeak <none>
pn speech-dispatcher-festival <none>
pn speech-dispatcher-flite <none>
-- Configuration Files:
/etc/speech-dispatcher/speechd.conf changed:
LogLevel 3
LogDir "default"
DefaultVolume 100
AudioOutputMethod "alsa"
DefaultModule espeak-ng
Include "clients/*.conf"
-- no debconf information
More information about the Tts-project
mailing list