Closed GoogleCodeExporter closed 9 years ago
I'm using
Python 2.5
Pywin32 212 (have also tried 211)
SpeechSDK51
Norwegian Vista Home Premium 32bit
Original comment by morten.a...@gmail.com
on 19 Nov 2008 at 9:14
Please have a look at Issue 7 and see if that fixes your problem.
Original comment by gundl...@gmail.com
on 21 Nov 2008 at 5:28
I've tried the solution in Issue 7, and gen_py moves from the win32com folder
to my
users Temp folder. But still it won't run.
Anything you type, speech will say back.
Anything you say, speech will print out.
Say or type 'turn off' to quit.
Traceback (most recent call last):
File "F:\Møppe\Python\PySnakk\pytalk.py", line 18, in <module>
listener = speech.listenforanything(callback)
File "C:\Python25\lib\site-packages\speech-0.5.1-py2.5.egg\speech.py", line 193, in
listenforanything
File "C:\Python25\lib\site-packages\speech-0.5.1-py2.5.egg\speech.py", line 222, in
_startlistening
File
"C:\Users\Morten\AppData\Local\Temp\gen_py\2.5\C866CA3A-32F7-11D2-9602-00C04F8EE
628x0x5x3.py",
line 2638, in CreateRecoContext
ret = self._oleobj_.InvokeTypes(10, LCID, 1, (9, 0), (),)
pywintypes.com_error: (-2147352567, 'Det oppstod et unntak.', (0, None, None,
None,
0, -2147200905), None)
Original comment by morten.a...@gmail.com
on 22 Nov 2008 at 12:00
Morten,
I have had a report from another user of the exact same error number
(-2147200905),
and I noticed that he is also using a non-English-language Windows
installation.
This error may have to do with Windows not supporting speech recognition in your
language.
If you happen to have an English-language version of Windows handy, it would
help me
immensely if you tried to reproduce your problem there and let me know the
results --
I'd be able to trap that error and explain to future users what's going wrong!
Original comment by gundl...@gmail.com
on 15 Dec 2008 at 8:37
I'm terribly sorry but all my computers got norwegian OS.
Do you think it could be done in a vmware environment? Im going to try that and
see
what happens.
Original comment by morten.a...@gmail.com
on 15 Dec 2008 at 9:27
BTW: When i tried dragonfly it also fails, with the following line:
pywintypes.com_error: (-2147352567, 'Det oppstod et unntak.', (0, None, None,
None,
0, -2147200905), None)
Original comment by morten.a...@gmail.com
on 15 Dec 2008 at 10:44
The info re: dragonfly is great to know! I'd suggest letting the dragonfly
author
know this as well.
Original comment by gundl...@gmail.com
on 16 Dec 2008 at 11:14
I tested pyspeech on english Vista Ultimate, and was then greeted with a
warning that
speech recognition is optimized for English, then a wizard to configure windows
speech recognition. Unfortunately i could not complete the wizard because i
couldn't
get my microphone to work with wmware.
I do not get this wizard on norwegian Vista Home Premium. The option is there
in the
Windows Control Panel, but it only opens up a practically empty window with
just a
link to Microsoft Speech Online Community, and no settings.
I'm getting worried that the speech recognition function is only on english
Vista, or
that it's only available on the Ultimate edition. Could it be so?
Original comment by morten.a...@gmail.com
on 18 Dec 2008 at 5:55
You're using vmware to run windows? Interesting -- I wonder if that has
something to
do with the problem.
I do believe that speech recognition only works in languages that Microsoft
supports
-- and I seem to recall that that is French Spanish English Chinese and maybe
one
other. But I'm not positive.
Original comment by gundl...@gmail.com
on 20 Dec 2008 at 3:48
No, hehe. I Just used vmware to test the problem on an english vista ultimate.
And it
appeared to work ok, but i was not able to test it properly because i could not
get
my microphone to work with vmware. I bet it works like it should, and that the
fault
lies with the cheapskates Microsoft.
If i had known this i would have bought english vista. *kicking himself*
Original comment by morten.a...@gmail.com
on 20 Dec 2008 at 6:39
Closing as WontFix, as it's Microsoft's problem.
Original comment by gundl...@gmail.com
on 14 Jul 2009 at 4:22
Install speech recognition engine for XP and it will fix this error.
Original comment by foo...@gmail.com
on 6 Oct 2010 at 2:33
Original issue reported on code.google.com by
morten.a...@gmail.com
on 19 Nov 2008 at 7:38