RPMs for speech-dispatcher missing python code?

James Simmons jim.simmons at walgreens.com
Mon Apr 21 10:13:05 EDT 2008


Yesterday I finally got around to installing your ROMs on my XO.  I was 
able got configure speech-dispatcher and get spd-say to work correctly, 
but when I tried to run my test python program it bailed out on the 
import speechd statement, saying speechd could not be found.

This leads to two issues for me.  First, of course, is how to get the 
python code installed on the XO.  Equally important, though, is how to 
write my Activity so it can work as a text reader without speech on a 
laptop that does not have speechd installed.  If I'm going to bail out 
just for having "import speechd" in my app that may not be possible.  Or 
can I do a conditional import, something like:

if speechd file exists:
    import speechd

If you have any ideas I'd like to hear them.


James Simmons

More information about the Devel mailing list