Hello Tim, I really did not know that this value would make difference. Apologies for the vague question. The actual exception is "-2147352567". Also, we have around 5000 test scripts. Out of these, around 300 test scripts fails with this exception. So, I do not doubt any system issues here.
Thank you for your response. Appreciate it. -Sairam K On Wed, Oct 10, 2018 at 2:49 AM Tim Roberts <t...@probo.com> wrote: > On Oct 9, 2018, at 8:03 AM, Sai Ram <sairamk1...@gmail.com> wrote: > > > We are using "win32com.client.Dispatch("SAPI.SpVoice")" for TTS to our > target device from a Windows 7 desktop. We are seeing many of these > exceptions: "Exception '-2147221164'". > Is there a fix for this? Basically, wanted to know the reason for this > exception and the fix for this. > > > COM exceptions are listed in hex. -2147221164 is 0x80040154, which is > E_CLASSNOTREG. Have you installed SAPI 5.1? It's not built-in. > — > Tim Roberts, t...@probo.com > Providenza & Boekelheide, Inc. > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32