speechd-discuss
[Top][All Lists]
Advanced

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

lsr can't connect to a device, speech-dispacher festival can't connect t


From: Gerhard Gaußling
Subject: lsr can't connect to a device, speech-dispacher festival can't connect to server
Date: Mon, 10 Aug 2009 21:09:42 +0200

Hello,

I try to get lsr and speech-dispacher to work on ubuntu 8.04 hardy.
lsr is not able to find a outputdevice:
~$ lsr -l debug -y "this is a test"
Linux Screen Reader ver. 0.5.3 rev. Mon Jun  4 17:21:12 UTC 2007
Copyright (c) 2005, 2007 IBM Corporation

No handlers could be found for logger "Device"
Said: this is a test


~$ sudo invoke-rc.d speech-dispatcher restart
[sudo] password for gerhard: 
 * Restarting Speech Dispatcher speech-dispatcher                               
Error: can't open logging file /var/log/speech-dispatcher//speechd.log! 
Using stdout.
[Mon Aug 10 20:32:53 2009 : 450290] speechd:  Speech Dispatcher Logging 
to file /var/log/speech-dispatcher//speechd.log
[Mon Aug 10 20:32:53 2009 : 450419] speechd: ERROR: Openning debug file 
for espeak failed: (error=-1) Permission denied
[...]
[Mon Aug 10 20:32:53 2009 : 728859] speechd: ERROR: Openning debug file 
for festival failed: (error=-1) Permission denied
[Mon Aug 10 20:32:53 2009 : 728872] speechd:  Initializing output module 
festival with binary /usr/lib/speech-dispatcher-modules//sd_festival 
and configuration /etc/speech-dispatcher//modules//festival.conf
[Mon Aug 10 20:32:53 2009 : 729000] speechd:  Output module is logging 
to standard error output (stderr)
[Mon Aug 10 20:32:53 2009 : 733319] speechd:  Module festival loaded.
festival_client: connect to server failed
[Mon Aug 10 20:32:53 2009 : 772075] speechd:  Error: Broken pipe to 
module.
[Mon Aug 10 20:32:53 2009 : 772093] speechd:   Output module working 
status: 0 (pid:19111)
[Mon Aug 10 20:32:53 2009 : 772118] speechd:  Output module terminated 
abnormally, probably crashed.
[Mon Aug 10 20:32:53 2009 : 772135] speechd:  Error: Broken pipe to 
module.
[Mon Aug 10 20:32:53 2009 : 772145] speechd:   Output module working 
status: 0 (pid:19111)
[Mon Aug 10 20:32:53 2009 : 772158] speechd:  Output module terminated 
abnormally, probably crashed.
[Mon Aug 10 20:32:53 2009 : 772194] 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/speechd-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.
---------------
[...]

Ok, I found out while writing this email that I have to start festival 
with the option --server before starting speech-dispatcher:

~$  festival --server
server    Mon Aug 10 20:59:30 2009 : Festival server started on port 
1314
 Mon Aug 10 20:59:51 2009 [375934] PulseAudio ERROR: 
CHECK_CONNECTED: !pulse_connected (retval=-1)
 Mon Aug 10 20:59:51 2009 [375978] PulseAudio ERROR: _pulse_close: error 
(_drain)
 Mon Aug 10 20:59:51 2009 [405296] PulseAudio ERROR: 
CHECK_CONNECTED: !pulse_connected (retval=-1)
 Mon Aug 10 20:59:51 2009 [405340] PulseAudio ERROR: _pulse_close: error 
(_drain)
client(1) Mon Aug 10 20:59:54 2009 : accepted from localhost

~$  sudo invoke-rc.d speech-dispatcher restart
[sudo] password for gerhard: 
 * Restarting Speech Dispatcher speech-dispatcher                               
Error: can't open logging file /var/log/speech-dispatcher//speechd.log! 
Using stdout.
[Mon Aug 10 20:59:54 2009 : 392021] speechd:  Speech Dispatcher Logging 
to file /var/log/speech-dispatcher//speechd.log
[Mon Aug 10 20:59:54 2009 : 392118] speechd: ERROR: Openning debug file 
for espeak failed: (error=-1) Permission denied
[...]
[Mon Aug 10 20:59:54 2009 : 486548] speechd: ERROR: Openning debug file 
for festival failed: (error=-1) Permission denied
[Mon Aug 10 20:59:54 2009 : 486561] speechd:  Initializing output module 
festival with binary /usr/lib/speech-dispatcher-modules//sd_festival 
and configuration /etc/speech-dispatcher//modules//festival.conf
[Mon Aug 10 20:59:54 2009 : 486731] speechd:  Output module is logging 
to standard error output (stderr)
[Mon Aug 10 20:59:54 2009 : 496630] speechd:  Module festival loaded.
[Mon Aug 10 20:59:54 2009 : 929416] speechd: LINE here:|200-kal_diphone 
en US|
[Mon Aug 10 20:59:54 2009 : 929441] speechd: LINE here:|200-don_diphone 
en BR|
[Mon Aug 10 20:59:54 2009 : 929453] speechd: LINE here:|200-ked_diphone 
en US|
[Mon Aug 10 20:59:54 2009 : 929466] speechd: LINE here:|200-rab_diphone 
en BR|
[Mon Aug 10 20:59:54 2009 : 929478] speechd: LINE here:|200 OK VOICE 
LIST SENT|
[Mon Aug 10 20:59:54 2009 : 929517] speechd:  Module festival started 
sucessfully with message: 
---------------
Communicating with Festival through a socket. 
---------------
[...]

But that doesn't help with lsr:
~$ lsr
Linux Screen Reader ver. 0.5.3 rev. Mon Jun  4 17:21:12 UTC 2007
Copyright (c) 2005, 2007 IBM Corporation

[Device WARNING 2009-08-10 21:00:37,668] no output available
[Device WARNING 2009-08-10 21:00:37,669] no input available

I got also Problems with pulseaudio. FYI: I'm using polypaudio not 
pulseaudio!

~$ spd-say Hallo
~$ No protocol specified
E: client-conf-x11.c: XOpenDisplay() failed
 Mon Aug 10 21:05:36 2009 [737656] PulseAudio ERROR: Failed to connect 
to server: Connection refused

~$ spd-say -l cs -r 90 "Ahoj"
~$ 
~$ spd-conf -d
bash: spd-conf: command not found


What is wrong with my installation?

Thank you in advance.

Gerhard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]