Review Board 1.5 will flat-out fail with Django 1.4. Django goes through
deprecation processes in their releases, and we're using a number of things
in RB 1.5 that are gone in Django 1.4, and other things that have changed.
Updating settings_local.py wouldn't be sufficient.

This is also true with our versions of Djblets, and some other dependencies
we use.

Christian

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


On Wed, Mar 19, 2014 at 3:20 PM, Kevin Phillips <
kevin.grenville.phill...@gmail.com> wrote:

> Christian;
>
> Could he not just modify his settings_local.py to reflect to updates to
> the file format. The specific errors are for CACHES and DATABASES which are
> defined in that file. I understand Django-1.4 is not supposed to be
> supported.
>
> KP
>
>
> On Thursday, August 30, 2012 4:25:36 PM UTC-7, Christian Hammond wrote:
>
>> Hi,
>>
>> You'll need to remove Django 1.4 and downgrade to 1.3.3. Only the
>> upcoming Review Board 1.7 betas support Django 1.4.
>>
>> I assume you're upgrading to the latest 1.6, and not 1.7 beta?
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>>
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Thu, Aug 30, 2012 at 2:53 PM, CudaPrime <cuda...@gmail.com> wrote:
>>
>>>  Hi all, any help would be appreciated here. I'm a complete noob to
>>> Review Board and it's installation. That said I've been tasked with
>>> upgrading our current 1.5.5 installation to the most current.
>>> I've created a test machine and loaded CentOS 6.3, installed the
>>> dependencies I know about from the installation documentation, and finally
>>> succeeded in getting ReviewBoard installed, at least I'm pretty sure it's
>>> installed.
>>>
>>> When I attempt to run rb-site install /var/www/reviewboard
>>>
>>> I get this;
>>> * Installing the site...
>>> Building site directories ... OK
>>> Building site configuration files ... OK
>>> /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/conf/__init__.py:75: DeprecationWarning: The
>>> ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
>>>   "use STATIC_URL instead.", DeprecationWarning)
>>> /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/cache/__init__.py:82: DeprecationWarning:
>>> settings.CACHE_* is deprecated; use settings.CACHES instead.
>>>   DeprecationWarning
>>> Creating database ... Traceback (most recent call last):
>>>   File "/usr/bin/rb-site", line 8, in <module>
>>>     load_entry_point('ReviewBoard==1.5.5', 'console_scripts',
>>> 'rb-site')()
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1611, in main
>>>     command.run()
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1177, in run
>>>     self.show_install_status()
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1436, in
>>> show_install_status
>>>     site.sync_database)
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 703, in step
>>>     func()
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 339, in sync_database
>>>     self.run_manage_command("syncdb", params)
>>>   File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-
>>> py2.6.egg/reviewboard/cmdline/rbsite.py", line 397, in
>>> run_manage_command
>>>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/__init__.py", line 459, in execute_manager
>>>     utility.execute()
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/__init__.py", line 382, in execute
>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/base.py", line 196, in run_from_argv
>>>     self.execute(*args, **options.__dict__)
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/base.py", line 232, in execute
>>>     output = self.handle(*args, **options)
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/base.py", line 371, in handle
>>>     return self.handle_noargs(**options)
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/core/management/commands/syncdb.py", line 57, in
>>> handle_noargs
>>>     cursor = connection.cursor()
>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.
>>> egg/django/db/backends/dummy/base.py", line 15, in complain
>>>     raise ImproperlyConfigured("settings.DATABASES is improperly
>>> configured. "
>>> django.core.exceptions.ImproperlyConfigured: settings.DATABASES is
>>> improperly configured. Please supply the ENGINE value. Check settings
>>> documentation for more details.
>>>
>>> It appears that django can't properly access mySQL to create it's
>>> database, I've checked and rechecked and I can access the database via
>>> command line, so I'm not sure why the site installion would be having a
>>> problem.
>>>
>>> Thanks in advance for any help!
>>>
>>>  --
>>> 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...@
>>> googlegroups.com
>>>
>>> For more options, visit this group at http://groups.google.com/
>>> group/reviewboard?hl=en
>>>
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
>
> Happy user? Let us know at http://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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to