Hi Johan,

It looks like your upgrade got into a funky state at some point. These fields 
were added in 2.0.12, and should have been applied when upgrading the database. 
So, we'll need to work through this.

Can you run the following and attach the output:

    rb-site manage /path/to/site list-evolutions

I'll be able to give you further instructions after I have that list.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Johan Borkhuis <borkh...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: March 10, 2015 at 12:49:45 AM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Cc: borkh...@gmail.com <borkh...@gmail.com>>, christ...@beanbaginc.com 
<christ...@beanbaginc.com>>
Subject:  Re: Enabling Power Pack fails with an error on the Manage Extensions 
page

> Christian,
>  
> I also did an upgrade to 2.0.14. This is the log of this upgrade, including
> the rb-site upgrade, which gives the same messages. If you need anything
> else please let me know.
>  
> $ sudo easy_install -U ReviewBoard
> Searching for ReviewBoard
> Reading http://pypi.python.org/simple/ReviewBoard/
> Reading http://downloads.review-board.org/releases/
> Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/nightlies/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/
> Reading http://www.review-board.org/
> Reading http://www.reviewboard.org/
> Best match: ReviewBoard 2.0.14
> Downloading
> http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ReviewBoard-2.0.14-py2.7.egg#md5=386f36cd79f2dd6fb4eb9082606d3bc3
>   
> Processing ReviewBoard-2.0.14-py2.7.egg
> creating /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.14-py2.7.egg  
> Extracting ReviewBoard-2.0.14-py2.7.egg to
> /usr/local/lib/python2.7/dist-packages
> Removing ReviewBoard 2.0.13 from easy-install.pth file
> Adding ReviewBoard 2.0.14 to easy-install.pth file
> Installing rb-site script to /usr/local/bin
> Installing rbssh script to /usr/local/bin
>  
> Installed
> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.14-py2.7.egg
> Reading http://downloads.reviewboard.org/mirror/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.8/
> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
> Processing dependencies for ReviewBoard
> Searching for Djblets>=0.8.16,<=0.8.999
> Reading http://pypi.python.org/simple/Djblets/
> Reading http://downloads.review-board.org/releases/Djblets/0.5/
> Reading http://downloads.review-board.org/releases/Djblets/0.6/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.6/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.7/
> Reading http://www.review-board.org/wiki/Djblets
> Reading http://www.reviewboard.org/wiki/Djblets
> Reading https://www.reviewboard.org/downloads/djblets/
> Best match: Djblets 0.8.16
> Downloading
> http://downloads.reviewboard.org/releases/Djblets/0.8/Djblets-0.8.16-py2.7.egg#md5=6d7d0675fcacc4513dd92dd939d1990d
>   
> Processing Djblets-0.8.16-py2.7.egg
> creating /usr/local/lib/python2.7/dist-packages/Djblets-0.8.16-py2.7.egg  
> Extracting Djblets-0.8.16-py2.7.egg to
> /usr/local/lib/python2.7/dist-packages
> Removing Djblets 0.8.15 from easy-install.pth file
> Adding Djblets 0.8.16 to easy-install.pth file
>  
> Installed /usr/local/lib/python2.7/dist-packages/Djblets-0.8.16-py2.7.egg  
> Searching for Django>=1.6.10,<1.7
> Reading http://pypi.python.org/simple/Django/
> Best match: Django 1.6.10
> Downloading
> https://pypi.python.org/packages/source/D/Django/Django-1.6.10.tar.gz#md5=d7123f14ac19ae001be02ed841937b91
>   
> Processing Django-1.6.10.tar.gz
> Running Django-1.6.10/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-KYa6Mu/Django-1.6.10/egg-dist-tmp-p5eFnn
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> zip_safe flag not set; analyzing archive contents...
> django.db.utils: module references __file__
> django.db.models.loading: module references __file__
> django.db.models.loading: module references __path__
> django.template.loaders.app_directories: module references __file__
> django.utils.version: module references __file__
> django.utils.autoreload: module references __file__
> django.utils.six: module references __path__
> django.utils.module_loading: module references __path__
> django.utils.translation.trans_real: module references __file__
> django.utils.unittest.loader: module references __file__
> django.utils.unittest.collector: module references __file__
> django.conf.project_template.project_name.settings: module references
> __file__
> django.views.i18n: module references __file__
> django.test._doctest: module references __file__
> django.test._doctest: module MAY be using inspect.getsourcefile
> django.core.management.__init__: module references __path__
> django.core.management.templates: module references __path__
> django.core.management.sql: module references __file__
> django.core.management.commands.makemessages: module references __file__
> django.contrib.gis.geometry.test_data: module references __file__
> django.contrib.gis.tests.geogapp.tests: module references __file__
> django.contrib.gis.tests.layermap.tests: module references __file__
> django.contrib.gis.tests.geo3d.tests: module references __file__
> django.contrib.formtools.tests.tests: module references __file__
> django.contrib.formtools.tests.wizard.namedwizardtests.tests: module
> references __file__
> django.contrib.formtools.tests.wizard.wizardtests.tests: module references  
> __file__
> django.contrib.sitemaps.tests.test_http: module references __file__
> django.contrib.admindocs.views: module references __file__
> django.contrib.flatpages.tests.test_views: module references __file__
> django.contrib.flatpages.tests.test_templatetags: module references __file__  
> django.contrib.flatpages.tests.test_csrf: module references __file__
> django.contrib.flatpages.tests.test_middleware: module references __file__  
> django.contrib.staticfiles.storage: module references __file__
> django.contrib.admin.bin.compress: module references __file__
> django.contrib.auth.tests.test_views: module references __file__
> django.contrib.auth.tests.test_context_processors: module references
> __file__
> django.contrib.auth.tests.test_forms: module references __file__
> Removing Django 1.6.9 from easy-install.pth file
> Adding Django 1.6.10 to easy-install.pth file
> Installing django-admin.py script to /usr/local/bin
>  
> Installed /usr/local/lib/python2.7/dist-packages/Django-1.6.10-py2.7.egg  
> Finished processing dependencies for ReviewBoard
> $ sudo rb-site upgrade <>
> Rebuilding directory structure
> Updating database. This may take a while.
>  
> The log output below, including warnings and errors,
> can be ignored unless upgrade fails.
>  
> ------------------ ------------------
> Creating tables ...
> Upgrading Review Board from 2.0.13 to 2.0.14
> Project signature has changed - an evolution is required
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
> The stored evolutions do not completely resolve all model changes.
>  
> Run `./manage.py evolve --hint` to see a suggestion for the changes
> required.
>  
> The following are the changes that could not be resolved:
> The application beanbag_licensing has been deleted
> The application rbpowerpack has been deleted
> The application sshdb has been deleted
> In model reviews.ReviewRequest:
> Field 'description_rich_text' has been added
> Field 'testing_done_rich_text' has been added
> In model reviews.Review:
> Field 'body_top_rich_text' has been added
> Field 'body_bottom_rich_text' has been added
> In model reviews.ReviewRequestDraft:
> Field 'description_rich_text' has been added
> Field 'testing_done_rich_text' has been added
> In model accounts.Profile:
> Field 'default_use_rich_text' has been added
> CommandError: Your models contain changes that Django Evolution cannot
> resolve automatically.
>  
> Regards,
> Johan
>  
>  
>  
> On Tuesday, March 10, 2015 at 8:13:04 AM UTC+1, Christian Hammond wrote:
> >
> > Hi Johan,
> >
> > Can you provide the entire upgrade log, including the version upgrade
> > information at the top?
> >
> > Christian
> >
> > --
> > Christian Hammond - chri...@beanbaginc.com  
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -----Original Message-----
> > From: Johan Borkhuis >
> > Reply: revie...@googlegroups.com > > >>
> > Date: March 10, 2015 at 12:11:52 AM
> > To: revie...@googlegroups.com > > >>
> > Subject: Re: Enabling Power Pack fails with an error on the Manage
> > Extensions page
> >
> > > David,
> > >
> > > That give the following (comparable) output:
> > >
> > > Rebuilding directory structure
> > > Updating database. This may take a while.
> > >
> > > The log output below, including warnings and errors,
> > > can be ignored unless upgrade fails.
> > >
> > > ------------------ ------------------
> > > Creating tables ...
> > > Project signature has changed - an evolution is required
> > > Installing custom SQL ...
> > > Installing indexes ...
> > > Installed 0 object(s) from 0 fixture(s)
> > >
> > WARNING:py.warnings:/usr/local/lib/python2.7/dist-packages/ReviewBoardPowerPack-1.2.1-py2.7.egg/rbpowerpack/scmtools/tfs.py:6:
> >   
> >
> > > DeprecationWarning: django.utils.simplejson is deprecated; use json
> > instead.
> > >
> > > Registering new SCM Tool Team Foundation Server
> > > (rbpowerpack.scmtools.tfs.TFSTool) in database
> > > The stored evolutions do not completely resolve all model changes.
> > >
> > > Run `./manage.py evolve --hint` to see a suggestion for the changes
> > > required.
> > >
> > > The following are the changes that could not be resolved:
> > > The application beanbag_licensing has been deleted
> > > The application rbpowerpack has been deleted
> > > The application sshdb has been deleted
> > > In model reviews.ReviewRequest:
> > > Field 'description_rich_text' has been added
> > > Field 'testing_done_rich_text' has been added
> > > In model reviews.Review:
> > > Field 'body_top_rich_text' has been added
> > > Field 'body_bottom_rich_text' has been added
> > > In model reviews.ReviewRequestDraft:
> > > Field 'description_rich_text' has been added
> > > Field 'testing_done_rich_text' has been added
> > > In model accounts.Profile:
> > > Field 'default_use_rich_text' has been added
> > > CommandError: Your models contain changes that Django Evolution cannot
> > > resolve automatically.
> > >
> > > Regards,
> > > Johan
> > >
> > >
> > > On Monday, March 9, 2015 at 10:21:42 PM UTC+1, David Trowbridge wrote:
> > > >
> > > > Johan,
> > > >
> > > > It looks like there's actually a partially-completed upgrade on that
> > > > server, and it's just being exposed by trying to activate the
> > extension.
> > > >
> > > > Can you run `rb-site upgrade /path/to/site` ?
> > > >
> > > > -David
> > > >
> > > > On Mon, Mar 9, 2015 at 2:45 AM Johan Borkhuis > > > wrote:
> > > >
> > > >> Hello,
> > > >>
> > > >> I tried enabling Power Pack, but I get the following error on the
> > Manage
> > > >> Extensions page:
> > > >>
> > > >> The stored evolutions do not completely resolve all model changes.
> > > >> Run `./manage.py evolve --hint` to see a suggestion for the changes
> > required.
> > > >>
> > > >> The following are the changes that could not be resolved:
> > > >> In model reviews.ReviewRequest:
> > > >> Field 'description_rich_text' has been added
> > > >> Field 'testing_done_rich_text' has been added
> > > >> In model reviews.Review:
> > > >> Field 'body_top_rich_text' has been added
> > > >> Field 'body_bottom_rich_text' has been added
> > > >> In model reviews.ReviewRequestDraft:
> > > >> Field 'description_rich_text' has been added
> > > >> Field 'testing_done_rich_text' has been added
> > > >> In model accounts.Profile:
> > > >> Field 'default_use_rich_text' has been added
> > > >>
> > > >>
> > > >> Traceback (most recent call last):
> > > >> File
> > "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.15-py2.7.egg/djblets/extensions/manager.py",
> >   
> >
> > > line 809, in _install_extension_media_internal
> > > >> stdout=stream, stderr=stream)
> > > >> File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.9-py2.7.egg/django/core/management/base.py",
> >   
> >
> > > line 285, in execute
> > > >> output = self.handle(*args, **options)
> > > >> File
> > "/usr/local/lib/python2.7/dist-packages/django_evolution-0.7.4-py2.7.egg/django_evolution/management/commands/evolve.py",
> >   
> >
> > > line 65, in handle
> > > >> self.evolve(*app_labels, **options)
> > > >> File
> > "/usr/local/lib/python2.7/dist-packages/django_evolution-0.7.4-py2.7.egg/django_evolution/management/commands/evolve.py",
> >   
> >
> > > line 133, in evolve
> > > >> self.check_simulation()
> > > >> File
> > "/usr/local/lib/python2.7/dist-packages/django_evolution-0.7.4-py2.7.egg/django_evolution/management/commands/evolve.py",
> >   
> >
> > > line 262, in check_simulation
> > > >> raise CommandError('Your models contain changes that Django '
> > > >> CommandError: Your models contain changes that Django Evolution
> > cannot resolve
> > > automatically.
> > > >>
> > > >>
> > > >> The install itself went OK,:
> > > >>
> > > >> $ sudo easy_install -f http://downloads.beanbaginc.com/powerpack/
> > > >> ReviewBoardPowerPack
> > > >> Searching for ReviewBoardPowerPack
> > > >> Reading http://downloads.beanbaginc.com/powerpack/
> > > >> Best match: ReviewBoardPowerPack 1.2.1
> > > >> Downloading
> > > >>
> > http://downloads.beanbaginc.com/powerpack/ReviewBoardPowerPack-1.2.1-py2.7.egg#md5=ad9afbaba2e0b3ae4bb6b47705448e34
> >   
> >
> > > >> Processing ReviewBoardPowerPack-1.2.1-py2.7.egg
> > > >> creating
> > > >>
> > /usr/local/lib/python2.7/dist-packages/ReviewBoardPowerPack-1.2.1-py2.7.egg 
> >  
> >
> > > >> Extracting ReviewBoardPowerPack-1.2.1-py2.7.egg to
> > > >> /usr/local/lib/python2.7/dist-packages
> > > >> Adding ReviewBoardPowerPack 1.2.1 to easy-install.pth file
> > > >>
> > > >> Installed
> > > >>
> > /usr/local/lib/python2.7/dist-packages/ReviewBoardPowerPack-1.2.1-py2.7.egg 
> >  
> >
> > > >> Processing dependencies for ReviewBoardPowerPack
> > > >> Searching for python-ntlm
> > > >> Reading http://pypi.python.org/simple/python-ntlm/
> > > >> Best match: python-ntlm 1.1.0
> > > >> Downloading
> > > >>
> > https://pypi.python.org/packages/source/p/python-ntlm/python-ntlm-1.1.0.tar.gz#md5=c1b036401a29dd979ee56d48a2267686
> >   
> >
> > > >> Processing python-ntlm-1.1.0.tar.gz
> > > >> Running python-ntlm-1.1.0/setup.py -q bdist_egg --dist-dir
> > > >> /tmp/easy_install-W0Doe5/python-ntlm-1.1.0/egg-dist-tmp-U2Ygim
> > > >> Adding python-ntlm 1.1.0 to easy-install.pth file
> > > >> Installing ntlm_example_extended script to /usr/local/bin
> > > >> Installing ntlm_example_simple script to /usr/local/bin
> > > >>
> > > >> Installed
> > > >> /usr/local/lib/python2.7/dist-packages/python_ntlm-1.1.0-py2.7.egg
> > > >> Finished processing dependencies for ReviewBoardPowerPack
> > > >> $ sudo /etc/init.d/apache2
> > > >> restart
> > > >> [....]
> > > >> Restarting web server: apache2apache2: Could not reliably determine
> > the
> > > >> server's fully qualified domain name, using revboard.local for
> > ServerName
> > > >> ... waiting apache2: Could not reliably determine the server's fully
> > > >> qualified domain name, using revboard.local for ServerName
> > > >> . ok
> > > >> $
> > > >>
> > > >> Is there a way to enable the Power Pack extension?
> > > >>
> > > >> Regards,
> > > >> Johan Borkhuis
> > > >>
> > > >> --
> > > >> 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 reviewboard...@googlegroups.com .
> > > >> 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 reviewboard...@googlegroups.com .
> > > 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 reviewboard+unsubscr...@googlegroups.com.  
> 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to