public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* festival with speech-dispatcher
@  Charles Hallenbeck
   ` Willem van der Walt
   ` Hynek Hanke
  0 siblings, 2 replies; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can someone please look at this and suggest what I am doing wrong? I am 
using a Debian distro and have have speech-dispatcher 0.6 working fine 
with flite and espeak. I now want to see how it works with festival. I 
have installed festival and associated packages from Debian package 
archives, and have verified that it works in the interactive mode, as 
well as command line mode with the --tts option.

Here is my problem. When I activate the festival daemon and make the 
necessary modifications to speechd.confand festival.conf in 
speech-dispatcher, and also to /etc/festival.scm, switching to sftsyn in 
speakup does not produce speech. I can reactivate speech by switching 
back to my ltlk driver.

Here is the relevant speech-dispatcher.log info:
[Fri Jun 9 06:33:50 2006 : 796748] 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.
So, I did that. The relevant lines from the speech-dispatcher 
festival.conf module are these:

FestivalServerHost  "hq.hhs48.com"
FestivalServerPort   1314

and from /etc/festival.scm  are these lines:

(require 'speech-dispatcher)
(defvar server_access_list '(hq\.hhs\.com))
(defvar server_port 1314)
Now, when I try connecting to the server with telnet, I get this:

hq:~# telnet hq.hhs48.com 1314
Trying 127.0.0.1...
Connected to hq.hhs48.com.
Escape character is '^]'.
Connection closed by foreign host.

The connection is closed immediately. Something is running on 1314, 
since if it were not, I would get a "connection refused" error. And the 
festival server has a process ID, and can be restarted when changes are 
made to its configuration, acquiring a new PID. But speech-dispatcher 
can't connect to it, and telnet cannot connect either.

Can someone spot something I am overlooking? I would appreciate any 
suggestions.

Thanks,
Chuck




- -- The Moon is Waxing Gibbous (94% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEiVzwXnuiIOyDVQURApS4AJ4pvwmy5tMnFmtzE/ej3A4PrO8hQQCfScT1
sKKM17rhtAWg12ZbjPpJsuc=
=y5Hf
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
   festival with speech-dispatcher Charles Hallenbeck
@  ` Willem van der Walt
     ` Charles Hallenbeck
   ` Hynek Hanke
  1 sibling, 1 reply; 8+ messages in thread
From: Willem van der Walt @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I got a simelar message reasently when I upgraded packages under Debian.
It has to do with the access-list.  I had to change a line that said:
localhost
to localhost.localdom
Or something along those lines.
You can also run a test from the speech-dispatcher's src/tests directory.
I think it is ./run-test basic.test
That test your speech-dispatcher without you having to use speechd_up to 
test it with.
HTH, Willem

On Fri, 9 Jun 2006, Charles Hallenbeck wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Can someone please look at this and suggest what I am doing wrong? I am
> using a Debian distro and have have speech-dispatcher 0.6 working fine
> with flite and espeak. I now want to see how it works with festival. I
> have installed festival and associated packages from Debian package
> archives, and have verified that it works in the interactive mode, as
> well as command line mode with the --tts option.
>
> Here is my problem. When I activate the festival daemon and make the
> necessary modifications to speechd.confand festival.conf in
> speech-dispatcher, and also to /etc/festival.scm, switching to sftsyn in
> speakup does not produce speech. I can reactivate speech by switching
> back to my ltlk driver.
>
> Here is the relevant speech-dispatcher.log info:
> [Fri Jun 9 06:33:50 2006 : 796748] 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.
> So, I did that. The relevant lines from the speech-dispatcher
> festival.conf module are these:
>
> FestivalServerHost  "hq.hhs48.com"
> FestivalServerPort   1314
>
> and from /etc/festival.scm  are these lines:
>
> (require 'speech-dispatcher)
> (defvar server_access_list '(hq\.hhs\.com))
> (defvar server_port 1314)
> Now, when I try connecting to the server with telnet, I get this:
>
> hq:~# telnet hq.hhs48.com 1314
> Trying 127.0.0.1...
> Connected to hq.hhs48.com.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> The connection is closed immediately. Something is running on 1314,
> since if it were not, I would get a "connection refused" error. And the
> festival server has a process ID, and can be restarted when changes are
> made to its configuration, acquiring a new PID. But speech-dispatcher
> can't connect to it, and telnet cannot connect either.
>
> Can someone spot something I am overlooking? I would appreciate any
> suggestions.
>
> Thanks,
> Chuck
>
>
>
>
> - -- The Moon is Waxing Gibbous (94% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
>  and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEiVzwXnuiIOyDVQURApS4AJ4pvwmy5tMnFmtzE/ej3A4PrO8hQQCfScT1
> sKKM17rhtAWg12ZbjPpJsuc=
> =y5Hf
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
   festival with speech-dispatcher Charles Hallenbeck
   ` Willem van der Walt
@  ` Hynek Hanke
  1 sibling, 0 replies; 8+ messages in thread
From: Hynek Hanke @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Charles Hallenbeck píše v Pá 09. 06. 2006 v 07:35 -0400:
> Here is my problem. When I activate the festival daemon and make the 
> necessary modifications to speechd.confand festival.conf in 
> speech-dispatcher, and also to /etc/festival.scm, switching to sftsyn in 
> speakup does not produce speech. 

You can also test Speech Dispatcher with the command
	spd-say "hello"
through -o you can switch modules etc., see 'spd-say -h'
	spd-say -o espeak "hello"
	spd-say -o festival "hello"
Apart from testing, this utility can come handy in scripts.

> (defvar server_access_list '(hq\.hhs\.com))

Most likely, you are getting rejected by the server because of
server_access_list. I think it should be

(defvar server_access_list '("hq.hhs48.com"))

this name must be defined in /etc/hosts.conf with the appropriate
IP address. Telnet to the host and port as you gave an example is
a good immediate way to check whether this issue is still present.

With regards,
Hynek



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
   ` Willem van der Walt
@    ` Charles Hallenbeck
       ` Willem van der Walt
  0 siblings, 1 reply; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Willem and Hynek,

Thanks for those suggestions. I used my fully qualified host name 
instead of localhost, since that is the first entry in /etc/hosts on the 
line that begins with 127.0.0.1. The docs say to use that first item in 
place of localhost in case localhost is not the first item following 
127.0.0.1.

I put the quotes around the domain name in the server-access-list entry, 
restarted festival, but got the same results. 

Those are great tips about spd-say and switching software synths, by the 
way. But I still have a puzzling roadblock here. It does seem like a 
failure of the domain name, but I can't seem to find a suitable way to 
code that entry. 

Chuck

- -- 
The Moon is Waxing Gibbous (94% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEiWwXXnuiIOyDVQURAi9AAJ9M+1vXl3oEa3Ldnofn3qHy/2KN5gCgjVu3
uv0acCSvkRsNIuArco2z+XY=
=vUMI
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
     ` Charles Hallenbeck
@      ` Willem van der Walt
         ` Charles Hallenbeck
  0 siblings, 1 reply; 8+ messages in thread
From: Willem van der Walt @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Did you escape the dots with backslashes?
You should do that I seem to recall. and mine is backslash-escaped.
HTH, Willem


On Fri, 9 Jun 2006, Charles Hallenbeck wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Willem and Hynek,
>
> Thanks for those suggestions. I used my fully qualified host name
> instead of localhost, since that is the first entry in /etc/hosts on the
> line that begins with 127.0.0.1. The docs say to use that first item in
> place of localhost in case localhost is not the first item following
> 127.0.0.1.
>
> I put the quotes around the domain name in the server-access-list entry,
> restarted festival, but got the same results.
>
> Those are great tips about spd-say and switching software synths, by the
> way. But I still have a puzzling roadblock here. It does seem like a
> failure of the domain name, but I can't seem to find a suitable way to
> code that entry.
>
> Chuck
>
> - --
> The Moon is Waxing Gibbous (94% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
>  and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEiWwXXnuiIOyDVQURAi9AAJ9M+1vXl3oEa3Ldnofn3qHy/2KN5gCgjVu3
> uv0acCSvkRsNIuArco2z+XY=
> =vUMI
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
       ` Willem van der Walt
@        ` Charles Hallenbeck
           ` Willem van der Walt
           ` Hynek Hanke
  0 siblings, 2 replies; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I did that. I also tried it without, but it fails either way. There 
is an unmatched single quote in that line. Is that correct? Seems wrong 
somehow.


On Fri, Jun 09, 2006 at 02:47:02PM +0200, Willem van der Walt wrote:
> Did you escape the dots with backslashes?
> You should do that I seem to recall. and mine is backslash-escaped.
> HTH, Willem
> 
> 
> On Fri, 9 Jun 2006, Charles Hallenbeck wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi Willem and Hynek,
> >
> > Thanks for those suggestions. I used my fully qualified host name
> > instead of localhost, since that is the first entry in /etc/hosts on the
> > line that begins with 127.0.0.1. The docs say to use that first item in
> > place of localhost in case localhost is not the first item following
> > 127.0.0.1.
> >
> > I put the quotes around the domain name in the server-access-list entry,
> > restarted festival, but got the same results.
> >
> > Those are great tips about spd-say and switching software synths, by the
> > way. But I still have a puzzling roadblock here. It does seem like a
> > failure of the domain name, but I can't seem to find a suitable way to
> > code that entry.
> >
> > Chuck
> >
> > - --
> > The Moon is Waxing Gibbous (94% of Full)
> > Get downloads from http://www.mhcable.com/~chuckh
> >  and remember, INFORMATION WANTS TO BE FREE!
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQFEiWwXXnuiIOyDVQURAi9AAJ9M+1vXl3oEa3Ldnofn3qHy/2KN5gCgjVu3
> > uv0acCSvkRsNIuArco2z+XY=
> > =vUMI
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> -- 
> This message is subject to the CSIR's copyright, terms and conditions and
> e-mail legal notice. Views expressed herein do not necessarily represent the
> views of the CSIR.
>  
> CSIR E-mail Legal Notice
> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
>  
> CSIR Copyright, Terms and Conditions
> http://mail.csir.co.za/CSIR_Copyright.html 
>  
> For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
> Legal Notice send a blank message with REQUEST LEGAL in the subject line to
> HelpDesk@csir.co.za.
> 
> 
> This message has been scanned for viruses and dangerous content by MailScanner, 
> and is believed to be clean.  MailScanner thanks Transtec Computers for their support.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

- -- 
The Moon is Waxing Gibbous (94% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEiW8pXnuiIOyDVQURAvrdAJ9qc1pwFRMdIquTpfSRFkjyqPCVRQCgkdtO
pKigA2+c0UhJ83stfCvlEhc=
=rVjF
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
         ` Charles Hallenbeck
@          ` Willem van der Walt
           ` Hynek Hanke
  1 sibling, 0 replies; 8+ messages in thread
From: Willem van der Walt @  UTC (permalink / raw)
  To: Charles Hallenbeck; +Cc: Speakup is a screen review system for Linux.

Yes, it is like that here too.
Here is my line:
(defvar server_access_list '(localhost\.localdomain)

On Fri, 9 Jun 2006, Charles Hallenbeck wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yes, I did that. I also tried it without, but it fails either way. There
> is an unmatched single quote in that line. Is that correct? Seems wrong
> somehow.
>
>
> On Fri, Jun 09, 2006 at 02:47:02PM +0200, Willem van der Walt wrote:
>> Did you escape the dots with backslashes?
>> You should do that I seem to recall. and mine is backslash-escaped.
>> HTH, Willem
>>
>>
>> On Fri, 9 Jun 2006, Charles Hallenbeck wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hi Willem and Hynek,
>>>
>>> Thanks for those suggestions. I used my fully qualified host name
>>> instead of localhost, since that is the first entry in /etc/hosts on the
>>> line that begins with 127.0.0.1. The docs say to use that first item in
>>> place of localhost in case localhost is not the first item following
>>> 127.0.0.1.
>>>
>>> I put the quotes around the domain name in the server-access-list entry,
>>> restarted festival, but got the same results.
>>>
>>> Those are great tips about spd-say and switching software synths, by the
>>> way. But I still have a puzzling roadblock here. It does seem like a
>>> failure of the domain name, but I can't seem to find a suitable way to
>>> code that entry.
>>>
>>> Chuck
>>>
>>> - --
>>> The Moon is Waxing Gibbous (94% of Full)
>>> Get downloads from http://www.mhcable.com/~chuckh
>>>  and remember, INFORMATION WANTS TO BE FREE!
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.3 (GNU/Linux)
>>>
>>> iD8DBQFEiWwXXnuiIOyDVQURAi9AAJ9M+1vXl3oEa3Ldnofn3qHy/2KN5gCgjVu3
>>> uv0acCSvkRsNIuArco2z+XY=
>>> =vUMI
>>> -----END PGP SIGNATURE-----
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>
>>
>> --
>> This message is subject to the CSIR's copyright, terms and conditions and
>> e-mail legal notice. Views expressed herein do not necessarily represent the
>> views of the CSIR.
>>
>> CSIR E-mail Legal Notice
>> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
>>
>> CSIR Copyright, Terms and Conditions
>> http://mail.csir.co.za/CSIR_Copyright.html
>>
>> For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
>> Legal Notice send a blank message with REQUEST LEGAL in the subject line to
>> HelpDesk@csir.co.za.
>>
>>
>> This message has been scanned for viruses and dangerous content by MailScanner,
>> and is believed to be clean.  MailScanner thanks Transtec Computers for their support.
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> - --
> The Moon is Waxing Gibbous (94% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
>  and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEiW8pXnuiIOyDVQURAvrdAJ9qc1pwFRMdIquTpfSRFkjyqPCVRQCgkdtO
> pKigA2+c0UhJ83stfCvlEhc=
> =rVjF
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: festival with speech-dispatcher
         ` Charles Hallenbeck
           ` Willem van der Walt
@          ` Hynek Hanke
  1 sibling, 0 replies; 8+ messages in thread
From: Hynek Hanke @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Charles Hallenbeck píše v Pá 09. 06. 2006 v 08:52 -0400:
> Yes, I did that. I also tried it without, but it fails either way.

Please send us (or to me privately) the contents of your
	/etc/festival.scm
and
	/etc/hosts

With regards,
Hynek



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 festival with speech-dispatcher Charles Hallenbeck
 ` Willem van der Walt
   ` Charles Hallenbeck
     ` Willem van der Walt
       ` Charles Hallenbeck
         ` Willem van der Walt
         ` Hynek Hanke
 ` Hynek Hanke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).