Re: Review Board 1.7 RC 1 is released!
Not sure what you mean by not proper? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Sun, Dec 9, 2012 at 10:11 PM, kvr kvr@gmail.com wrote: Thanks ! , that resolved the issue ,but UI is not proper. On Saturday, December 8, 2012 5:19:51 PM UTC+5:30, Vishal Gautam wrote: That worked!!! Installed the latest Djblets 0.7.6 and it worked. Thank you so much Chris! On Sat, Dec 8, 2012 at 1:33 PM, Christian Hammond chi...@gmail.comwrote: If you upgrade Djblets to what's in Git, this will go away. I'll see about doing another Djblets release tonight, though, to fix it. As soon as we finish docs, 1.7 will be released. Christian On Dec 7, 2012, at 21:21, Vishal Gautam gautam...@gmail.com wrote: Turned Debug=True, now i see this ... any pointers? Traceback: File /usr/local/lib/python2.6/**site-packages/Django-1.4.2-** py2.6.egg/django/core/**handlers/base.py in get_response 89. response = middleware_method(request) File /usr/local/lib/python2.6/**site-packages/ReviewBoard-1.** 7rc1-py2.6.egg/reviewboard/**admin/middleware.py in process_request 44. load_site_config() File /usr/local/lib/python2.6/**site-packages/ReviewBoard-1.** 7rc1-py2.6.egg/reviewboard/**admin/siteconfig.py in load_site_config 215. apply_django_settings(**siteconfig, settings_map) File /usr/local/lib/python2.6/**site-packages/Djblets-0.7.5-** py2.6.egg/djblets/siteconfig/**django_settings.py in apply_django_settings 210. setter(settings, setting_key, value) File /usr/local/lib/python2.6/**site-packages/Djblets-0.7.5-** py2.6.egg/djblets/siteconfig/**django_settings.py in _set_cache_backend 48. engine, host, params = parse_backend_uri(value) File /usr/local/lib/python2.6/**site-packages/Django-1.4.2-** py2.6.egg/django/core/cache/__**init__.py in parse_backend_uri 58. if backend_uri.find(':') == -1: Exception Type: AttributeError at / Exception Value: 'dict' object has no attribute 'find' On Sat, Dec 8, 2012 at 12:16 AM, Christian Hammond chi...@gmail.comwrote: We're definitely compatible with Python 2.6. All the entries in the log you provided are just harmless warnings, so it must be something else causing the HTTP 500 error. Is there nothing else after that in the log file? Christian On Dec 7, 2012, at 5:56, Vishal Gautam gautam...@gmail.com wrote: Ahh ... that python upgrade caused a lot of damage (being a newbie), spent entire day battling it ... since it was a new install, I recreated the site with new db, got plethora of errors. Thinking Python 2.7 could be an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and recreated the site. Now i get a 500 with following errors in error_log. Is RB 1.7 not compatible with Python 2.6? [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-** packages/Djblets-0.7.5-py2.6.**egg/djblets/gravatars/__init__**.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead [Fri Dec 07 13:39:43 2012] [error] from md5 import md5 [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-** packages/Django-1.4.2-py2.6.**egg/django/views/generic/list_**detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. [Fri Dec 07 13:39:43 2012] [error] DeprecationWarning On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond wrote: Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautam...@gmail.comwrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/ reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-packages/Djblets-0.7.5-py2.7.**e** gg/djblets/gravatars/__init__**.**py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-**li** nux-x86_64.egg/Crypto/Util/**num**ber.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... Project signature has changed - an evolution is required Installing custom SQL
Re: Review Board 1.7 RC 1 is released!
Thanks ! , that resolved the issue ,but UI is not proper. On Saturday, December 8, 2012 5:19:51 PM UTC+5:30, Vishal Gautam wrote: That worked!!! Installed the latest Djblets 0.7.6 and it worked. Thank you so much Chris! On Sat, Dec 8, 2012 at 1:33 PM, Christian Hammond chi...@gmail.comjavascript: wrote: If you upgrade Djblets to what's in Git, this will go away. I'll see about doing another Djblets release tonight, though, to fix it. As soon as we finish docs, 1.7 will be released. Christian On Dec 7, 2012, at 21:21, Vishal Gautam gautam...@gmail.comjavascript: wrote: Turned Debug=True, now i see this ... any pointers? Traceback: File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/handlers/base.py in get_response 89. response = middleware_method(request) File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/middleware.py in process_request 44. load_site_config() File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/siteconfig.py in load_site_config 215. apply_django_settings(siteconfig, settings_map) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in apply_django_settings 210. setter(settings, setting_key, value) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in _set_cache_backend 48. engine, host, params = parse_backend_uri(value) File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/cache/__init__.py in parse_backend_uri 58. if backend_uri.find(':') == -1: Exception Type: AttributeError at / Exception Value: 'dict' object has no attribute 'find' On Sat, Dec 8, 2012 at 12:16 AM, Christian Hammond chi...@gmail.comjavascript: wrote: We're definitely compatible with Python 2.6. All the entries in the log you provided are just harmless warnings, so it must be something else causing the HTTP 500 error. Is there nothing else after that in the log file? Christian On Dec 7, 2012, at 5:56, Vishal Gautam gautam...@gmail.comjavascript: wrote: Ahh ... that python upgrade caused a lot of damage (being a newbie), spent entire day battling it ... since it was a new install, I recreated the site with new db, got plethora of errors. Thinking Python 2.7 could be an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and recreated the site. Now i get a 500 with following errors in error_log. Is RB 1.7 not compatible with Python 2.6? [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead [Fri Dec 07 13:39:43 2012] [error] from md5 import md5 [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. [Fri Dec 07 13:39:43 2012] [error] DeprecationWarning On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond wrote: Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautam...@gmail.comwrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/ reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-**packages/Djblets-0.7.5-py2.7.** egg/djblets/gravatars/__init__**.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-**packages/pycrypto-2.6-py2.7-** linux-x86_64.egg/Crypto/Util/**number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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
Re: Review Board 1.7 RC 1 is released!
If you upgrade Djblets to what's in Git, this will go away. I'll see about doing another Djblets release tonight, though, to fix it. As soon as we finish docs, 1.7 will be released. Christian On Dec 7, 2012, at 21:21, Vishal Gautam gautamvis...@gmail.com wrote: Turned Debug=True, now i see this ... any pointers? Traceback: File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/handlers/base.py in get_response 89. response = middleware_method(request) File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/middleware.py in process_request 44. load_site_config() File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/siteconfig.py in load_site_config 215. apply_django_settings(siteconfig, settings_map) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in apply_django_settings 210. setter(settings, setting_key, value) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in _set_cache_backend 48. engine, host, params = parse_backend_uri(value) File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/cache/__init__.py in parse_backend_uri 58. if backend_uri.find(':') == -1: Exception Type: AttributeError at / Exception Value: 'dict' object has no attribute 'find' On Sat, Dec 8, 2012 at 12:16 AM, Christian Hammond chip...@gmail.com wrote: We're definitely compatible with Python 2.6. All the entries in the log you provided are just harmless warnings, so it must be something else causing the HTTP 500 error. Is there nothing else after that in the log file? Christian On Dec 7, 2012, at 5:56, Vishal Gautam gautamvis...@gmail.com wrote: Ahh ... that python upgrade caused a lot of damage (being a newbie), spent entire day battling it ... since it was a new install, I recreated the site with new db, got plethora of errors. Thinking Python 2.7 could be an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and recreated the site. Now i get a 500 with following errors in error_log. Is RB 1.7 not compatible with Python 2.6? [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead [Fri Dec 07 13:39:43 2012] [error] from md5 import md5 [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. [Fri Dec 07 13:39:43 2012] [error] DeprecationWarning On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond wrote: Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautam...@gmail.com wrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-packages/Djblets-0.7.5-py2.7.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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: In model reviews.FileAttachmentComment: Field 'extra_data' has been added In model reviews.ReviewRequest: Field 'last_review_activity_timestamp' has been added Field 'last_review_timestamp' has been deleted In model accounts.Profile: Field 'timezone' has been added
Re: Review Board 1.7 RC 1 is released!
We're definitely compatible with Python 2.6. All the entries in the log you provided are just harmless warnings, so it must be something else causing the HTTP 500 error. Is there nothing else after that in the log file? Christian On Dec 7, 2012, at 5:56, Vishal Gautam gautamvis...@gmail.com wrote: Ahh ... that python upgrade caused a lot of damage (being a newbie), spent entire day battling it ... since it was a new install, I recreated the site with new db, got plethora of errors. Thinking Python 2.7 could be an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and recreated the site. Now i get a 500 with following errors in error_log. Is RB 1.7 not compatible with Python 2.6? [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead [Fri Dec 07 13:39:43 2012] [error] from md5 import md5 [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. [Fri Dec 07 13:39:43 2012] [error] DeprecationWarning On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond wrote: Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautam...@gmail.com wrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-packages/Djblets-0.7.5-py2.7.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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: In model reviews.FileAttachmentComment: Field 'extra_data' has been added In model reviews.ReviewRequest: Field 'last_review_activity_timestamp' has been added Field 'last_review_timestamp' has been deleted In model accounts.Profile: Field 'timezone' has been added Field 'open_an_issue' has been added In model diffviewer.DiffSetHistory: Field 'last_diff_updated' has been added In model diffviewer.FileDiff: Field 'diff_hash' has been added Field 'parent_diff_hash' has been added Field 'diff64' has been added Field 'parent_diff64' has been added Field 'parent_diff' has been deleted Field 'diff' has been deleted The model auth.Message has been deleted Error: Your models contain changes that Django Evolution cannot resolve automatically. On Wednesday, December 5, 2012 8:36:42 PM UTC+5:30, Christian Hammond wrote: Review Board 1.7 requires Python 2.5 or higher. You'll have to upgrade in order for it to work. What I'd recommend is a newer CentOS install, since some of our dependencies will also need to be updated, and you won't hit as many issues with the upgrade. Your best bet is to upgrade to something with Python 2.7. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Dec 5, 2012 at 2:22 AM, Vishal Gautam gautam...@gmail.com wrote: We are trying out RB, we have 1.6.14 installed and running on CentOS 5.5. Tried to upgrade it to 1.7 using following cmd but its failing ... easy_install -f http://downloads.reviewboard.org/releases/ReviewBoard/1.7 -U ReviewBoard Here is the stracktrace, any help will be much appreciated Best match: ReviewBoard 1.7rc1 Downloading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz Processing
Re: Review Board 1.7 RC 1 is released!
Turned Debug=True, now i see this ... any pointers? Traceback: File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/handlers/base.py in get_response 89. response = middleware_method(request) File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/middleware.py in process_request 44. load_site_config() File /usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/siteconfig.py in load_site_config 215. apply_django_settings(siteconfig, settings_map) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in apply_django_settings 210. setter(settings, setting_key, value) File /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py in _set_cache_backend 48. engine, host, params = parse_backend_uri(value) File /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/cache/__init__.py in parse_backend_uri 58. if backend_uri.find(':') == -1: Exception Type: AttributeError at / Exception Value: 'dict' object has no attribute 'find' On Sat, Dec 8, 2012 at 12:16 AM, Christian Hammond chip...@gmail.comwrote: We're definitely compatible with Python 2.6. All the entries in the log you provided are just harmless warnings, so it must be something else causing the HTTP 500 error. Is there nothing else after that in the log file? Christian On Dec 7, 2012, at 5:56, Vishal Gautam gautamvis...@gmail.com wrote: Ahh ... that python upgrade caused a lot of damage (being a newbie), spent entire day battling it ... since it was a new install, I recreated the site with new db, got plethora of errors. Thinking Python 2.7 could be an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and recreated the site. Now i get a 500 with following errors in error_log. Is RB 1.7 not compatible with Python 2.6? [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead [Fri Dec 07 13:39:43 2012] [error] from md5 import md5 [Fri Dec 07 13:39:43 2012] [error] /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. [Fri Dec 07 13:39:43 2012] [error] DeprecationWarning On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond wrote: Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautam...@gmail.comwrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/ reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-**packages/Djblets-0.7.5-py2.7.** egg/djblets/gravatars/__init__**.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-**packages/pycrypto-2.6-py2.7-** linux-x86_64.egg/Crypto/Util/**number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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: In model reviews.FileAttachmentComment: Field 'extra_data' has been added In model reviews.ReviewRequest: Field 'last_review_activity_**timestamp' has been added Field 'last_review_timestamp' has been deleted In model accounts.Profile: Field 'timezone' has been added Field 'open_an_issue' has been added In model diffviewer.DiffSetHistory: Field 'last_diff_updated' has been added In model diffviewer.FileDiff: Field 'diff_hash' has been added Field 'parent_diff_hash' has been added Field 'diff64' has been added Field 'parent_diff64' has been added Field 'parent_diff'
Re: Review Board 1.7 RC 1 is released!
Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-packages/Djblets-0.7.5-py2.7.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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: In model reviews.FileAttachmentComment: Field 'extra_data' has been added In model reviews.ReviewRequest: Field 'last_review_activity_timestamp' has been added Field 'last_review_timestamp' has been deleted In model accounts.Profile: Field 'timezone' has been added Field 'open_an_issue' has been added In model diffviewer.DiffSetHistory: Field 'last_diff_updated' has been added In model diffviewer.FileDiff: Field 'diff_hash' has been added Field 'parent_diff_hash' has been added Field 'diff64' has been added Field 'parent_diff64' has been added Field 'parent_diff' has been deleted Field 'diff' has been deleted The model auth.Message has been deleted Error: Your models contain changes that Django Evolution cannot resolve automatically. On Wednesday, December 5, 2012 8:36:42 PM UTC+5:30, Christian Hammond wrote: Review Board 1.7 requires Python 2.5 or higher. You'll have to upgrade in order for it to work. What I'd recommend is a newer CentOS install, since some of our dependencies will also need to be updated, and you won't hit as many issues with the upgrade. Your best bet is to upgrade to something with Python 2.7. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Dec 5, 2012 at 2:22 AM, Vishal Gautam gautam...@gmail.comjavascript: wrote: We are trying out RB, we have 1.6.14 installed and running on CentOS 5.5. Tried to upgrade it to 1.7 using following cmd but its failing ... easy_install -f http://downloads.reviewboard.org/releases/ReviewBoard/1.7 -U ReviewBoard Here is the stracktrace, any help will be much appreciated Best match: ReviewBoard 1.7rc1 Downloading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz Processing ReviewBoard-1.7rc1.tar.gz Running ReviewBoard-1.7rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vW-lSE/ReviewBoard-1.7rc1/egg-dist-tmp-DrI1Td Traceback (most recent call last): File ./contrib/internal/build-media.py, line 19, in ? ret = call_command('collectstatic', interactive=False, verbosity=2) File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/management/__init__.py, line 153, in call_command klass = load_command_class(app_name, name) File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/management/__init__.py, line 68, in load_command_class return module.Command() File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/contrib/staticfiles/management/commands/collectstatic.py, line 41, in __init__ self.storage = get_storage_class(settings.STATICFILES_STORAGE)() File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/files/storage.py, line 265, in get_storage_class raise ImproperlyConfigured('Error importing storage module %s: %s' % (module, e)) django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: cannot import name CachedFilesMixin Traceback (most recent call last): File /usr/bin/easy_install, line 7, in ? sys.exit( File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 1712, in main .. snipped ... self.distribution.run_command(command) File /usr/lib64/python2.4/distutils/dist.py, line 966, in run_command cmd_obj.run() File setup.py, line 63, in run File /usr/lib64/python2.4/distutils/cmd.py, line 333, in run_command self.distribution.run_command(command) File /usr/lib64/python2.4/distutils/dist.py, line 966,
Re: Review Board 1.7 RC 1 is released!
Hi, First, do you have a backup of the database? What actions did you take on the database prior to this attempt? For example, did you ever run evolve yourself? Or attempt a downgrade after an upgrade? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam gautamvis...@gmail.comwrote: Thanks for the response Chris! I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine (after getting bunch of issues those I could look up in Google). Now I am stuck at upgrading the site and my RB instance is down ... Please help! [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/ reviews.xxx..com Rebuilding directory structure Updating database. This may take a while. /usr/local/lib/python2.7/site-packages/Djblets-0.7.5-py2.7.egg/djblets/gravatars/__init__.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Creating tables ... 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: In model reviews.FileAttachmentComment: Field 'extra_data' has been added In model reviews.ReviewRequest: Field 'last_review_activity_timestamp' has been added Field 'last_review_timestamp' has been deleted In model accounts.Profile: Field 'timezone' has been added Field 'open_an_issue' has been added In model diffviewer.DiffSetHistory: Field 'last_diff_updated' has been added In model diffviewer.FileDiff: Field 'diff_hash' has been added Field 'parent_diff_hash' has been added Field 'diff64' has been added Field 'parent_diff64' has been added Field 'parent_diff' has been deleted Field 'diff' has been deleted The model auth.Message has been deleted Error: Your models contain changes that Django Evolution cannot resolve automatically. On Wednesday, December 5, 2012 8:36:42 PM UTC+5:30, Christian Hammond wrote: Review Board 1.7 requires Python 2.5 or higher. You'll have to upgrade in order for it to work. What I'd recommend is a newer CentOS install, since some of our dependencies will also need to be updated, and you won't hit as many issues with the upgrade. Your best bet is to upgrade to something with Python 2.7. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Dec 5, 2012 at 2:22 AM, Vishal Gautam gautam...@gmail.comwrote: We are trying out RB, we have 1.6.14 installed and running on CentOS 5.5. Tried to upgrade it to 1.7 using following cmd but its failing ... easy_install -f http://downloads.reviewboard.** org/releases/ReviewBoard/1.7http://downloads.reviewboard.org/releases/ReviewBoard/1.7-U ReviewBoard Here is the stracktrace, any help will be much appreciated Best match: ReviewBoard 1.7rc1 Downloading http://downloads.reviewboard.**org/releases/ReviewBoard/1.7/ **ReviewBoard-1.7rc1.tar.gzhttp://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz Processing ReviewBoard-1.7rc1.tar.gz Running ReviewBoard-1.7rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vW-lSE/**ReviewBoard-1.7rc1/egg-dist-**tmp-DrI1Td Traceback (most recent call last): File ./contrib/internal/build-**media.py, line 19, in ? ret = call_command('collectstatic', interactive=False, verbosity=2) File /usr/lib/python2.4/site-**packages/Django-1.3.4-py2.4.** egg/django/core/management/__**init__.py, line 153, in call_command klass = load_command_class(app_name, name) File /usr/lib/python2.4/site-**packages/Django-1.3.4-py2.4.** egg/django/core/management/__**init__.py, line 68, in load_command_class return module.Command() File /usr/lib/python2.4/site-**packages/Django-1.3.4-py2.4.** egg/django/contrib/**staticfiles/management/**commands/collectstatic.py, line 41, in __init__ self.storage = get_storage_class(settings.**STATICFILES_STORAGE)() File /usr/lib/python2.4/site-**packages/Django-1.3.4-py2.4.** egg/django/core/files/storage.**py, line 265, in get_storage_class raise ImproperlyConfigured('Error importing storage module %s: %s' % (module, e)) django.core.exceptions.**ImproperlyConfigured: Error importing storage module pipeline.storage: cannot import name CachedFilesMixin Traceback (most recent
Re: Review Board 1.7 RC 1 is released!
Review Board 1.7 requires Python 2.5 or higher. You'll have to upgrade in order for it to work. What I'd recommend is a newer CentOS install, since some of our dependencies will also need to be updated, and you won't hit as many issues with the upgrade. Your best bet is to upgrade to something with Python 2.7. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Dec 5, 2012 at 2:22 AM, Vishal Gautam gautamvis...@gmail.comwrote: We are trying out RB, we have 1.6.14 installed and running on CentOS 5.5. Tried to upgrade it to 1.7 using following cmd but its failing ... easy_install -f http://downloads.reviewboard.org/releases/ReviewBoard/1.7 -U ReviewBoard Here is the stracktrace, any help will be much appreciated Best match: ReviewBoard 1.7rc1 Downloading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz Processing ReviewBoard-1.7rc1.tar.gz Running ReviewBoard-1.7rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vW-lSE/ReviewBoard-1.7rc1/egg-dist-tmp-DrI1Td Traceback (most recent call last): File ./contrib/internal/build-media.py, line 19, in ? ret = call_command('collectstatic', interactive=False, verbosity=2) File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/management/__init__.py, line 153, in call_command klass = load_command_class(app_name, name) File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/management/__init__.py, line 68, in load_command_class return module.Command() File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/contrib/staticfiles/management/commands/collectstatic.py, line 41, in __init__ self.storage = get_storage_class(settings.STATICFILES_STORAGE)() File /usr/lib/python2.4/site-packages/Django-1.3.4-py2.4.egg/django/core/files/storage.py, line 265, in get_storage_class raise ImproperlyConfigured('Error importing storage module %s: %s' % (module, e)) django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: cannot import name CachedFilesMixin Traceback (most recent call last): File /usr/bin/easy_install, line 7, in ? sys.exit( File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 1712, in main .. snipped ... self.distribution.run_command(command) File /usr/lib64/python2.4/distutils/dist.py, line 966, in run_command cmd_obj.run() File setup.py, line 63, in run File /usr/lib64/python2.4/distutils/cmd.py, line 333, in run_command self.distribution.run_command(command) File /usr/lib64/python2.4/distutils/dist.py, line 966, in run_command cmd_obj.run() File setup.py, line 81, in run RuntimeError: Failed to build media files On Friday, November 30, 2012 3:38:07 AM UTC+5:30, Christian Hammond wrote: Review Board Better Late Than Never 1.7 RC 1 is out. We had hoped to get this out earlier, but hit some problems and annoyances during some production use that we felt should be fixed first. So trust me, it was worth the wait :) There's a lot of fixes, enhancements, and some small extension interface changes in this release. See the news and release notes for more information. http://www.reviewboard.org/**news/2012/11/29/review-board-** 1-7-rc-1-released/http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/ We'd like to ask those who plan to upgrade to 1.7 to please give it a try. Aside from major fixes, we are hoping there won't be many changes made until the final 1.7, so now's the time to report any regressions you hit. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Review Board 1.7 RC 1 is released!
Very exciting - I look forward to getting this installed. One question I have is about RBTools? I am using ReviewBot and that depends on the API branch of RBtools. Do you know if the API branch is going to be merged / released at the same time? Also I understand there was a plan for a Python API for 1.7 (as well as the RESTful API) - is that still planned or has that slipped to 1.8 (or later) Cheers Dan On Thursday, November 29, 2012 10:08:07 PM UTC, Christian Hammond wrote: Review Board Better Late Than Never 1.7 RC 1 is out. We had hoped to get this out earlier, but hit some problems and annoyances during some production use that we felt should be fixed first. So trust me, it was worth the wait :) There's a lot of fixes, enhancements, and some small extension interface changes in this release. See the news and release notes for more information. http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/ We'd like to ask those who plan to upgrade to 1.7 to please give it a try. Aside from major fixes, we are hoping there won't be many changes made until the final 1.7, so now's the time to report any regressions you hit. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Review Board 1.7 RC 1 is released!
Hi, Tried to install development version of 1.7RC, hit some errors. Debug info shows below. NameError at / global name 'InvalidCacheBackendError' is not defined Request Method:GETRequest URL:http://107.108.50.12:8085/Django Version:1.4.2Exception Type:NameErrorException Value: global name 'InvalidCacheBackendError' is not defined Exception Location:C:\Python27\lib\site-packages\djblets-0.7.4-py2.7.egg\djblets\siteconfig\django_settings.py in _set_cache_backend, line 47Python Executable:C:\Python27\python.exePython Version:2.7.3 Any clue to fix this? On Friday, November 30, 2012 4:25:52 PM UTC+5:30, Daniel Laird wrote: Very exciting - I look forward to getting this installed. One question I have is about RBTools? I am using ReviewBot and that depends on the API branch of RBtools. Do you know if the API branch is going to be merged / released at the same time? Also I understand there was a plan for a Python API for 1.7 (as well as the RESTful API) - is that still planned or has that slipped to 1.8 (or later) Cheers Dan On Thursday, November 29, 2012 10:08:07 PM UTC, Christian Hammond wrote: Review Board Better Late Than Never 1.7 RC 1 is out. We had hoped to get this out earlier, but hit some problems and annoyances during some production use that we felt should be fixed first. So trust me, it was worth the wait :) There's a lot of fixes, enhancements, and some small extension interface changes in this release. See the news and release notes for more information. http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/ We'd like to ask those who plan to upgrade to 1.7 to please give it a try. Aside from major fixes, we are hoping there won't be many changes made until the final 1.7, so now's the time to report any regressions you hit. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Review Board 1.7 RC 1 is released!
If you upgrade your Djblets, this will now be fixed. Separately from this, though, I must strongly encourage you to move off of Windows as a host, as 1.6.x will be the last release where we officially support it. Going forward, it may break, and we won't be testing it. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Nov 30, 2012 at 3:20 AM, kvr kvr@gmail.com wrote: Hi, Tried to install development version of 1.7RC, hit some errors. Debug info shows below. NameError at / global name 'InvalidCacheBackendError' is not defined Request Method:GET Request URL:http://107.108.50.12:8085/ Django Version:1.4.2Exception Type: NameError Exception Value: global name 'InvalidCacheBackendError' is not defined Exception Location:C:\Python27\lib\site-packages\djblets-0.7.4-py2.7.egg\djblets\siteconfig\django_settings.py in _set_cache_backend, line 47 Python Executable: C:\Python27\python.exePython Version: 2.7.3 Any clue to fix this? On Friday, November 30, 2012 4:25:52 PM UTC+5:30, Daniel Laird wrote: Very exciting - I look forward to getting this installed. One question I have is about RBTools? I am using ReviewBot and that depends on the API branch of RBtools. Do you know if the API branch is going to be merged / released at the same time? Also I understand there was a plan for a Python API for 1.7 (as well as the RESTful API) - is that still planned or has that slipped to 1.8 (or later) Cheers Dan On Thursday, November 29, 2012 10:08:07 PM UTC, Christian Hammond wrote: Review Board Better Late Than Never 1.7 RC 1 is out. We had hoped to get this out earlier, but hit some problems and annoyances during some production use that we felt should be fixed first. So trust me, it was worth the wait :) There's a lot of fixes, enhancements, and some small extension interface changes in this release. See the news and release notes for more information. http://www.reviewboard.org/**news/2012/11/29/review-board-** 1-7-rc-1-released/http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/ We'd like to ask those who plan to upgrade to 1.7 to please give it a try. Aside from major fixes, we are hoping there won't be many changes made until the final 1.7, so now's the time to report any regressions you hit. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en