py2exe icon resource on win98
Haim Ashkenazi
haim at babysnakes.org
Mon Mar 22 12:27:04 EST 2004
More information about the Python-list mailing list
Mon Mar 22 12:27:04 EST 2004
- Previous message (by thread): py2exe icon resource on win98
- Next message (by thread): py2exe icon resource on win98
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas Heller wrote: > Haim Ashkenazi <haim at babysnakes.org> writes: > >> Hi >> >> I'm trying to build a binary with py2exe. I've used the method suggested >> in the py2exe wiki about adding icon resources to apps. it build ok on >> win2k, but when I try to build the same on win98 I get this error: >> >> copying C:\Python23\Lib\site-packages\py2exe\run.exe -> C:\My >> Documents\NS_Backup\dist\NS_Backup.exe >> Traceback (most recent call last): >> File "Setup.py", line 13, in ? >> windows = [ >> File "C:\PYTHON23\lib\distutils\core.py", line 149, in setup >> dist.run_commands() >> File "C:\PYTHON23\lib\distutils\dist.py", line 907, in run_commands >> self.run_command(cmd) >> File "C:\PYTHON23\lib\distutils\dist.py", line 927, in run_command >> cmd_obj.run() >> File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 197, in >> run >> self.create_binaries(py_files, extensions, dlls) >> File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 391, in >> create_binaries >> arcname, target.script) >> File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 577, in >> build_executable >> add_icon(unicode(exe_path), unicode(ico_filename), ico_id) >> RuntimeError: MapExistingFile: The handle is invalid >> >> ---------------------------------- >> I've attached my "setup.py". >> >> anyone has any ideas? > > I assume you have unicows.dll installed (this is required on win98), as > described in the py2exe webpage. of course :) > > The build process on win98 is not tested very good, maybe I overlooked > something. Can you build your exe when you comment out all the icon > resources? yes. without a problem. it's win98 first edition without any updates (internet explorer 4). > > Thomas > > thanx -- Haim
- Previous message (by thread): py2exe icon resource on win98
- Next message (by thread): py2exe icon resource on win98
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list