[mod_python] AttributeError: handler

Mads Kiilerich Mads at Kiilerich.com
Fri Jun 2 04:01:14 EST 2000


Hello,

I'm testing mod_python on a almost vanilla Red Hat 6.2 with the
relevant stuff coming directly from the RPM packages:

[mk at otto mk]$ rpm -q apache python
apache-1.3.12-2
python-1.5.2-13
[mk at otto mk]$ 

mod_python have been installed as DSO according to the
instructions (IMHO, but MyMMV). When apache starts I get

[Fri Jun  2 03:47:15 2000] [notice] Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/3.0.15 mod_python/2.1 Python/1.5.2 configured -- resuming normal operations

But accessing the test.py page I get the attached error-message.

Any hints to how to solve that problem?

TIA,

-- 
Mads Kiilerich          Sys.Adm. Cand.Polyt
Mads at Kiilerich.com      Tel. +45 38 16 26 00  Mob. +45 26 20 07 73
Møntmestervej 12B 1th,  DK-2400 NV,  Denmark

"Learned about WAP. It sucks. The more I play with WML the more sure 
I am that WAP will die out rapidly once phones doing HTML exist."
							Alan Cox
-------------- next part --------------

ERROR mod_python: "PythonHandler test"

Traceback (innermost last):

  File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 87, in Dispatch
    object = self.resolve_object(module, object_str)

  File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 42, in resolve_object
    obj = getattr(obj, obj_str)

AttributeError: handler



More information about the Mod_python mailing list