[mod_python] Problems creating files from mod_python

ps0 at igmp.com.ar ps0 at igmp.com.ar
Tue Jul 2 19:48:03 EST 2002


Apache: 1.3.24
mod_python: 2.7.8
Python: 2.2 (w/threads) [i have to recompile it
without threads]


fd=open("/tmp/bleh.txt", "w")
fd.write("HOLA\n")
fd.close()

On the fd.close() it make this error:
IOError: [Errno 9] Bad file Descriptor 

The file is created but i can't write on it.


The perms are corectly applied, from a python script ( out of apache )
the thinks work ok.

Sugestions apreciated.

Tnks in advance.

Hector.



More information about the Mod_python mailing list