RPMs for speech-dispatcher missing python code?
goyal.hemant at gmail.com
Mon Apr 21 14:37:32 EDT 2008
In continuation to my previous mail. I ve managed to upload the required RPM
Please note they are still not *approved* packages.
The python package must be downloaded and installed separately.
On Mon, Apr 21, 2008 at 11:52 PM, Hemant Goyal <goyal.hemant at gmail.com>
> > 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.
> Can I know which version of the RPM you are trying to use?
> Can you try :
> This is actually a src RPM package and you'll have to build the RPM for
> your machine using it. (I am unable to upload the RPM package at the moment)
> This resource will help you :
> 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.
> Maybe you'd like to look at this link :
> It discusses how to handle the ImportError exception raised when a python
> module that you're trying to import is not available.
> so you might have a block of code as follows:
> import speechd
> except ImportError:
> print "working without speech here"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel