You are not logged in.

#1 2023-03-20 19:42:47

misket
Member
Registered: 2023-03-20
Posts: 1

Speech dispatcher error message while trying to use text-to-speech

Using Arch Linux on a 2013 Macbook Air. Also using pipewire.

When I try to use text-to-speech engine whether on Firefox reader view or ╰─$ spd-say "speak this out loud"  I get the following sound message.

"This is a dummy output module. It seems your speech dispatcher is working, but you know this sound put module, except me. Please check out your log file to see what is the problem...."

Here is the logfile from "/run/user/1000/speech-dispatcher/log/speech-dispatcher.log"

 [Mon Mar 20 13:59:02 2023 : 873474] speechd:   Speech Dispatcher Logging to file /run/user/1000/speech-dispatcher/log//speech-dispatcher.log
[Mon Mar 20 13:59:02 2023 : 874442] speechd:  Configuration has been read from "/home/misket/.config/speech-dispatcher/speechd.conf"
[Mon Mar 20 13:59:02 2023 : 874740] speechd:   couldn't open directory /home/misket/.local/share/../libexec/speech-dispatcher-modules because of error No such file or directory

[Mon Mar 20 13:59:02 2023 : 939118] speechd:   couldn't open directory /usr/lib/speech-dispatcher-modules because of error No such file or directory

[Mon Mar 20 13:59:02 2023 : 939180] speechd:  Initializing output module festival with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_festival and configuration /home/misket/.config/speech-dispatcher/modules/festival.conf
[Mon Mar 20 13:59:02 2023 : 939189] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//festival.log
[Mon Mar 20 13:59:02 2023 : 939674] speechd:  Module festival loaded.
[Mon Mar 20 13:59:02 2023 : 945250] speechd: ERROR: Module festival failed to initialize. Reason: 
---------------
Communicating with Festival through a socket. Can't connect to Festival server. Check your configuration in etc/speech-dispatcher/modules/festival.conf for the specified host and port and check if Festival is really running there, e.g. with telnet. Please see documentation for more info.
---------------

[Mon Mar 20 13:59:02 2023 : 945320] speechd:  Initializing output module espeak-ng-mbrola with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_espeak-ng-mbrola and configuration /home/misket/.config/speech-dispatcher/modules/espeak-ng-mbrola.conf
[Mon Mar 20 13:59:02 2023 : 945329] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//espeak-ng-mbrola.log
[Mon Mar 20 13:59:02 2023 : 945834] speechd:  Module espeak-ng-mbrola loaded.
[Mon Mar 20 13:59:02 2023 : 947191] speechd: ERROR: Bad syntax from output module espeak-ng-mbrola 1
[Mon Mar 20 13:59:02 2023 : 947271] speechd:  Initializing output module espeak-ng with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_espeak-ng and configuration /home/misket/.config/speech-dispatcher/modules/espeak-ng.conf
[Mon Mar 20 13:59:02 2023 : 947281] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//espeak-ng.log
[Mon Mar 20 13:59:02 2023 : 947719] speechd:  Module espeak-ng loaded.
[Mon Mar 20 13:59:02 2023 : 947916] speechd: ERROR: Bad syntax from output module espeak-ng 1
[Mon Mar 20 13:59:02 2023 : 948223] speechd:  Initializing output module dummy with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_dummy and configuration /etc/speech-dispatcher/modules/dummy.conf
[Mon Mar 20 13:59:02 2023 : 948238] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//dummy.log
[Mon Mar 20 13:59:02 2023 : 948692] speechd:  Module dummy loaded.
[Mon Mar 20 13:59:02 2023 : 950941] speechd:  Module dummy started successfully with message: 
---------------
Everything ok so far.
---------------

[Mon Mar 20 13:59:02 2023 : 952375] speechd:  Error: Module reported error in request from speechd (code 3xx): 300-Opening sound device failed. Reason: Cannot open plugin server. error: file not found. 
300 MODULE ERROR
.
[Mon Mar 20 13:59:02 2023 : 989473] speechd: LINE here:|200-dummy	en	none|
[Mon Mar 20 13:59:02 2023 : 989494] speechd: LINE here:|200 OK VOICE LIST SENT|
[Mon Mar 20 13:59:02 2023 : 989540] speechd:   Speech Dispatcher Logging to file /run/user/1000/speech-dispatcher/log//speech-dispatcher.log
[Mon Mar 20 13:59:02 2023 : 989558] speechd:   Speech Dispatcher started with 1 output module
[Mon Mar 20 13:59:02 2023 : 990660] speechd: Speech Dispatcher started and waiting for clients ...
[Mon Mar 20 13:59:02 2023 : 993362] speechd: LINE here:|200-dummy	en	none|
[Mon Mar 20 13:59:02 2023 : 993376] speechd: LINE here:|200 OK VOICE LIST SENT|
[Mon Mar 20 18:23:33 2023 : 962739] speechd: Terminating...
[Mon Mar 20 18:23:33 2023 : 962810] speechd:  Closing open connections...
[Mon Mar 20 18:23:33 2023 : 964866] speechd:  Closing open output modules...
[Mon Mar 20 18:23:33 2023 : 964882] speechd:   Unloading module name=dummy
[Mon Mar 20 18:23:33 2023 : 964892] speechd:   Closing module "dummy"...
[Mon Mar 20 18:23:33 2023 : 967630] speechd: ERROR: waitpid() failed when waiting for child (module).
[Mon Mar 20 18:23:33 2023 : 967659] speechd:  Closing server connection...
[Mon Mar 20 18:23:33 2023 : 967706] speechd:  Speech Dispatcher terminated correctly
[Mon Mar 20 21:43:31 2023 : 408800] speechd:   Speech Dispatcher Logging to file /run/user/1000/speech-dispatcher/log//speech-dispatcher.log
[Mon Mar 20 21:43:31 2023 : 409611] speechd:  Configuration has been read from "/home/misket/.config/speech-dispatcher/speechd.conf"
[Mon Mar 20 21:43:31 2023 : 409717] speechd:   couldn't open directory /home/misket/.local/share/../libexec/speech-dispatcher-modules because of error No such file or directory

[Mon Mar 20 21:43:31 2023 : 463472] speechd:   couldn't open directory /usr/lib/speech-dispatcher-modules because of error No such file or directory

[Mon Mar 20 21:43:31 2023 : 463535] speechd:  Initializing output module festival with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_festival and configuration /home/misket/.config/speech-dispatcher/modules/festival.conf
[Mon Mar 20 21:43:31 2023 : 463541] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//festival.log
[Mon Mar 20 21:43:31 2023 : 463994] speechd:  Module festival loaded.
[Mon Mar 20 21:43:31 2023 : 466765] speechd: ERROR: Module festival failed to initialize. Reason: 
---------------
Communicating with Festival through a socket. Can't connect to Festival server. Check your configuration in etc/speech-dispatcher/modules/festival.conf for the specified host and port and check if Festival is really running there, e.g. with telnet. Please see documentation for more info.
---------------

[Mon Mar 20 21:43:31 2023 : 467051] speechd:  Initializing output module espeak-ng-mbrola with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_espeak-ng-mbrola and configuration /home/misket/.config/speech-dispatcher/modules/espeak-ng-mbrola.conf
[Mon Mar 20 21:43:31 2023 : 467071] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//espeak-ng-mbrola.log
[Mon Mar 20 21:43:31 2023 : 467704] speechd:  Module espeak-ng-mbrola loaded.
[Mon Mar 20 21:43:31 2023 : 468813] speechd: ERROR: Bad syntax from output module espeak-ng-mbrola 1
[Mon Mar 20 21:43:31 2023 : 468874] speechd:  Initializing output module espeak-ng with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_espeak-ng and configuration /home/misket/.config/speech-dispatcher/modules/espeak-ng.conf
[Mon Mar 20 21:43:31 2023 : 468881] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//espeak-ng.log
[Mon Mar 20 21:43:31 2023 : 469252] speechd:  Module espeak-ng loaded.
[Mon Mar 20 21:43:31 2023 : 469597] speechd: ERROR: Bad syntax from output module espeak-ng 1
[Mon Mar 20 21:43:31 2023 : 469813] speechd:  Initializing output module dummy with binary /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_dummy and configuration /etc/speech-dispatcher/modules/dummy.conf
[Mon Mar 20 21:43:31 2023 : 469824] speechd:   Output module is logging to file /run/user/1000/speech-dispatcher/log//dummy.log
[Mon Mar 20 21:43:31 2023 : 470281] speechd:  Module dummy loaded.
[Mon Mar 20 21:43:31 2023 : 472310] speechd:  Module dummy started successfully with message: 
---------------
Everything ok so far.
---------------

[Mon Mar 20 21:43:31 2023 : 473444] speechd:  Error: Module reported error in request from speechd (code 3xx): 300-Opening sound device failed. Reason: Cannot open plugin server. error: file not found. 
300 MODULE ERROR
.
[Mon Mar 20 21:43:31 2023 : 503321] speechd: LINE here:|200-dummy	en	none|
[Mon Mar 20 21:43:31 2023 : 503342] speechd: LINE here:|200 OK VOICE LIST SENT|
[Mon Mar 20 21:43:31 2023 : 503386] speechd:   Speech Dispatcher Logging to file /run/user/1000/speech-dispatcher/log//speech-dispatcher.log
[Mon Mar 20 21:43:31 2023 : 503408] speechd:   Speech Dispatcher started with 1 output module
[Mon Mar 20 21:43:31 2023 : 504339] speechd: Speech Dispatcher started and waiting for clients ...
[Mon Mar 20 21:43:31 2023 : 506916] speechd: LINE here:|200-dummy	en	none|
[Mon Mar 20 21:43:31 2023 : 506927] speechd: LINE here:|200 OK VOICE LIST SENT|
[Mon Mar 20 21:44:03 2023 : 19396] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/gender-neutral.dic': No such file or directory
[Mon Mar 20 21:44:03 2023 : 19437] speechd: Failed to load symbols 'gender-neutral.dic' for locale 'en'
[Mon Mar 20 21:44:03 2023 : 19491] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/font-variants.dic': No such file or directory
[Mon Mar 20 21:44:03 2023 : 19501] speechd: Failed to load symbols 'font-variants.dic' for locale 'en'
[Mon Mar 20 21:44:03 2023 : 20037] speechd: Loading NUL byte entry is not yet supported
[Mon Mar 20 21:44:03 2023 : 20045] speechd: Invalid line in file /usr/share/speech-dispatcher/locale/en/symbols.dic: \0	blank	char	# null
[Mon Mar 20 21:44:03 2023 : 20972] speechd: Loading NUL byte entry is not yet supported
[Mon Mar 20 21:44:03 2023 : 20982] speechd: Invalid line in file /usr/share/speech-dispatcher/locale/base/symbols.dic: \0	blank	char	# null
[Mon Mar 20 21:44:03 2023 : 29808] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/base/emojis.dic': No such file or directory
[Mon Mar 20 21:44:03 2023 : 41567] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/orca.dic': No such file or directory
[Mon Mar 20 21:44:03 2023 : 41579] speechd: Failed to load symbols 'orca.dic' for locale 'en'
[Mon Mar 20 21:44:03 2023 : 41591] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/orca-chars.dic': No such file or directory
[Mon Mar 20 21:44:03 2023 : 41596] speechd: Failed to load symbols 'orca-chars.dic' for locale 'en'
[Mon Mar 20 21:50:12 2023 : 218906] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/gender-neutral.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 218936] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/gender-neutral.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 218946] speechd: Failed to load symbols 'gender-neutral.dic' for locale 'en_US'
[Mon Mar 20 21:50:12 2023 : 218956] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/font-variants.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 218965] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/font-variants.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 218970] speechd: Failed to load symbols 'font-variants.dic' for locale 'en_US'
[Mon Mar 20 21:50:12 2023 : 218978] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/symbols.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 219022] speechd: Loading NUL byte entry is not yet supported
[Mon Mar 20 21:50:12 2023 : 219027] speechd: Invalid line in file /usr/share/speech-dispatcher/locale/en/symbols.dic: \0	blank	char	# null
[Mon Mar 20 21:50:12 2023 : 220116] speechd: Loading NUL byte entry is not yet supported
[Mon Mar 20 21:50:12 2023 : 220123] speechd: Invalid line in file /usr/share/speech-dispatcher/locale/base/symbols.dic: \0	blank	char	# null
[Mon Mar 20 21:50:12 2023 : 221239] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/emojis.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 224260] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/base/emojis.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 243808] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/orca.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 243838] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/orca.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 243847] speechd: Failed to load symbols 'orca.dic' for locale 'en_US'
[Mon Mar 20 21:50:12 2023 : 243869] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en_US/orca-chars.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 243886] speechd: Failed to open file '/usr/share/speech-dispatcher/locale/en/orca-chars.dic': No such file or directory
[Mon Mar 20 21:50:12 2023 : 243895] speechd: Failed to load symbols 'orca-chars.dic' for locale 'en_US'
 

Offline

#2 2023-09-18 09:41:03

Proziam
Member
Registered: 2023-09-18
Posts: 1

Re: Speech dispatcher error message while trying to use text-to-speech

Do you have espeakup installed?

EDIT - For those arriving here from their search engine of choice:
The most common cause of these errors is that espeakup isn't installed.

https://archlinux.org/packages/extra/x86_64/espeakup/

Last edited by Proziam (2023-09-18 09:45:28)

Offline

#3 2023-09-18 11:40:17

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Speech dispatcher error message while trying to use text-to-speech

The OP has not been back since March, so I am going to consider this thread abandoned and close it now.

Offline

Board footer

Powered by FluxBB