Your use of the word installed suggest where I may have gone wrong.  I
have RB 1.0.9  installed on another machine in production.  The goal
here was to migrate that over to this machine.  So I never  ran rb-
site install, I just installed all the software and then untar'ed the
old site in place.  Maybe that's the source of my problem.

Here's the output of the commands you gave me:

$ rb-site manage /var/www/reviewboard shell
/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/
__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated;
use settings.DATABASES instead.
  DeprecationWarning
/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/
__init__.py:60: DeprecationWarning: Short names for ENGINE in database
configurations are deprecated. Prepend default.ENGINE with
'django.db.backends.'
  DeprecationWarning
Python 2.4.3 (#1, May  5 2011, 16:39:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import reviewboard
>>> print reviewboard.VERSION
(1, 6, 0, 0, 'final', 0, True)
>>> from reviewboard.admin.middleware import get_registered_auth_backends
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg/
reviewboard/admin/middleware.py", line 21, in ?
    from reviewboard.admin.siteconfig import load_site_config
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg/
reviewboard/admin/siteconfig.py", line 43, in ?
    from reviewboard.accounts.backends import
get_registered_auth_backends
ImportError: cannot import name get_registered_auth_backends


--Steve


On Sep 9, 11:11 am, Christian Hammond <chip...@chipx86.com> wrote:
> 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 athttp://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