I am running the following line of code: iTunes = win32com.client.gencache.EnsureDispatch('iTunes.Application')
This results in this error: Traceback (most recent call last): File "Helper.py", line 154, in <module> File "win32com\client\gencache.pyo", line 529, in EnsureDispatch File "win32com\client\__init__.pyo", line 95, in Dispatch File "win32com\client\dynamic.pyo", line 104, in _GetGoodDispatchAndUserName File "win32com\client\dynamic.pyo", line 84, in _GetGoodDispatch pywintypes.com_error: (-2147221005, 'Invalid class string', None, None) This is being run on a Windows 7 64-bit machine with Python 2.6, py2exe-0.6.9, and pywin32-214. Does anyone know the meaning of this cryptic error?
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32