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

Sai Ram sairamk1989 at gmail.com
Thu Oct 11 08:51:59 EDT 2018


No. Not really. We don't make registry changes on the fly. We do register
the DLL with regvr32 once and for all. That's the reason we find it
strange. This error is absolutely random and there are no changes in the
set-up when this error is observed. All the 5000 test scripts are split
into different test suites. A test suite might contain 30 test scripts (on
an average). This error is so random, that will be seen in one or more test
scripts while we are executing. We figured out that this is because of
win32com. We do not have any clues further.

-Sairam K

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

> On Oct 10, 2018, at 1:25 PM, Sai Ram <sairamk1989 at gmail.com> wrote:
> >
> > We use Nuance's Vocalizer Expressive for voice and sapi5.dll. Also, we
> modify the "Windows registry" to refer to this dll.
>
> What does that mean?  Ordinarily, you would just register the DLL with
> regsvr32 once and for all.  Are you making registry changes on the fly?
>> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20181011/72fb80cd/attachment.html>


More information about the python-win32 mailing list