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 <borkh...@gmail.com> 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+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