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

problems starting remote speech server



What you are seeing is  potentially caused by more than one
instance of Outloud trying to speak at the same time.


>>>>> "RAYNER" == RAYNER Peter <ray060@xxxxxxxxxxx> writes:

    RAYNER> Ok, I'm doing something dumb here I'm sure ...
    RAYNER> I've been running the rsh method for getting
    RAYNER> remote emacs to talk quite successfully. But, as
    RAYNER> foreshadowed in the documentation, I've now had
    RAYNER> a firewall installed between me and the target
    RAYNER> machines, at least when dialing in to work from
    RAYNER> home.  So it's time to move to the newer
    RAYNER> open-network-stream method.  I don't think it's
    RAYNER> relevant here but my preferred method of doing
    RAYNER> all this is to log in to the target machine
    RAYNER> *outside* emacs, i.e with no speech, then launch
    RAYNER> emacspeak pointing speech back to the desktop.
    RAYNER> This works with the rsh method provided the
    RAYNER> right environment variables are set.  Ok, for
    RAYNER> the open-network-stream approach I'm doing cd
    RAYNER> /usr/share/emacs/site-lisp/emacspeak/servers tcl
    RAYNER> speech-server 2222 $cwd/outlout & whereupon I
    RAYNER> get the "starting speech server, waiting for
    RAYNER> connection ..."  message. So far so good.  Now
    RAYNER> on my next virtual console I've logged into the
    RAYNER> target and launch emacspeak with the rsh method
    RAYNER> (this is experimenting from inside the firewall
    RAYNER> so I can do this).  It works fine.  Then, on the
    RAYNER> target, I try emacspeak-remote-connect-to-server
    RAYNER> desktop-machine 2222 It replies with connecting
    RAYNER> to server on desktop-machine, port 2222 all fine
    RAYNER> and good.  Meanwhile, back on desktop-machine we
    RAYNER> have [1] Segmentation fault tcl speech-server
    RAYNER> 2222
    RAYNER> /usr/share/emacs/site-lisp/emacspeak/servers/outloud
    RAYNER> Hmm, not so good.  And my tcp-wrapper log
    RAYNER> reports that a new rsh has been opened.

    RAYNER> To try to shed some light on this I started the
    RAYNER> speech-server on desktop-machine the same way
    RAYNER> but then, in an rlogin window on target-machine
    RAYNER> tried telnet desktop-machine 2222 which produced
    RAYNER> the output (usual connection messages for
    RAYNER> telnet) dev: couldn't open device /dev/dsp:
    RAYNER> Device or resource busy dev: couldn't open
    RAYNER> device /dev/dsp1: Device or resource busy dev:
    RAYNER> couldn't open device /dev/dsp2: No such file or
    RAYNER> directory couldn't open any sound device
    RAYNER> Connection closed by foreign host.

    RAYNER> and the same segmentation fault message back on
    RAYNER> desktop-machine.  Among other curious questions
    RAYNER> is why the outloud speech server is trying to
    RAYNER> open the sound devices when launched from the
    RAYNER> speech-server tcl script but not from the rsh
    RAYNER> command.  As usual with this kind of apparently
    RAYNER> subtle problem, I'm probably overlooking
    RAYNER> something *really* basic.  btw: this is
    RAYNER> happening with emacspeak-12.0 running under
    RAYNER> emacs 20.4.1 on RH6.2.  target-machine is
    RAYNER> running emacspeak-12.0 under emacs 20.3.3 on
    RAYNER> irix 6.5.

    RAYNER> Once someone has pointed out my oversight, I've
    RAYNER> got one more question.  I'd like to launch
    RAYNER> emacspeak straight into this remote connection
    RAYNER> method the same way I am with the rsh method.
    RAYNER> At the moment I have things set up to run
    RAYNER> emacspeak-setup before my .emacs file, so I get
    RAYNER> immediate feedback on things like the diary.  Is
    RAYNER> there something I can set to tell emacspeak not
    RAYNER> to bother with local speech-servers and just
    RAYNER> execute emacspeak-remote-connect-to-server
    RAYNER> Raman, if this doesn't exist and you think it
    RAYNER> would be useful, I'm willing to try to hack it
    RAYNER> in.  Phew, quite a long message, apologies.

    RAYNER> -----------------------------------------------------------------------------
    RAYNER> To unsubscribe from the emacspeak list or change
    RAYNER> your address on the emacspeak list send mail to
    RAYNER> "emacspeak-request@xxxxxxxxxxx" with a subject
    RAYNER> of "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW: http://www.cs.cornell.edu/home/raman/             
PGP:    http://cs.cornell.edu/home/raman/raman.asc 

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe