[mod_python] psp pages - I'm an idiot

Eric Walstad eric at ericwalstad.com
Fri Oct 29 15:17:11 EDT 2004


Hey Sean,

On Friday 29 October 2004 11:47 am, Sean Keesler wrote:
[...]
> File
> "C:/Program Files/Apache Group/Apache2/htdocs/psp/index.psp", line
> 3 for n in range(3):    ^SyntaxError: invalid syntaxWhat could be
> causing this?  Anything wrong in my config??

It looks like the index.psp file you posted isn't the one that 
mod_python is executing.  The debug code is showing "for n in 
range(3):"  which I'd guess has a syntax error relating to 
indentation.

Eric.


More information about the Mod_python mailing list