By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,763 Members | 1,685 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,763 IT Pros & Developers. It's quick & easy.

py2exe icon resource on win98

P: n/a

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
Traceback (most recent call last):
File "", line 13, in ?
windows = [
File "C:\PYTHON23\lib\distutils\", line 149, in setup
File "C:\PYTHON23\lib\distutils\", line 907, in run_commands
File "C:\PYTHON23\lib\distutils\", line 927, in run_command
File "C:\Python23\Lib\site-packages\py2exe\", line 197, in run
self.create_binaries(py_files, extensions, dlls)
File "C:\Python23\Lib\site-packages\py2exe\", line 391, in
arcname, target.script)
File "C:\Python23\Lib\site-packages\py2exe\", line 577, in
add_icon(unicode(exe_path), unicode(ico_filename), ico_id)
RuntimeError: MapExistingFile: The handle is invalid

I've attached my "".

anyone has any ideas?


Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.