This sounds like Review Board may not have been properly installed.

Try running: rb-site manage /path/to/site shell

And then:

    import reviewboard
    print reviewboard.VERSION
    from reviewboard.admin.middleware import get_registered_auth_backends

And paste the results

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Sep 9, 2011 at 8:27 AM, Steve <seide.al...@gmail.com> wrote:

> I have a new CentOS 5.6 box on which I've installed RB 1.6.  When I
> try to access the site for the first time, I get this error:
>
> Mod_python error: "PythonHandler django.core.handlers.modpython"
>
> Traceback (most recent call last):
>
>  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line
> 299, in HandlerDispatch
>    result = object(req)
>
>  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> core/handlers/modpython.py", line 213, in handler
>    return ModPythonHandler()(req)
>
>  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> core/handlers/modpython.py", line 174, in __call__
>    self.load_middleware()
>
>  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/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
> reviewboard.admin.middleware: "cannot import name
> get_registered_auth_backends"
>
>
> My current configuration is:
>
> - Python 2.4.3
> - MySQL 5.0.77
> - Apache 2
> - mod_python-3.2.8-3.1.x86_64
> - patch 2.5.4
> - python-devel-2.4.3-44.el5
> - MySQL-python-1.2.1-1.x86_64 base, then upgraded to
> MySQL_python-1.2.3
>
>
> Do I need a newer mod_python?  If not, can someone suggest what is
> ImproperlyConfigured?
>
> Thanks!
>
> -- Steve
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to