I just downloaded the Standalone utility and I get the following error when
trying to build a standalone version (see below). BTW, I read a description
of what the standalone tool does and it doesn't sound like it would be
faster than calling .py. It sticks the python15.dll and all the script code
in a compressed attachment to the executable launcher. The launcher
decompresses everything and then runs the script. Sounds like a crapload of
overhead if this must be done for each page request. <disclaimer>I spent a
whole 23 seconds reading about it and maybe I'm completely
wrong..</disclaimer>
Getting back to the real topic, assuming that IIS 5.0 fixed the CGI handler,
we still have the problem that http:\\localhost\webkit.py\ works but without
the trailing slash it doesn't. Could it be that having .py as the CGI
script extension is confusing webkit? Maybe it see's a .py in the URL and
tries to open it from the default directory (Examples)? ... Nope, I changed
it to .py1 and added that mapping, it still didn't work.
C:\bin\pyexe>simple.py WebKit.py
File 'WebKit.cfg' already exists. Overwrite? [yn]y
> "C:\Python20\python.exe" C:\bin\pyexe\Builder.py WebKit.cfg
opts: []
args: ['WebKit.cfg']
Initializing MYSTANDALONE
Analyzing python dependencies of carchive_rt
C:\bin\pyexe\support\carchive_rt.py
Traceback (most recent call last):
File "C:\bin\pyexe\Builder.py", line 502, in ?
main(opts, args)
File "C:\bin\pyexe\Builder.py", line 473, in main
target = makeTarget(cfg, section)
File "C:\bin\pyexe\Builder.py", line 416, in makeTarget
return dispatch[cfg.get(section, 'type')](cfg, section, optcnvrts)
File "C:\bin\pyexe\Builder.py", line 337, in __init__
FullExeTarget.__init__(self, cfg, sectnm, cnvrts)
File "C:\bin\pyexe\Builder.py", line 281, in __init__
ArchiveTarget.__init__(self, cfg, sectnm, cnvrts)
File "C:\bin\pyexe\Builder.py", line 248, in __init__
self._dependencies.merge(carchmodule.dependencies())
File "C:\bin\pyexe\MEInc\Dist\resource.py", line 138, in dependencies
return self.modules + self.binaries
File "C:\bin\pyexe\MEInc\Dist\resource.py", line 118, in __getattr__
for (nm, path) in archivebuilder.Dependencies(self.path):
File "C:\bin\pyexe\MEInc\Dist\archivebuilder.py", line 79, in Dependencies
rslt.append(k, v.__file__)
TypeError: append requires exactly 1 argument; 2 given
|