[mod_python] Reload strangeness

Gregory Trubetskoy grisha at modpython.org
Thu Jan 18 22:51:35 EST 2001

It means that '/var/www/geekreview/new2/gr_main.py' contains no function
called handler.

But sometimes in rare cases when you do a lot of editing/development and
config changes, the Python interpreters in some apache processes may end
up being a bit confused as to what's going on, so you just have to restart

  Gregory (Grisha) Trubetskoy
       grisha at modpython.org

On Thu, 18 Jan 2001, Kevin Lindsay wrote:

> I'm just curious if there is any known reason why when I hit the
> reload button in netscape it sometimes loads my script and other
> times, without changing any code I get this:
> Mod_python error: "PythonHandler gr_main" Traceback (most recent 
> call last): File "/usr/lib/python2.0/site-packages/mod_python/apache.py",
> line 180, in Dispatch object = resolve_object(self.req, module, object_str,
> silent) File "/usr/lib/python2.0/site-packages/mod_python/apache.py", line
> 396,in resolve_object raise AttributeError, s AttributeError: module 
> '/var/www/geekreview/new2/gr_main.py' contains no 'handler' [an error 
> occurred while processing this directive]
> -----------------------------------------------------------------------
>  Kevin Lindsay                  | "Storm Linux, Taking Linux by Storm!"
>  Stormix Technologies Inc.      | http://www.stormix.com/
>  Chief Technology Officer (CTO) | 
> -----------------------------------------------------------------------
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list