[Image-SIG] NT, IIS and png
Clover Andrew
aclover@1value.com
Thu, 10 May 2001 18:37:03 +0200
Anja Kipfer <kipfer@logiball.de> wrote:
> Do I need a certain environment-variable or similar to be=20
> able to write in sys.stdout?
No, the problem is most likely that you're not writing to
stdout as a binary file. LFs are probably being changed into
CRLFs, making the file invalid.
Check your IIS Python-script-handler in 'Home directory->
Configuration' - if I remember correctly, you need the '-u'
switch to get a binary stdout, so the command should probably
be something like
X:\Program Files\Python\python.exe -u "%s" "%s"
Does that fix it?
--=20
Andrew Clover
Technical Consultant
1VALUE.com AG