[Tutor] CGI Video collection application File I/O troubles

Chad Crabtree flaxeater at yahoo.com
Mon Dec 6 16:28:49 CET 2004


Olli Rajala wrote:

> 
>  
>
>>Ok. I tried running the script on my Apache server on Windows NT
and IT
>>WORKS!!!! The script saves the values of videodb keys correctly.
DARN!!!
>>I don't get it. Why does the exact same script work on Win and not
on Linux.
>>
>>Oh, did I mention I am developing the application on Linux. And now
I tried
>>it on Win XP with Apache and it works. On Linux I have httpd too.
>>    
>>
>
>Have you triplechecked that you really can write to the file. I
don't
>know how python would react, if you can't write to the file (raise
>IOError perhaps) but it doesn't cost you anything to check that...
:)
>
>Yours, 
>  
>
You know.  I that is what happened to me once.  I could not for the
life 
of me figure it out.  I just chmod 777 it.


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


More information about the Tutor mailing list