From: Mark H. <ski...@gm...> - 2009-11-25 21:31:32
|
On 26/11/2009 2:20 AM, Joseph Piron wrote: > However, when I try to launch the script, I get the following error: > > Traceback (most recent call last): > File "boot_service.py", line 22, in <module> > File "zipextimporter.pyc", line 82, in load_module > File "tagLogger.pyc", line 7, in <module> > File "zipextimporter.pyc", line 82, in load_module > File "OpenOPC.pyc", line 40, in <module> > File "win32com\client\gencache.pyc", line 649, in Rebuild The problem is that the 'Rebuild' function in gencache.py is being called - but it shouldn't be. It appears your OpenOPC.py is calling that function directly? Have a look at http://www.py2exe.org/index.cgi/IncludingTypelibs for some other clues about using makepy/gencache with py2exe. HTH, Mark |