[python-win32] Exception '-2147221164' while using win32com.client.Dispatch("SAPI.SpVoice")

Sai Ram sairamk1989 at gmail.com
Wed Oct 10 16:25:10 EDT 2018


We use Nuance's Vocalizer Expressive for voice and sapi5.dll. Also, we
modify the "Windows registry" to refer to this dll. This issue is seen
randomly. The failures do not belong to any sub-set. The very next test
script in the same set-up would fail.

-Sairam K

On Wed, Oct 10, 2018 at 12:51 PM Tim Roberts <timr at probo.com> wrote:

> Sai Ram wrote:
> >
> >    I really did not know that this value would make difference.
> > Apologies for the vague question. The actual exception is "-2147352567".
>
> That's 0x80020009, or DISP_E_EXCEPTION.  That's really telling you to
> refer to the other code for the details.
>
>
> > 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.
>
> Did you actually install the SAPI SDK?  Do all 5,000 of the scripts use
> SpVoice?  Do the 300 that fail use some particular subset?  Are they all
> either 32-bit or 64-bit apps?
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20181010/1bd8d8d6/attachment-0001.html>


More information about the python-win32 mailing list