Getting No module named common.filter_persist_middleware

50 views
Skip to first unread message

smrdoshi

unread,
Mar 21, 2012, 12:54:51 AM3/21/12
to django...@googlegroups.com
Hi All,

I am running one application on centos which is based on python and django. 
I have installed python 2.4.3 and django 1.3.1. But when i am running application its giving me below error.

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/modpython.py", line 212, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/modpython.py", line 174, in __call__
    self.load_middleware()

  File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 47, in load_middleware
    raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))

ImproperlyConfigured: Error importing middleware common.filter_persist_middleware: "No module named common.filter_persist_middleware"

I did searching for the solution but not getting any useful solution. 
So, can anybody please help me to sort out the issue? 

Thanks,
Samir Doshi
Reply all
Reply to author
Forward
0 new messages