
May 12th, 2004, 02:47 AM
|
|
Contributing User
|
|
Join Date: Feb 2004
Location: London, England
|
|
|
Two other common problems to check for:
1) the python program is not where the #! at the start of the script says it is. In the code that you post, the python executable is "python2" - is the 2 supposed to be there?
2) editing the python script on a Windows system, then running it on UNIX without stripping out the carriage returns.
Both of these will cause the server to barf before the script is executed, so it will not make any difference what is in the script.
If you can, check the server error logs. This will give you more information about what went wrong.
Dave - The Developers' Coach
Last edited by DevCoach : May 12th, 2004 at 02:50 AM.
|