[mod_python] 'ok' AttributeError / win32

Ian Clelland ian at veryfresh.com
Thu Sep 5 23:47:13 EST 2002


On Thu, Sep 05, 2002 at 10:12:25PM -0700, Rich Pinder wrote:
> (Very) Newbie here...
> 
> I've gotten the install done, found via the archives the 'gotcha' omission 
> of adding  "AddModule mod_python.c", created the little mptest.py sample, 
> and it KIND of works.... But seems to be complaining that there is no 'ok' 
> attribute found.

> AttributeError: 'module' object has no attribute 'ok'

Identifiers in Python are case-sensitive; try returning "apache.OK" instead of
"apache.ok"

Ian
<ian at veryfresh.com>



More information about the Mod_python mailing list