[mod_python] Problems creating files from mod_python

ps0 at igmp.com.ar ps0 at igmp.com.ar
Wed Jul 3 19:20:51 EST 2002


On Tue, Jul 02, 2002 at 07:48:03PM -0300, ps0 at igmp.com.ar wrote:

Tnks to all for your anwers , the problem was thread support on python
( crazy things ) . Now with phython compiled without thread support
everyting works fine.

Tnks again.

Regards

> 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.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python




More information about the Mod_python mailing list