error while upgrading the site to 1.5
Hi, I am getting an error when i try to upgrade my 1.0.9 to 1.5. I was able to upgrade the reviewboard software using command easy_install - U reviewboard. however, when i tried to peform rb-site upgrade command i am getting an error saying Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)). [r...@prk_devdb ~]# rb-site upgrade /var/www/reviewboard Rebuilding directory structure Updating database. This may take a while. [not...@1286224492.623565] mcm_storage_cmd():3334: unable to store value: Operation now in progress: add Upgrading Review Board from 1.0.9 to 1.5 [not...@1286224492.721788] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.763680] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.790238] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.834711] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.877021] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.918811] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.975979] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.017922] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.090849] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for diffviewer. [not...@1286224493.253658] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for reviews. [not...@1286224493.312657] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for scmtools. [not...@1286224493.373277] mcm_storage_cmd():3334: unable to store value: add Project signature has changed - an evolution is required No fixtures found. /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)) -- 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: error while upgrading the site to 1.5
After searching for this, errono 150 seems to be related to creating foreign keys. However, all current tables are of type myisam. It seems to me that might be the cause of the prolbme. Is version 1.5 require all tables to be innodb? If so, that should be part of upgrade. On Oct 4, 4:38 pm, Ankit akshah...@gmail.com wrote: Hi, I am getting an error when i try to upgrade my 1.0.9 to 1.5. I was able to upgrade the reviewboard software using command easy_install - U reviewboard. however, when i tried to peform rb-site upgrade command i am getting an error saying Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)). [r...@prk_devdb ~]# rb-site upgrade /var/www/reviewboard Rebuilding directory structure Updating database. This may take a while. [not...@1286224492.623565] mcm_storage_cmd():3334: unable to store value: Operation now in progress: add Upgrading Review Board from 1.0.9 to 1.5 [not...@1286224492.721788] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.763680] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.790238] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.834711] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.877021] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.918811] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.975979] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.017922] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.090849] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for diffviewer. [not...@1286224493.253658] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for reviews. [not...@1286224493.312657] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for scmtools. [not...@1286224493.373277] mcm_storage_cmd():3334: unable to store value: add Project signature has changed - an evolution is required No fixtures found. /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. Seehttp://www.pycrypto.org/randpool-broken Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)) -- 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: error while upgrading the site to 1.5
Ok. After I changed all tables to innodb, the upgrade command worked just fine. However, I had to restore the db from backup. It was great that I had created a backup before performing the upgrade :-). Otherwise, I would have been SOL. On Oct 4, 4:38 pm, Ankit akshah...@gmail.com wrote: Hi, I am getting an error when i try to upgrade my 1.0.9 to 1.5. I was able to upgrade the reviewboard software using command easy_install - U reviewboard. however, when i tried to peform rb-site upgrade command i am getting an error saying Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)). [r...@prk_devdb ~]# rb-site upgrade /var/www/reviewboard Rebuilding directory structure Updating database. This may take a while. [not...@1286224492.623565] mcm_storage_cmd():3334: unable to store value: Operation now in progress: add Upgrading Review Board from 1.0.9 to 1.5 [not...@1286224492.721788] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.763680] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.790238] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.834711] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.877021] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.918811] mcm_storage_cmd():3334: unable to store value: add [not...@1286224492.975979] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.017922] mcm_storage_cmd():3334: unable to store value: add [not...@1286224493.090849] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for diffviewer. [not...@1286224493.253658] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for reviews. [not...@1286224493.312657] mcm_storage_cmd():3334: unable to store value: add There are unapplied evolutions for scmtools. [not...@1286224493.373277] mcm_storage_cmd():3334: unable to store value: add Project signature has changed - an evolution is required No fixtures found. /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. Seehttp://www.pycrypto.org/randpool-broken Error applying evolution: (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno: 150)) -- 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
No module named pytz
Hi, Recently the server that runs review board locally was restarted. After I started the apache server, I get following error. How do I fix it? : ImportError at /dashboard/ No module named pytz Request Method: GET Request URL:http://codereview.mainurl.com/dashboard/ Exception Type: ImportError Exception Value: No module named pytz Exception Location: /usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg/reviewboard/admin/forms.py in ?, line 1 Python Executable: /usr/bin/python Python Version: 2.4.3 Python Path:['/var/www/reviewboard/conf', '/usr/lib64/python2.4/site- packages/JCC-2.3-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/site- packages/lucene-2.4.1-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/ site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg', '/usr/lib/ python2.4/site-packages/Pygments-1.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/django_evolution-0.0.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/PIL-1.1.6-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/ site-packages/nose-0.11.1-py2.4.egg', '/usr/lib/python2.4/site- packages/Sphinx-0.6.2-py2.4.egg', '/usr/lib/python2.4/site-packages/ Jinja2-2.1.1-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/site- packages/python_memcached-1.44-py2.4.egg', '/usr/lib/python2.4/site- packages/Djblets-0.5.5-py2.4.egg', '/usr/lib/python2.4/site-packages/ Django-1.1.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ setuptools-0.6c11-py2.4.egg', '/usr/lib64/python24.zip', '/usr/lib64/ python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/ lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/ site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/ lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site- packages'] Server time:Thu, 7 Jan 2010 13:08:44 -0500 -- 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: No module named pytz
By the way, from what i can tell pytz is installed and is available here: /usr/lib/python2.4/site-packages/pytz-2009u-py2.4.egg On Jan 7, 1:16 pm, Ankit akshah...@gmail.com wrote: Hi, Recently the server that runs review board locally was restarted. After I started the apache server, I get following error. How do I fix it? : ImportError at /dashboard/ No module named pytz Request Method: GET Request URL: http://codereview.mainurl.com/dashboard/ Exception Type: ImportError Exception Value: No module named pytz Exception Location: /usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg/reviewboard/admin/forms.py in ?, line 1 Python Executable: /usr/bin/python Python Version: 2.4.3 Python Path: ['/var/www/reviewboard/conf', '/usr/lib64/python2.4/site- packages/JCC-2.3-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/site- packages/lucene-2.4.1-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/ site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg', '/usr/lib/ python2.4/site-packages/Pygments-1.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/django_evolution-0.0.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/PIL-1.1.6-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/ site-packages/nose-0.11.1-py2.4.egg', '/usr/lib/python2.4/site- packages/Sphinx-0.6.2-py2.4.egg', '/usr/lib/python2.4/site-packages/ Jinja2-2.1.1-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/site- packages/python_memcached-1.44-py2.4.egg', '/usr/lib/python2.4/site- packages/Djblets-0.5.5-py2.4.egg', '/usr/lib/python2.4/site-packages/ Django-1.1.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ setuptools-0.6c11-py2.4.egg', '/usr/lib64/python24.zip', '/usr/lib64/ python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/ lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/ site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/ lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site- packages'] Server time: Thu, 7 Jan 2010 13:08:44 -0500 -- 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: No module named pytz
Nevermind, the error was due to selinux blocking apache. I disabled selinux, and the site started to work. I figured I post it here in case, someone has the same problem in the future. On Jan 7, 2:55 pm, Ankit akshah...@gmail.com wrote: By the way, from what i can tell pytz is installed and is available here: /usr/lib/python2.4/site-packages/pytz-2009u-py2.4.egg On Jan 7, 1:16 pm, Ankit akshah...@gmail.com wrote: Hi, Recently the server that runs review board locally was restarted. After I started the apache server, I get following error. How do I fix it? : ImportError at /dashboard/ No module named pytz Request Method: GET Request URL: http://codereview.mainurl.com/dashboard/ Exception Type: ImportError Exception Value: No module named pytz Exception Location: /usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg/reviewboard/admin/forms.py in ?, line 1 Python Executable: /usr/bin/python Python Version: 2.4.3 Python Path: ['/var/www/reviewboard/conf', '/usr/lib64/python2.4/site- packages/JCC-2.3-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/site- packages/lucene-2.4.1-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/ site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg', '/usr/lib/ python2.4/site-packages/Pygments-1.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/django_evolution-0.0.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/PIL-1.1.6-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/ site-packages/nose-0.11.1-py2.4.egg', '/usr/lib/python2.4/site- packages/Sphinx-0.6.2-py2.4.egg', '/usr/lib/python2.4/site-packages/ Jinja2-2.1.1-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/site- packages/python_memcached-1.44-py2.4.egg', '/usr/lib/python2.4/site- packages/Djblets-0.5.5-py2.4.egg', '/usr/lib/python2.4/site-packages/ Django-1.1.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ setuptools-0.6c11-py2.4.egg', '/usr/lib64/python24.zip', '/usr/lib64/ python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/ lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/ site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/ lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site- packages'] Server time: Thu, 7 Jan 2010 13:08:44 -0500 -- 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: No module named pytz
Hi Christian, Thanks for your post. I see you probably posted it at the same time. As you can see, the problem was with selinux. However, I appreciate your response. On Jan 7, 3:41 pm, Christian Hammond chip...@chipx86.com wrote: Hi, Looks like it should be installed, though Python's search path doesn't include it. Might want to try deleting it and re-installing using easy_install -U pytz. You can verify whether Python sees it by running python and typing: import pytz Which distro is this? Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Thu, Jan 7, 2010 at 11:55 AM, Ankit akshah...@gmail.com wrote: By the way, from what i can tell pytz is installed and is available here: /usr/lib/python2.4/site-packages/pytz-2009u-py2.4.egg On Jan 7, 1:16 pm, Ankit akshah...@gmail.com wrote: Hi, Recently the server that runs review board locally was restarted. After I started the apache server, I get following error. How do I fix it? : ImportError at /dashboard/ No module named pytz Request Method: GET Request URL: http://codereview.mainurl.com/dashboard/ Exception Type: ImportError Exception Value: No module named pytz Exception Location: /usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg/reviewboard/admin/forms.py in ?, line 1 Python Executable: /usr/bin/python Python Version: 2.4.3 Python Path: ['/var/www/reviewboard/conf', '/usr/lib64/python2.4/site- packages/JCC-2.3-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/site- packages/lucene-2.4.1-py2.4-linux-x86_64.egg', '/usr/lib64/python2.4/ site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg', '/usr/lib/ python2.4/site-packages/Pygments-1.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/django_evolution-0.0.0-py2.4.egg', '/usr/lib/python2.4/ site-packages/PIL-1.1.6-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/ site-packages/nose-0.11.1-py2.4.egg', '/usr/lib/python2.4/site- packages/Sphinx-0.6.2-py2.4.egg', '/usr/lib/python2.4/site-packages/ Jinja2-2.1.1-py2.4-linux-x86_64.egg', '/usr/lib/python2.4/site- packages/python_memcached-1.44-py2.4.egg', '/usr/lib/python2.4/site- packages/Djblets-0.5.5-py2.4.egg', '/usr/lib/python2.4/site-packages/ Django-1.1.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ ReviewBoard-1.0.5.1-py2.4.egg', '/usr/lib/python2.4/site-packages/ setuptools-0.6c11-py2.4.egg', '/usr/lib64/python24.zip', '/usr/lib64/ python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/ lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/ site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/ lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site- packages'] Server time: Thu, 7 Jan 2010 13:08:44 -0500 -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr oups.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