Mark, Per comment on http://stackoverflow.com/questions/4582819/com-server-build-using-python-on-64-bit-windows-7-machine/4621124#4621124it was an issue with py2exe and patch provided here worked well.
Thanks, Vijayendra. On Thu, Jan 6, 2011 at 10:12 AM, vijayendra bapte < vijayendra.ba...@gmail.com> wrote: > > > On Thu, Jan 6, 2011 at 7:50 AM, Mark Hammond <mhamm...@skippinet.com.au>wrote: > >> On 31/12/2010 3:50 PM, vijayendra bapte wrote: >> >>> I have turned on logger in >>> `Python27/Lib/site-packages/py2exe/boot_com_servers.py` and here is the >>> traceback which I am getting in `comerror.txt` on `regsvr32 >>> test_icon_overlay.dll` >>> >>> PATH is >>> ['C:\\root\\avalon\\module\\sync\\python\\src\\dist\\library.zip'] >>> Traceback (most recent call last): >>> File "boot_com_servers.py", line 37, in <module> >>> pywintypes.error: (126, 'GetModuleFileName', 'The specified module >>> could not be found.') >>> >> >> That is very strange - boot_com_servers.py is attempting to locate the >> path to the DLL - I can't think of why this might be failing. > > > Yes, its very strange. Issue is only on 64-bit machine and its working fine > on 32-bit machine. > > >> >> Looks like there might be a problem with >>> `win32api.GetModuleFileName(sys.frozendllhandle)` or with the dll build >>> on 64-bit Windows 7 . >>> >> >> I'm really not sure what the problem could be - I'm strugging to make >> py2exe work at the moment for other bizarre reasons and I'm out of time for >> today - hopefully I'll get back to it soon... >> >> Sure. Thanks for the help :) > > - Vijayendra. >
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32