[mod_python] *Occasional* AttributeError: Handler

richard offer richard at whitequeen.com
Sun Jul 2 11:39:38 EST 2000


Hi, its me again :-)

I've started getting the occasional 

[Sun Jul  2 11:13:46 2000] [error] PythonHandler index: Traceback (innermost last):
[Sun Jul  2 11:13:46 2000] [error] PythonHandler index:   File "/usr/local/lib/python1.5/site-packages/mod_python/apache.py", line 96, in Dispatch
    object = self.resolve_object(module, object_str)
[Sun Jul  2 11:13:46 2000] [error] PythonHandler index:   File "/usr/local/lib/python1.5/site-packages/mod_python/apache.py", line 42, in resolve_object
    obj = getattr(obj, obj_str)
[Sun Jul  2 11:13:46 2000] [error] PythonHandler index: AttributeError: handler


By occasional I mean I've got a page that loads lots of images from a
MySQL DB. Each image is a separate request. Most appear, but ~15%
don't. Hitting reload sometimes works, sometimes its a different set of
images that don't load.

This was working on the development server, moving across to the
production server I had to change the database access mechanism (from a
unix domain socket to a full inet socket (chroot) , and the production's
version of python is not threaded).


If anyone wants to check the failure mode of the site out its
alfieireland.com/scrapbook/.  I'll make the code available if anyone
can be bothered enough to ask for it. (this is a family site---neither
the site or the connection is designed for the /. effect, please don't
hurt it :-)

richard.

-- 
richard offer @ home 
          84 FE 48 E4 74 D0 26 D4  31 8E B6 86 98 74 E2 7C  8A FB BF A3
___________________________________http://216.185.15.144/users/richard/



More information about the Mod_python mailing list