Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#39 import webbrowser

closed
nobody
None
5
2004-02-12
2004-02-10
Thomas Moore
No

import webbrowser
print 'yes'

This code causes the follwoing error with 0.5.0:

running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension '_sre'
creating python loader for extension 'datetime'
creating python loader for extension '_socket'
Traceback (most recent call last):
File "setup.py", line 4, in ?
setup(windows=["Text1.py"])
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 190, in run
py_files, extensions = self.parse_mf_results(mf)
File "C:\PYTHON23\Lib\site-
packages\py2exe\build_exe.py", line 706, in parse_m
f_results
raise RuntimeError \ RuntimeError: Don't know how to handle ''C:\\Python23
\\lib\\fcntl.pyc''

Discussion

  • Thomas Heller
    Thomas Heller
    2004-02-10

    Logged In: YES
    user_id=11105

    It works for me ;-)

    But I can provoke the bug by renaming the FCNTL.pyc file in
    \Python23\lib\ into fcntl.pyc - note the case!

    There is no fcntl.py module in Python on windows (only
    FCNTL.py). Deleting the fcntl.pyc file should make this
    problem go away.

     
  • Thomas Moore
    Thomas Moore
    2004-02-12

    Logged In: YES
    user_id=97016

    I change fcntl.pyc to FCNTL.pyc to walk around.
    Thanks.

     
  • Thomas Moore
    Thomas Moore
    2004-02-12

    • status: open --> closed