So the issue is that you have Review Board 1.5.5 installed with Django 1.6. RB 1.5.x requires Django 1.1
-David On Tue, Jun 9, 2015 at 6:16 PM John Schmitt <[email protected]> wrote: > I need help with my installation on Centos 7. I've created a Python 2.7 > virtual environment that works well. > > I've inherited an older reviewboard site and I'm migrating it to a VM from > which I'll do an upgrade. > > > # pip freeze > Warning: cannot find svn location for flup==1.0.3.dev-20110405 > Django==1.6.10 > Djblets==0.8.18 > MySQL-python==1.2.5 > Pillow==2.8.2 > Pygments==2.0.2 > ReviewBoard==1.5.5 > django-evolution==0.7.5 > django-pipeline==1.3.27 > ecdsa==0.13 > feedparser==5.2.0 > ## FIXME: could not find svn URL in dependency_links for this package: > flup==1.0.3.dev-20110405 > futures==3.0.2 > ipython==3.1.0 > mercurial==3.4.1 > paramiko==1.15.2 > pillowfight==0.2 > pycrypto==2.6.1 > python-dateutil==1.5 > python-memcached==1.54 > pytz==2015.4 > recaptcha-client==1.0.6 > six==1.9.0 > wsgiref==0.1.2 > > > This is the final output of `rb-site install...` > > * Installing the site... > Building site directories ... > [!] Unable to find the Djblets media path. Make sure Djblets is > installed and try this again. > OK > Building site configuration files ... OK > Creating database ... > [!] Unable to execute the manager command syncdb: cannot import name > execute_manager > > [!] Unable to execute the manager command registerscmtools: cannot > import name execute_manager > OK > Performing migrations ... > [!] Unable to execute the manager command evolve: cannot import name > execute_manager > OK > Creating administrator account ... Traceback (most recent call last): > File "/tintri/reviewboard-venv/bin/rb-site", line 9, in <module> > load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-site')() > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py", > line 1611, in main > command.run() > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py", > line 1177, in run > self.show_install_status() > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py", > line 1440, in show_install_status > site.create_admin_user) > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py", > line 703, in step > func() > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py", > line 355, in create_admin_user > from django.contrib.auth.models import User > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/contrib/auth/__init__.py", > line 6, in <module> > from django.middleware.csrf import rotate_token > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/middleware/csrf.py", > line 14, in <module> > from django.utils.cache import patch_vary_headers > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/utils/cache.py", > line 26, in <module> > from django.core.cache import get_cache > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/core/cache/__init__.py", > line 69, in <module> > if DEFAULT_CACHE_ALIAS not in settings.CACHES: > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/conf/__init__.py", > line 54, in __getattr__ > self._setup(name) > File > "/tintri/reviewboard-venv/lib/python2.7/site-packages/django/conf/__init__.py", > line 47, in _setup > % (desc, ENVIRONMENT_VARIABLE)) > django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but > settings are not configured. You must either define the environment > variable DJANGO_SETTINGS_MODULE or call settings.configure() before > accessing settings. > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
