Closed GoogleCodeExporter closed 9 years ago
Please change also the code example in this comment too :
http://code.activestate.com/recipes/93025/
This example doesn't work :-(
Cyke64
Original comment by didier.v...@gmail.com
on 6 Aug 2008 at 9:23
Thank you so much Cyke64! I am going through such rapid iteration on this
project
that the API is still changing. I'll make sure to update the examples today.
Original comment by gundl...@gmail.com
on 6 Aug 2008 at 12:02
Original comment by gundl...@gmail.com
on 6 Aug 2008 at 12:02
Original comment by gundl...@gmail.com
on 6 Aug 2008 at 12:03
Example code now works on pypi, project page, and comment on the web.
Original comment by gundl...@gmail.com
on 6 Aug 2008 at 1:29
Hello gundlach ,
example code in your home page is failing again :-(
You forgot the ":" symbol after def L1callback(phrase, listener) !
After correcting this error in code I have the following error
D:\dev\py\speech>example_home_page035.py
Traceback (most recent call last):
File "D:\dev\py\speech\example_home_page035.py", line 8, in <module>
L1 = speech.listenfor(["any of", "these will", "match"], L1callback)
File "D:\Python25\lib\site-packages\speech-0.3.5-py2.5.egg\speech.py", line 14
8, in listenfor
File "D:\Python25\lib\site-packages\speech-0.3.5-py2.5.egg\speech.py", line 15
9, in _startlistening
File "D:\Python25\lib\site-packages\win32com\gen_py\C866CA3A-32F7-11D2-9602-00
C04F8EE628x0x5x0.py", line 2468, in CreateRecoContext
ret = self._oleobj_.InvokeTypes(10, LCID, 1, (9, 0), (),)
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None, None,
0, -2147221164), None)
Python 2.5
WinXP pro
Speech 0.3.5 egg
M$ speech pack 5.1
Thanks
Great project :-)
Original comment by cyk...@gmail.com
on 6 Aug 2008 at 2:44
Addressed in issue #7.
Original comment by gundl...@gmail.com
on 7 Aug 2008 at 6:22
Original comment by gundl...@gmail.com
on 7 Aug 2008 at 6:36
Original issue reported on code.google.com by
didier.v...@gmail.com
on 6 Aug 2008 at 9:18