[python-win32] isapi + IIS 6
Mark Hammond
mhammond at skippinet.com.au
Tue Sep 12 06:52:01 CEST 2006
> what I try I cannot get the page to say anything other than
> "This module has
> been imported 0 times". removeing the pyc's and or editing
> the .py seemed to
> have no effect.
This was due to IIS6 providing "unlimited length style" filenames (eg,
"\\?\c:\etc") I've recently fixed that in the source here so will be fixed
in the next release. In the mean time, you may want to check your
sys.path[0] entry - it is likely to also be a path in such a format. Simply
ripping the first 4 chars from that path entry should work (and indeed is
what my patch does).
The AttributeError should have been fixed in pywin32 build 205 - we now
catch and ingore that AttributeError, so you may like to upgrade pywin32
versions...
Cheers,
Mark
More information about the Python-win32
mailing list