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

Re: Bug#586753: Activation of Speech Dispatcher under squeeze



Jason White, le Fri 24 Sep 2010 11:45:00 +1000, a écrit :
> After installing 0.7.1 from experimental, if I set
> RUN=yes in /etc/default/speech-dispatcher, start the daemon, then run
> spd-say hello
> 
> I get:
> 
> Failed to connect to Speech Dispatcher:
> H◈◈t1◈@
> 
> strace shows
> socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5
> connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT
> (No such file or directory)

This is actually not the problem, check further in the log, you'll see
an attempt to look in $HOME/.speech-dispatcher.

> The actual socket is here:
> srwxrwx--- 1 speech-dispatcher audio 0 Sep 24 11:16 /var/run/speech-dispatcher/speechd.sock
> which is where it should be looking.

Yes. In my NMU (0.7-5.1), I added some documentation about this: you
need to set

export SPEECHD_SOCKET=/var/run/speech-dispatcher/speechd.sock

Samuel


Reply to: