CGI and logging module

Andrew Clover and-google at doxdesk.com
Fri Nov 19 07:04:21 EST 2004


Peter Mott <peter at monicol.co.uk> wrote:

> The same script with the import statement commented out works as expected. 
> Has anyone encountered this?

You'll need to find out what the error is to go further (see other
posts) but as a tip: problems like this are sometimes caused by
insufficient permissions.

If you have root, try 'su'-ing to the Apache user (eg. 'su nobody')
and running the script directly ('./script.py') - does it work?

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/



More information about the Python-list mailing list