[Py2exe-users] py2exe & IIS Hi,

I wrote a script to parse submitted values from a HTML form.
This script works well using the windows cmd command.

My script is named formscript.py

Here is my setup.py

from distutils.core import setup
import py2exe

setup(
    # The first three parameters are not required, if at least a
    # 'version' is given, then a versioninfo resource is built from
    # them and added to the executables.
    version = "0.9",
    description = "py2exe sample script",
    name = "py2exe samples",

    # targets to build
    console = ["formscript.py"],
)

But when I submit the form I have these errors :


  CGI Error

The specified CGI application misbehaved by not returning a complete set 
of HTTP headers. The headers it did return are:

Traceback (most recent call last):
  File "C:\\Python25\\lib\\site-packages\\py2exe\\boot_common.py", line 92, in 
    import linecache
ImportError: No module named linecache
Traceback (most recent call last):
  File "formscript.py", line 7, in 
ImportError: No module named M2Crypto



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Py2exe-users mailing list
zi9rpy-fcecq@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users


