Looks like a bug in that version of Review Board. 1.5.x is pretty old. Any
chance you can upgrade? Maybe install without RPMs.

Christian

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


On Thu, Mar 15, 2012 at 2:43 PM, James Sweeny <james.swe...@gmail.com>wrote:

> Does anyone know where rb-site is ultimately getting the database settings
> from? I get the error below when trying to install ReviewBoard after
> installing the ReviewBoard-1.5.7-1.el5 rpm from EPEL5. The site does seem
> to install, but no user accounts are created (including the administrator),
> and probably a bunch of other database stuff I'm not yet aware of.
>
> Performing migrations ... Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 7, in ?
>     sys.exit(
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1673, in main
>     command.run()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1214, in run
>     self.show_install_status()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1486, in show_install_status
>     site.migrate_database)
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 714, in step
>     func()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 346, in migrate_database
>     self.run_manage_command("evolve", ["--noinput", "--execute"])
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 397, in run_manage_command
>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File
> "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line
> 362, in execute_manager
>     utility.execute()
>   File
> "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line
> 303, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
> line 195, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
> line 222, in execute
>     output = self.handle(*args, **options)
>   File
> "/usr/lib/python2.4/site-packages/django_evolution/management/commands/evolve.py",
> line 60, in handle
>     self.evolve(*app_labels, **options)
>   File
> "/usr/lib/python2.4/site-packages/django_evolution/management/commands/evolve.py",
> line 123, in evolve
>     temp_mutations = get_mutations(app, evolutions, database)
>   File "/usr/lib/python2.4/site-packages/django_evolution/evolve.py", line
> 52, in get_mutations
>     evolution_module = __import__(module_name, {}, {}, [''])
>   File
> "/usr/lib/python2.4/site-packages/reviewboard/changedescs/evolutions/__init__.py",
> line 6, in ?
>     if settings.DATABASES['default']['ENGINE'].endswith('mysql'):
>   File "/usr/lib/python2.4/site-packages/django/utils/functional.py", line
> 276, in __getattr__
>     return getattr(self._wrapped, name)
> AttributeError: 'Settings' object has no attribute 'DATABASES'
>
>
> Any assistance would be greatly appreciated.
>
> Thanks,
>
> - James
>
> --
> 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