py2exe - win32com - GetGeneratePath Error

Christopher Panici cjpanici at mtu.edu
Wed Mar 25 16:19:44 CET 2009


Has anyone solved the GetGeneratePath Error? 

I am getting this when I use win32com.client.DispatchWithEvents('iTunes.Application', customEventHandler). I have drilled down to the file and found it in that path. 

Does anyone have any ideas? 

HERE IS THE ERROR. If anyone is good at this please email me back. 
------------------------------------------- 
Traceback (most recent call last): 
File "AppleHackGUI.pyw", line 376, in <module> 
File "Main.pyc", line 29, in __init__ 
File "win32com\client\__init__.pyc", line 250, in DispatchWithEvents 
File "win32com\client\gencache.pyc", line 520, in EnsureModule 
File "win32com\client\gencache.pyc", line 287, in MakeModuleForTypelib 
File "win32com\client\makepy.pyc", line 256, in GenerateFromTypeLibSpec 
File "win32com\client\gencache.pyc", line 141, in GetGeneratePath 
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Neech\\Documents\\PythonProjects\\AppleHack\\src\\dist\\library.zip\\win32com\\gen_py\\__init__.py' 
------------------------------------------------- 
Thanks, 
Neech 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090325/0e485c09/attachment.html>


More information about the Python-list mailing list