Re: Enabling Power Pack fails with an error on the Manage Extensions page
Hi Johan, So it looks like on January 8th, there were two simultaneous attempts to record evolution data to the database. One successfully applied and recorded the evolutions, and the other recorded a version of the database without those evolutions. Both are timestamped at exactly the same time, but the broken one won in the query. Subsequent upgrades (likely from the attempt at a Power Pack upgrade) reused this broken signature. The good news is, we do have a sane signature in the database, and we have all the database changes applied. We just need to clean up the broken entries. Run: $ rb-site manage /path/to/site shell from django_evolution.models import Version Version.objects.filter(id__in=[8, 10]).delete() You should then be able to run evolve without problems, and install Power Pack without problems. 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 1:59:51 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, Here is the data. As far as I know the updates were never interrupted. Regards, Johan On Tuesday, March 10, 2015 at 9:47:49 AM UTC+1, Christian Hammond wrote: Hi, So.. this is interesting.. It looks like the upgrades were all applied, but never recorded. We usually see that when a database upgrade is interrupted for some reason (such as when hitting Control-C at some point in the process). Can you also attach the contents of the django_project_version and django_evolution tables? Those can be sent publicly. There's no confidential data there. What's likely going to be needed is to transplant some data from a valid 2.0.12(/13/14) database from those tables into your database, in order to satisfy Django Evolution's idea of the history of your database. Note that we can do this sort of database repair against a copy of your database and run a series of tests to ensure it will work, as part of a support contract. There's limits in terms of what I can do blind, but I may be able to help out still. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond Reply: Christian Hammond Date: March 10, 2015 at 12:53:40 AM To: revie...@googlegroups.com , Johan Borkhuis Cc: bork...@gmail.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page Along with that, can you also provide a database schema dump? Just the schema, not the data. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond Reply: Christian Hammond Date: March 10, 2015 at 12:52:52 AM To: revie...@googlegroups.com , Johan Borkhuis Cc: bork...@gmail.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page 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 - 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:49:45 AM To: revie...@googlegroups.com Cc: bork...@gmail.com , chri...@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
Re: Enabling Power Pack fails with an error on the Manage Extensions page
Christian, That indeed did the trick. I can now enable and configure Power Pack. Thank you for your very quick help! Regards, Johan On Tuesday, March 10, 2015 at 10:42:16 AM UTC+1, Christian Hammond wrote: Hi Johan, So it looks like on January 8th, there were two simultaneous attempts to record evolution data to the database. One successfully applied and recorded the evolutions, and the other recorded a version of the database without those evolutions. Both are timestamped at exactly the same time, but the broken one won in the query. Subsequent upgrades (likely from the attempt at a Power Pack upgrade) reused this broken signature. The good news is, we do have a sane signature in the database, and we have all the database changes applied. We just need to clean up the broken entries. Run: $ rb-site manage /path/to/site shell from django_evolution.models import Version Version.objects.filter(id__in=[8, 10]).delete() You should then be able to run evolve without problems, and install Power Pack without problems. Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Johan Borkhuis bork...@gmail.com javascript: Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Date: March 10, 2015 at 1:59:51 AM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Cc: bork...@gmail.com javascript: bork...@gmail.com javascript:, chri...@beanbaginc.com javascript: chri...@beanbaginc.com javascript: Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page Christian, Here is the data. As far as I know the updates were never interrupted. Regards, Johan On Tuesday, March 10, 2015 at 9:47:49 AM UTC+1, Christian Hammond wrote: Hi, So.. this is interesting.. It looks like the upgrades were all applied, but never recorded. We usually see that when a database upgrade is interrupted for some reason (such as when hitting Control-C at some point in the process). Can you also attach the contents of the django_project_version and django_evolution tables? Those can be sent publicly. There's no confidential data there. What's likely going to be needed is to transplant some data from a valid 2.0.12(/13/14) database from those tables into your database, in order to satisfy Django Evolution's idea of the history of your database. Note that we can do this sort of database repair against a copy of your database and run a series of tests to ensure it will work, as part of a support contract. There's limits in terms of what I can do blind, but I may be able to help out still. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond Reply: Christian Hammond Date: March 10, 2015 at 12:53:40 AM To: revie...@googlegroups.com , Johan Borkhuis Cc: bork...@gmail.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page Along with that, can you also provide a database schema dump? Just the schema, not the data. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond Reply: Christian Hammond Date: March 10, 2015 at 12:52:52 AM To: revie...@googlegroups.com , Johan Borkhuis Cc: bork...@gmail.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page 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 - 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:49:45 AM To: revie...@googlegroups.com Cc: bork...@gmail.com , chri...@beanbaginc.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page
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. -- begin log output -- 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 bork...@gmail.com javascript: 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
Re: Enabling Power Pack fails with an error on the Manage Extensions page
Hi Johan, Can you provide the entire upgrade log, including the version upgrade information at the top? 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:11:52 AM To: reviewboard@googlegroups.com reviewboard@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 Borkhuiswrote: 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
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
Re: Enabling Power Pack fails with an error on the Manage Extensions page
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__
Re: Enabling Power Pack fails with an error on the Manage Extensions page
Along with that, can you also provide a database schema dump? Just the schema, not the data. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond christ...@beanbaginc.com Reply: Christian Hammond christ...@beanbaginc.com Date: March 10, 2015 at 12:52:52 AM To: reviewboard@googlegroups.com reviewboard@googlegroups.com, Johan Borkhuis borkh...@gmail.com Cc: borkh...@gmail.com borkh...@gmail.com Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page 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 Reply: reviewboard@googlegroups.com Date: March 10, 2015 at 12:49:45 AM To: reviewboard@googlegroups.com Cc: borkh...@gmail.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...
Re: Enabling Power Pack fails with an error on the Manage Extensions page
Christian, This is the list-evolutions output. I will try to get the database schema. Applied evolutions for 'auth': auth_delete_message auth_unique_together_baseline Applied evolutions for 'contenttypes': contenttypes_unique_together_baseline Applied evolutions for 'sessions': session_expire_date_db_index Applied evolutions for 'accounts': is_private timezone open_an_issue extra_data timezone_length_30 localsiteprofile_permissions unique_together_baseline profile_show_closed profile_should_send_email profile_should_send_own_updates profile_default_use_rich_text Applied evolutions for 'attachments': file_attachment_orig_filename file_attachment_file_max_length_512 file_attachment_repo_info file_attachment_repo_path_no_index file_attachment_repo_revision_max_length_64 Applied evolutions for 'changedescs': fields_changed_longtext rich_text Applied evolutions for 'diffviewer': add_parent_diffs filediff_filenames_1024_chars diffset_basedir filediff_status add_diff_hash diffsethistory_diff_updated diffset_base_commit_id filediffdata_line_counts filediffdata_extra_data all_extra_data Applied evolutions for 'hostingsvcs': account_hosting_url account_hosting_url_max_length_255 account_unique_together_baseline Applied evolutions for 'reviews': change_descriptions last_review_timestamp shipit_count default_reviewer_repositories null_repository localsite group_incoming_request_count group_invite_only group_visible default_reviewer_local_site add_issues_to_comments file_attachments file_attachment_comment_extra_data review_request_last_review_activity_timestamp review_request_depends_on commit_id file_attachment_comment_diff_id rich_text base_comment_extra_data unique_together_baseline extra_data review_request_issue_counts group_mailing_list_charfield review_request_draft_commit_id review_request_summary_index review_request_summary_index_manual split_rich_text Applied evolutions for 'scmtools': bugzilla_url_charfield repository_raw_file_url repository_visible repository_path_length_255 localsite repository_access_control group_site repository_hosting_accounts repository_extra_data_null unique_together_baseline repository_archive repository_hooks_uuid repository_raw_password Applied evolutions for 'site': localsite_public On Tuesday, March 10, 2015 at 8:53:43 AM UTC+1, Christian Hammond wrote: Along with that, can you also provide a database schema dump? Just the schema, not the data. Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Christian Hammond chri...@beanbaginc.com javascript: Reply: Christian Hammond chri...@beanbaginc.com javascript: Date: March 10, 2015 at 12:52:52 AM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript:, Johan Borkhuis bork...@gmail.com javascript: Cc: bork...@gmail.com javascript: bork...@gmail.com javascript: Subject: Re: Enabling Power Pack fails with an error on the Manage Extensions page 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 - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Johan Borkhuis Reply: revie...@googlegroups.com javascript: Date: March 10, 2015 at 12:49:45 AM To: revie...@googlegroups.com javascript: Cc: bork...@gmail.com javascript: , chri...@beanbaginc.com javascript: 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
Re: Enabling Power Pack fails with an error on the Manage Extensions page
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