Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error initializing on windows 7 #62

Open
freemant2000 opened this issue Dec 19, 2017 · 0 comments
Open

error initializing on windows 7 #62

freemant2000 opened this issue Dec 19, 2017 · 0 comments

Comments

@freemant2000
Copy link

I'm trying to run it on windows 7 enterprise but it fails with the error below:

o=win32com.client.Dispatch("SAPI.SpVoice")
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\win32com\client_init_.py", line 95, in
Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 114, in
_GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221005, '\xce\xde\xd0\xa7\xb5\xc4\xc0\xe0\xd7\xd6\xb7\xfb\xb4\xae', None, None)

The error code seems to indicate that the given name "SAPI.SpVoice" doesn't exist as I got the same error giving it a random name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant