Re: What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
i have done it . thks for your help! before install: yum install openssl OpenSSL-devel openssl-devel yum -y install epel-release yum -y update bash yum -y install gcc yum -y install gcc-c++ yum install -y libffi-devel wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm rpm -ivh mysql-community-release-el7-5.noarch.rpm chown -R openscanner:openscanner /var/lib/mysql yum -y install mysql yum -y install mysql-server yum -y install MySQL-python yum -y install mysql-devel pip install mysql-devel yum -y install python-setuptools yum -y install python-devel yum -y install httpd yum -y install mod_wsgi yum -y install memcached yum -y install patch yum -y install zlib-devel yum -y install libjpeg-turbo-devel easy_install ReviewBoard-2.5.6-py2.7.egg 在 2016年7月15日星期五 UTC+8下午8:10:57,Stephen Gallagher写道: > > On CentOS 7, you will have a much easier time if you follow the > instructions at > https://www.reviewboard.org/docs/manual/dev/admin/installation/linux/#if-you-re-running-centos-red-hat-etc > > On Thu, Jul 14, 2016 at 11:58 PM Cui Fisher> wrote: > >> pip install logs >> >> >> >> In file included from /usr/include/stdint.h:25:0, >> from >> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, >> from src/RIPEMD160.c:48: >> /usr/include/features.h:168:0: note: this is the location of the >> previous definition >> # define _POSIX_C_SOURCE 200809L >> ^ >> In file included from /usr/include/python2.7/pyconfig.h:6:0, >> from /usr/include/python2.7/Python.h:8, >> from src/RIPEMD160.c:57: >> /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" >> redefined [enabled by default] >> #define _XOPEN_SOURCE 600 >> ^ >> In file included from /usr/include/stdint.h:25:0, >> from >> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, >> from src/RIPEMD160.c:48: >> /usr/include/features.h:170:0: note: this is the location of the >> previous definition >> # define _XOPEN_SOURCE 700 >> ^ >> gcc -pthread -shared -Wl,-z,relro >> build/temp.linux-x86_64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o >> build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so >> building 'Crypto.Cipher._AES' extension >> gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 >> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 >> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe >> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong >> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic >> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ >> -I/usr/include/python2.7 -c src/AES.c -o >> build/temp.linux-x86_64-2.7/src/AES.o >> In file included from /usr/include/python2.7/pyconfig.h:6:0, >> from /usr/include/python2.7/Python.h:8, >> from src/AES.c:29: >> /usr/include/python2.7/pyconfig-64.h:1182:0: warning: >> "_POSIX_C_SOURCE" redefined [enabled by default] >> #define _POSIX_C_SOURCE 200112L >> ^ >> In file included from /usr/include/assert.h:36:0, >> from src/AES.c:27: >> /usr/include/features.h:168:0: note: this is the location of the >> previous definition >> # define _POSIX_C_SOURCE 200809L >> ^ >> In file included from /usr/include/python2.7/pyconfig.h:6:0, >> from /usr/include/python2.7/Python.h:8, >> from src/AES.c:29: >> /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" >> redefined [enabled by default] >> #define _XOPEN_SOURCE 600 >> ^ >> In file included from /usr/include/assert.h:36:0, >> from src/AES.c:27: >> /usr/include/features.h:170:0: note: this is the location of the >> previous definition >> # define _XOPEN_SOURCE 700 >> ^ >> gcc -pthread -shared -Wl,-z,relro >> build/temp.linux-x86_64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o >> build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so >> building 'Crypto.Cipher._ARC2' extension >> gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 >> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 >> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe >> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong >> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic >> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ >> -I/usr/include/python2.7 -c src/ARC2.c -o >> build/temp.linux-x86_64-2.7/src/ARC2.o >> In file included from /usr/include/python2.7/pyconfig.h:6:0, >> from /usr/include/python2.7/Python.h:8, >> from src/ARC2.c:45:
Re: What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
On CentOS 7, you will have a much easier time if you follow the instructions at https://www.reviewboard.org/docs/manual/dev/admin/installation/linux/#if-you-re-running-centos-red-hat-etc On Thu, Jul 14, 2016 at 11:58 PM Cui Fisherwrote: > pip install logs > > > > In file included from /usr/include/stdint.h:25:0, > from > /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, > from src/RIPEMD160.c:48: > /usr/include/features.h:168:0: note: this is the location of the > previous definition > # define _POSIX_C_SOURCE 200809L > ^ > In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from src/RIPEMD160.c:57: > /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" > redefined [enabled by default] > #define _XOPEN_SOURCE 600 > ^ > In file included from /usr/include/stdint.h:25:0, > from > /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, > from src/RIPEMD160.c:48: > /usr/include/features.h:170:0: note: this is the location of the > previous definition > # define _XOPEN_SOURCE 700 > ^ > gcc -pthread -shared -Wl,-z,relro > build/temp.linux-x86_64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o > build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so > building 'Crypto.Cipher._AES' extension > gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong > --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ > -I/usr/include/python2.7 -c src/AES.c -o > build/temp.linux-x86_64-2.7/src/AES.o > In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from src/AES.c:29: > /usr/include/python2.7/pyconfig-64.h:1182:0: warning: > "_POSIX_C_SOURCE" redefined [enabled by default] > #define _POSIX_C_SOURCE 200112L > ^ > In file included from /usr/include/assert.h:36:0, > from src/AES.c:27: > /usr/include/features.h:168:0: note: this is the location of the > previous definition > # define _POSIX_C_SOURCE 200809L > ^ > In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from src/AES.c:29: > /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" > redefined [enabled by default] > #define _XOPEN_SOURCE 600 > ^ > In file included from /usr/include/assert.h:36:0, > from src/AES.c:27: > /usr/include/features.h:170:0: note: this is the location of the > previous definition > # define _XOPEN_SOURCE 700 > ^ > gcc -pthread -shared -Wl,-z,relro > build/temp.linux-x86_64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o > build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so > building 'Crypto.Cipher._ARC2' extension > gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong > --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ > -I/usr/include/python2.7 -c src/ARC2.c -o > build/temp.linux-x86_64-2.7/src/ARC2.o > In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from src/ARC2.c:45: > /usr/include/python2.7/pyconfig-64.h:1182:0: warning: > "_POSIX_C_SOURCE" redefined [enabled by default] > #define _POSIX_C_SOURCE 200112L > ^ > In file included from /usr/include/string.h:25:0, > from src/ARC2.c:44: > /usr/include/features.h:168:0: note: this is the location of the > previous definition > # define _POSIX_C_SOURCE 200809L > ^ > In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from src/ARC2.c:45: > /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" > redefined [enabled by default] > #define _XOPEN_SOURCE 600 > ^ > In file included from /usr/include/string.h:25:0, > from src/ARC2.c:44: > /usr/include/features.h:170:0: note: this is the location of the > previous definition > # define _XOPEN_SOURCE 700 >
Re: What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
pip install logs In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, from src/RIPEMD160.c:48: /usr/include/features.h:168:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L ^ In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/RIPEMD160.c:57: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, from src/RIPEMD160.c:48: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so building 'Crypto.Cipher._AES' extension gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-x86_64-2.7/src/AES.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/AES.c:29: /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] #define _POSIX_C_SOURCE 200112L ^ In file included from /usr/include/assert.h:36:0, from src/AES.c:27: /usr/include/features.h:168:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L ^ In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/AES.c:29: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/assert.h:36:0, from src/AES.c:27: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so building 'Crypto.Cipher._ARC2' extension gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-x86_64-2.7/src/ARC2.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/ARC2.c:45: /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] #define _POSIX_C_SOURCE 200112L ^ In file included from /usr/include/string.h:25:0, from src/ARC2.c:44: /usr/include/features.h:168:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L ^ In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/ARC2.c:45: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/string.h:25:0, from src/ARC2.c:44: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC2.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so building 'Crypto.Cipher._Blowfish' extension gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall
Re: What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
centos7 What 's the problem? tks easy_install ReviewBoard-2.5.6-py2.7.egg rb-site install /var/www/reviewboard Traceback (most recent call last): File "/usr/bin/rb-site", line 5, in from pkg_resources import load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2927, in File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2913, in _call_aside File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 635, in _build_master File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 943, in require File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 829, in resolve pkg_resources.DistributionNotFound: The 'Djblets<=0.9.999,>=0.9.3' distribution was not found and is required by ReviewBoard 在 2016年7月13日星期三 UTC+8下午11:04:39,Cui Fisher写道: > > What version of the Django suits with ReviewBoard? > What version of the MySQL-python suits with ReviewBoard? > > > centos 6.5 > httpd-2.2.15-53.el6.centos.x86_64 > Python 2.6.6 > import django > >>> print django.VERSION > (1, 4, 21, 'final', 0) > > pip-1.5.4. > setuptools-24.0.2 > > yum -y install mysql-server (mysql-server-5.1.73-7.el6.x86_64) > yum -y install MySQL-python (MySQL-python-1.2.3-0.3.c1.1.el6.x86_64) > > > I have been test: > pip install ReviewBoard (ReviewBoard-2.5.6.1-py2-none-any.whl) > pip install ReviewBoard-2.5.6-py2-none-any.whl > > yum install ReviewBoard > > Django14.noarch0:1.4.21-1.el6 > MySQL-python.x86_640:1.2.3-0.3.c1.1.el6 > freetype.x86_640:2.3.11-17.el6 > gnutls.x86_640:2.8.5-19.el6_7 > libjpeg-turbo.x86_640:1.2.1-3.el6_5 > libproxy.x86_640:0.3.0-10.el6 > libproxy-bin.x86_640:0.3.0-10.el6 > libproxy-python.x86_640:0.3.0-10.el6 > mercurial.x86_640:1.4-4.el6 > neon.x86_640:0.29.3-3.el6_4 > pakchois.x86_640:0.4-3.2.el6 > patchutils.x86_640:0.3.1-3.1.el6 > perl-URI.noarch0:1.40-2.el6 > postgresql-libs.x86_640:8.4.20-6.el6 > pysvn.x86_640:1.7.6-1.el6 > python-crypto.x86_640:2.0.1-22.el6 > python-dateutil.noarch0:1.4.1-6.el6 > python-django-evolution.noarch1:0.6.9-4.el6 > python-django-pipeline.noarch0:1.2.24-2.el6 > python-djblets.noarch0:0.7.30-2.el6 > python-docutils.noarch0:0.6-1.el6 > python-feedparser.noarch0:5.1.2-2.el6 > python-flup.noarch0:1.0.2-2.el6 > python-imaging.x86_640:1.1.6-19.el6 > python-markdown.noarch0:2.0.1-3.1.el6 > python-memcached.noarch0:1.43-6.el6 > python-mimeparse.noarch0:0.1.4-1.el6 > python-nose.noarch0:0.10.4-3.1.el6 > python-odict.noarch0:1.5.0-4.el6 > python-paramiko.noarch0:1.7.5-2.1.el6 > python-ply.noarch0:3.4-4.el6 > python-psycopg2.x86_640:2.0.14-2.el6 > python-pygments.noarch0:1.1.1-1.el6 > python-recaptcha-client.noarch0:1.0.6-4.el6 > python-simplejson.x86_640:2.0.9-3.1.el6 > python-slimit.noarch0:0.8.1-1.el6.1 > pytz.noarch0:2010h-2.el6 > subversion.x86_640:1.6.11-15.el6_7 > > -- 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.
Re: What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
Don't try to use the Django version shipped in EPEL 6, it's too old. EPEL 7 (For Red Hat Enterprise Linux/CentOS 7) has Django 1.6 which works with ReviewBoard 2.5. Or on EPEL 6, just remove the RPM packages entirely and install ReviewBoard with pip. On Wed, Jul 13, 2016 at 11:04 AM Cui Fisherwrote: > What version of the Django suits with ReviewBoard? > What version of the MySQL-python suits with ReviewBoard? > > > centos 6.5 > httpd-2.2.15-53.el6.centos.x86_64 > Python 2.6.6 > import django > >>> print django.VERSION > (1, 4, 21, 'final', 0) > > pip-1.5.4. > setuptools-24.0.2 > > yum -y install mysql-server (mysql-server-5.1.73-7.el6.x86_64) > yum -y install MySQL-python (MySQL-python-1.2.3-0.3.c1.1.el6.x86_64) > > > I have been test: > pip install ReviewBoard (ReviewBoard-2.5.6.1-py2-none-any.whl) > pip install ReviewBoard-2.5.6-py2-none-any.whl > > yum install ReviewBoard > > Django14.noarch0:1.4.21-1.el6 > MySQL-python.x86_640:1.2.3-0.3.c1.1.el6 > freetype.x86_640:2.3.11-17.el6 > gnutls.x86_640:2.8.5-19.el6_7 > libjpeg-turbo.x86_640:1.2.1-3.el6_5 > libproxy.x86_640:0.3.0-10.el6 > libproxy-bin.x86_640:0.3.0-10.el6 > libproxy-python.x86_640:0.3.0-10.el6 > mercurial.x86_640:1.4-4.el6 > neon.x86_640:0.29.3-3.el6_4 > pakchois.x86_640:0.4-3.2.el6 > patchutils.x86_640:0.3.1-3.1.el6 > perl-URI.noarch0:1.40-2.el6 > postgresql-libs.x86_640:8.4.20-6.el6 > pysvn.x86_640:1.7.6-1.el6 > python-crypto.x86_640:2.0.1-22.el6 > python-dateutil.noarch0:1.4.1-6.el6 > python-django-evolution.noarch1:0.6.9-4.el6 > python-django-pipeline.noarch0:1.2.24-2.el6 > python-djblets.noarch0:0.7.30-2.el6 > python-docutils.noarch0:0.6-1.el6 > python-feedparser.noarch0:5.1.2-2.el6 > python-flup.noarch0:1.0.2-2.el6 > python-imaging.x86_640:1.1.6-19.el6 > python-markdown.noarch0:2.0.1-3.1.el6 > python-memcached.noarch0:1.43-6.el6 > python-mimeparse.noarch0:0.1.4-1.el6 > python-nose.noarch0:0.10.4-3.1.el6 > python-odict.noarch0:1.5.0-4.el6 > python-paramiko.noarch0:1.7.5-2.1.el6 > python-ply.noarch0:3.4-4.el6 > python-psycopg2.x86_640:2.0.14-2.el6 > python-pygments.noarch0:1.1.1-1.el6 > python-recaptcha-client.noarch0:1.0.6-4.el6 > python-simplejson.x86_640:2.0.9-3.1.el6 > python-slimit.noarch0:0.8.1-1.el6.1 > pytz.noarch0:2010h-2.el6 > subversion.x86_640:1.6.11-15.el6_7 > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
What version of the Django suits with ReviewBoard? 1146, "Table 'reviewboard.auth_user' doesn't exist")
What version of the Django suits with ReviewBoard? What version of the MySQL-python suits with ReviewBoard? centos 6.5 httpd-2.2.15-53.el6.centos.x86_64 Python 2.6.6 import django >>> print django.VERSION (1, 4, 21, 'final', 0) pip-1.5.4. setuptools-24.0.2 yum -y install mysql-server (mysql-server-5.1.73-7.el6.x86_64) yum -y install MySQL-python (MySQL-python-1.2.3-0.3.c1.1.el6.x86_64) I have been test: pip install ReviewBoard (ReviewBoard-2.5.6.1-py2-none-any.whl) pip install ReviewBoard-2.5.6-py2-none-any.whl yum install ReviewBoard Django14.noarch0:1.4.21-1.el6 MySQL-python.x86_640:1.2.3-0.3.c1.1.el6 freetype.x86_640:2.3.11-17.el6 gnutls.x86_640:2.8.5-19.el6_7 libjpeg-turbo.x86_640:1.2.1-3.el6_5 libproxy.x86_640:0.3.0-10.el6 libproxy-bin.x86_640:0.3.0-10.el6 libproxy-python.x86_640:0.3.0-10.el6 mercurial.x86_640:1.4-4.el6 neon.x86_640:0.29.3-3.el6_4 pakchois.x86_640:0.4-3.2.el6 patchutils.x86_640:0.3.1-3.1.el6 perl-URI.noarch0:1.40-2.el6 postgresql-libs.x86_640:8.4.20-6.el6 pysvn.x86_640:1.7.6-1.el6 python-crypto.x86_640:2.0.1-22.el6 python-dateutil.noarch0:1.4.1-6.el6 python-django-evolution.noarch1:0.6.9-4.el6 python-django-pipeline.noarch0:1.2.24-2.el6 python-djblets.noarch0:0.7.30-2.el6 python-docutils.noarch0:0.6-1.el6 python-feedparser.noarch0:5.1.2-2.el6 python-flup.noarch0:1.0.2-2.el6 python-imaging.x86_640:1.1.6-19.el6 python-markdown.noarch0:2.0.1-3.1.el6 python-memcached.noarch0:1.43-6.el6 python-mimeparse.noarch0:0.1.4-1.el6 python-nose.noarch0:0.10.4-3.1.el6 python-odict.noarch0:1.5.0-4.el6 python-paramiko.noarch0:1.7.5-2.1.el6 python-ply.noarch0:3.4-4.el6 python-psycopg2.x86_640:2.0.14-2.el6 python-pygments.noarch0:1.1.1-1.el6 python-recaptcha-client.noarch0:1.0.6-4.el6 python-simplejson.x86_640:2.0.9-3.1.el6 python-slimit.noarch0:0.8.1-1.el6.1 pytz.noarch0:2010h-2.el6 subversion.x86_640:1.6.11-15.el6_7 -- 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.
Re: Review Board Ticket #4443: django.db.utils.DatabaseError: (1146, "Table 'reviewboard.auth_user' doesn't exist")
-- To reply, visit https://hellosplat.com/s/beanbag/tickets/4443/ -- New update by musicaptain For Beanbag, Inc. > Review Board > Ticket #4443 Reply: This is a support issue, rather than a bug. Can you instead post on https://groups.google.com/group/reviewboard/ with the full details, and tell us more about your OS and the versions of Review Board and other modules being used? Status: - New + SetupIssue -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at https://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Review Board Ticket #4443: django.db.utils.DatabaseError: (1146, "Table 'reviewboard.auth_user' doesn't exist")
-- To reply, visit https://hellosplat.com/s/beanbag/tickets/4443/ -- New ticket #4443 by musicaptain For Beanbag, Inc. > Review Board Status: New Tags: Priority:Medium, Type:Defect -- django.db.utils.DatabaseError: (1146, "Table 'reviewboard.auth_user' doesn't exist") == # What version are you running? # What's the URL of the page containing the problem? # What steps will reproduce the problem? 1. yum install ReviewBoard 2. rb-site install /var/www/reviewboard 3. # What is the expected output? What do you see instead? * Welcome to the Review Board site installation wizard This will prepare a Review Board site installation in: /var/www/reviewboard We need to know a few things before we can prepare your site for installation. This will only take a few minutes. * What's the host name for this site? This should be the fully-qualified host name without the http://, port or path. Domain Name: 192.168.78.152 * What URL path points to Review Board? Typically, Review Board exists at the root of a URL. For example, http://reviews.example.com/. In this case, you would specify "/". However, if you want to listen to, say, http://example.com/reviews/, you can specify "/reviews/". Note that this is the path relative to the domain and should not include the domain name. The default is / Root Path [/]: * What URL will point to the shipped media files? While most installations distribute media files on the same server as the rest of Review Board, some custom installs may instead have a separate server for this purpose. If unsure, don't change the default. The default is static/ Shipped Media URL [static/]: * What URL will point to the uploaded media files? Note that this is different from shipped media. This is where all uploaded screenshots, file attachments, and extension media will go. It must be a different location from the shipped media. If unsure, don't change the default. The default is media/ Uploaded Media URL [media/]: * What database type will you be using? You can type either the name or the number from the list below. (1) mysql (2) postgresql (3) sqlite3 (not supported for production use) Database Type: 1 * What database name should Review Board use? NOTE: You need to create this database and grant user modification rights before continuing. See your database documentation for more information. The default is reviewboard Database Name [reviewboard]: * What is the database server's address? This should be specified in hostname:port form. The port is optional if you're using a standard port for the database type. The default is localhost Database Server [localhost]: * What is the login and password for this database? This must be a user that has table creation and modification rights on the database you already specified. Database Username: root Database Password: The default is root123 Confirm Database Password [root123]: * What cache mechanism should be used? memcached is strongly recommended. Use it unless you have a good reason not to. You can type either the name or the number from the list below. (1) memcached (recommended) (2) file Cache Type: [!] '' is not a valid option. Cache Type: 1 * What memcached host should be used? This is in the format of hostname:port The default is localhost:11211 Memcache Server [localhost:11211]: * What web server will you be using? You can type either the name or the number from the list below. (1) apache (2) lighttpd Web Server: 1 * What Python loader module will you be using? Based on our experiences, we recommend using wsgi with Review Board. You can type either the name or the number from the list below. (1) wsgi (recommended) (2) fastcgi (3) modpython (no longer supported) Python Loader: [!] '' is not a valid option. Python Loader: 1 * Create an administrator account To configure Review Board, you'll need an administrator account. It is advised to have one administrator and then use that account to grant administrator permissions to your personal user account. If you plan to use NIS or LDAP, use an account name other than your NIS/LDAP account so as to prevent conflicts. The default is admin Username [admin]: Password: The default is 123 Confirm Password [123]: E-Mail Address: [!] You must answer this question. E-Mail Address: cuizhiqi...@maidoupo.com Company/Organization Name (optional
Re: rb-site install error: Table 'reviewboard.auth_user' doesn't exist
I have a clean CentOS 7.0 and reinstall it successfully. Thanks. On Wednesday, December 24, 2014 12:32:31 AM UTC+8, xfwan...@gmail.com wrote: Hi, when I try to run rb-site install, I get the final error: Table 'reviewboard.auth_user' doesn't exist Any what I'm missing... Best regards, XF * Installing the site... Building site directories ... [!] Unable to find the Djblets media path. Make sure Djblets is installed and try this again. OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 2170, in main command.run() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1551, in run self.show_install_status() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1864, in show_install_status site.create_admin_user) File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1011, in step func() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 556, in create_admin_user self.admin_password) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models using=using, raw=raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return insert_query(self.model, objs, fields, **kwargs) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return query.get_compiler(using=using).execute_sql(return_id) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/utils. six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 173, in exe self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 36, in raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: rb-site install error: Table 'reviewboard.auth_user' doesn't exist
This looks like an incomplete installation, with a broken or missing Djblets. Can you show exactly how you installed Review Board, and provide information on the Linux distribution you're using? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Tue, Dec 23, 2014 at 8:32 AM, xfwang0...@gmail.com wrote: Hi, when I try to run rb-site install, I get the final error: Table 'reviewboard.auth_user' doesn't exist Any what I'm missing... Best regards, XF * Installing the site... Building site directories ... [!] Unable to find the Djblets media path. Make sure Djblets is installed and try this again. OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 2170, in main command.run() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1551, in run self.show_install_status() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1864, in show_install_status site.create_admin_user) File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1011, in step func() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 556, in create_admin_user self.admin_password) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models using=using, raw=raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return insert_query(self.model, objs, fields, **kwargs) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return query.get_compiler(using=using).execute_sql(return_id) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/utils. six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 173, in exe self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 36, in raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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
rb-site install error: Table 'reviewboard.auth_user' doesn't exist
Hi, when I try to run rb-site install, I get the final error: Table 'reviewboard.auth_user' doesn't exist Any what I'm missing... Best regards, XF * Installing the site... Building site directories ... [!] Unable to find the Djblets media path. Make sure Djblets is installed and try this again. OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 2170, in main command.run() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1551, in run self.show_install_status() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1864, in show_install_status site.create_admin_user) File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 1011, in step func() File /usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py, line 556, in create_admin_user self.admin_password) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models using=using, raw=raw) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return insert_query(self.model, objs, fields, **kwargs) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models return query.get_compiler(using=using).execute_sql(return_id) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/models cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/utils. six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(sql, params) File /usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/db/backen return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 173, in exe self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 36, in raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/cmdline/rbsite.py, line 1552, in show_install_status site.create_admin_user) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/cmdline/rbsite.py, line 1078, in step func() File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/cmdline/rbsite.py, line 598, in create_admin_user self.admin_password) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib/python2.7/dist-packages/MySQLdb/cursors.py, line 174, in execute self.errorhandler(self, exc, value) File /usr/lib/python2.7/dist-packages/MySQLdb/connections.py, line 36, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) On Monday, November 24, 2014 12:46:43 PM UTC+5:30, Christian Hammond wrote: Hi, You definitely want Django 1.6.8 for Review Board 2.0.x. Can you try deleting and re-creating both the database and site again, and showing a full log of all commands you run and all output? This will help us to know what went wrong. The errors below look like some sort of broken install. What version of Review Board are you using, and how did you install it? Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com javascript: Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Date: November 23, 2014 at 10:40:20 PM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Subject: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi Folks, I am new to reviewboard, so please excuse me if this question is on a novice level. I was trying to install reviewboard on one of our linux machines - Ubuntu 14.04.1 LTS. Everything went well untill I tried to run the rb-site command. I have created a mysql database for reviewboard and a user with all privileges on the database. When I filled up all the details and pressed enter, my site generation task failed with the following error django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) on the top of the log I can also see errors like Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi, Okay, the core problem is definitely those default_storage errors, Those are likely referring to the default_storage variable in Django, which it should definitely be able to find. I'm suspicious of the Django install. Can you run this and show the output: $ python import django print django.__file__ Show the full input and output. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 12:45:26 AM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Cc: an...@baabte.com an...@baabte.com, christ...@beanbaginc.com christ...@beanbaginc.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi hristian, Than you very much for the quick response. The version of review board is 2.0.9 and I installed it using *easy_install reviewboard==2.0.9* . The following is the full log of the command as well as output root@user-desktop:~# rb-site install /var/www/reviews.localhost * Welcome to the Review Board site installation wizard This will prepare a Review Board site installation in: /var/www/reviews.localhost We need to know a few things before we can prepare your site for installation. This will only take a few minutes. * Make sure you have the modules you need Depending on your installation, you may need certain Python modules and servers that are missing. If you need support for any of the following, you will need to install the necessary modules and restart the install. Databases (optional): * PostgreSQL (psycopg2) * What's the host name for this site? This should be the fully-qualified host name without the http://, port or path. Domain Name: localhost * What URL path points to Review Board? Typically, Review Board exists at the root of a URL. For example, http://reviews.example.com/. In this case, you would specify /. However, if you want to listen to, say, http://example.com/reviews/, you can specify /reviews/. Note that this is the path relative to the domain and should not include the domain name. The default is / Root Path [/]: /reviews.localhost * What database type will you be using? You can type either the name or the number from the list below. (1) mysql (2) sqlite3 (not supported for production use) Database Type: 1 * What database name should Review Board use? NOTE: You need to create this database and grant user modification rights before continuing. See your database documentation for more information. The default is reviewboard Database Name [reviewboard]: * What is the database server's address? This should be specified in hostname:port form. The port is optional if you're using a standard port for the database type. The default is localhost Database Server [localhost]: * What is the login and password for this database? This must be a user that has table creation and modification rights on the database you already specified. Database Username: rb Database Password: Confirm Database Password: * What memcached host should be used? This is in the format of hostname:port The default is localhost:11211 Memcache Server [localhost:11211]: * Create an administrator account To configure Review Board, you'll need an administrator account. It is advised to have one administrator and then use that account to grant administrator permissions to your personal user account. If you plan to use NIS or LDAP, use an account name other than your NIS/LDAP account so as to prevent conflicts. The default is admin Username [admin]: admin Password: Confirm Password: E-Mail Address: xx Company/Organization Name (optional):xx * Enable collection of data for better support We would like to periodically collect data and statistics about your installation to provide a better support experience for you and your users. The data collected includes basic information such as your company name, the version of Review Board, and the size of your install. It does NOT include confidential data such as source code. Data collected never leaves our server and is never given to any third parties for any purposes. We use this to provide a user support page that's more specific to your server. We also use it to determine which versions to continue to support, and to help track how upgrades affect our number of bug reports and support incidents. You can choose to turn this off at any time in Support Settings in Review Board. Allow us to collect support data? [Y/n]: n * Installing the site
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi christian, The following are the outputs of the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import django print django.__file__ /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/__init__.pyc Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com http://www.baabte.com%20/ | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 2:20 PM, Christian Hammond christ...@beanbaginc.com wrote: Hi, Okay, the core problem is definitely those default_storage errors, Those are likely referring to the default_storage variable in Django, which it should definitely be able to find. I'm suspicious of the Django install. Can you run this and show the output: $ python import django print django.__file__ Show the full input and output. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 12:45:26 AM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Cc: an...@baabte.com an...@baabte.com, christ...@beanbaginc.com christ...@beanbaginc.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi hristian, Than you very much for the quick response. The version of review board is 2.0.9 and I installed it using *easy_install reviewboard==2.0.9* . The following is the full log of the command as well as output root@user-desktop:~# rb-site install /var/www/reviews.localhost * Welcome to the Review Board site installation wizard This will prepare a Review Board site installation in: /var/www/reviews.localhost We need to know a few things before we can prepare your site for installation. This will only take a few minutes. * Make sure you have the modules you need Depending on your installation, you may need certain Python modules and servers that are missing. If you need support for any of the following, you will need to install the necessary modules and restart the install. Databases (optional): * PostgreSQL (psycopg2) * What's the host name for this site? This should be the fully-qualified host name without the http://, port or path. Domain Name: localhost * What URL path points to Review Board? Typically, Review Board exists at the root of a URL. For example, http://reviews.example.com/. In this case, you would specify /. However, if you want to listen to, say, http://example.com/reviews/, you can specify /reviews/. Note that this is the path relative to the domain and should not include the domain name. The default is / Root Path [/]: /reviews.localhost * What database type will you be using? You can type either the name or the number from the list below. (1) mysql (2) sqlite3 (not supported for production use) Database Type: 1 * What database name should Review Board use? NOTE: You need to create this database and grant user modification rights before continuing. See your database documentation for more information. The default is reviewboard Database Name [reviewboard]: * What is the database server's address? This should be specified in hostname:port form. The port is optional if you're using a standard port for the database type. The default is localhost Database Server [localhost]: * What is the login and password for this database? This must be a user that has table creation and modification rights on the database you already specified. Database Username: rb Database Password: Confirm Database Password: * What memcached host should be used? This is in the format of hostname:port The default is localhost:11211 Memcache Server [localhost:11211]: * Create an administrator account To configure Review Board, you'll need an administrator account. It is advised to have one administrator and then use that account to grant administrator permissions to your personal user account. If you plan to use NIS or LDAP, use an account name other than your NIS/LDAP account so as to prevent conflicts. The default is admin Username [admin]: admin Password: Confirm Password: E-Mail Address: xx Company/Organization Name (optional):xx * Enable collection of data for better support We would like to periodically collect data and statistics about your installation to provide a better support experience for you and your users
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Okay. First thing to try is to re-install Django from scratch: $ rm -rf /usr/local/lib/python2.7/dist-packages/Django-* $ easy_install Django==1.6.8 Then try to re-create the site and see if it goes any better. That'll help determine whether or not it's a corrupt Django install. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 12:55:45 AM To: Christian Hammond christ...@beanbaginc.com Cc: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, The following are the outputs of the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import django print django.__file__ /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/__init__.pyc Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 2:20 PM, Christian Hammond wrote: Hi, Okay, the core problem is definitely those default_storage errors, Those are likely referring to the default_storage variable in Django, which it should definitely be able to find. I'm suspicious of the Django install. Can you run this and show the output: $ python import django print django.__file__ Show the full input and output. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc Reply: reviewboard@googlegroups.com Date: November 24, 2014 at 12:45:26 AM To: reviewboard@googlegroups.com Cc: an...@baabte.com , christ...@beanbaginc.com christ...@beanbaginc.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi hristian, Than you very much for the quick response. The version of review board is 2.0.9 and I installed it using *easy_install reviewboard==2.0.9* . The following is the full log of the command as well as output root@user-desktop:~# rb-site install /var/www/reviews.localhost * Welcome to the Review Board site installation wizard This will prepare a Review Board site installation in: /var/www/reviews.localhost We need to know a few things before we can prepare your site for installation. This will only take a few minutes. * Make sure you have the modules you need Depending on your installation, you may need certain Python modules and servers that are missing. If you need support for any of the following, you will need to install the necessary modules and restart the install. Databases (optional): * PostgreSQL (psycopg2) * What's the host name for this site? This should be the fully-qualified host name without the http://, port or path. Domain Name: localhost * What URL path points to Review Board? Typically, Review Board exists at the root of a URL. For example, http://reviews.example.com/. In this case, you would specify /. However, if you want to listen to, say, http://example.com/reviews/, you can specify /reviews/. Note that this is the path relative to the domain and should not include the domain name. The default is / Root Path [/]: /reviews.localhost * What database type will you be using? You can type either the name or the number from the list below. (1) mysql (2) sqlite3 (not supported for production use) Database Type: 1 * What database name should Review Board use? NOTE: You need to create this database and grant user modification rights before continuing. See your database documentation for more information. The default is reviewboard Database Name [reviewboard]: * What is the database server's address? This should be specified in hostname:port form. The port is optional if you're using a standard port for the database type. The default is localhost Database Server [localhost]: * What is the login and password for this database? This must be a user that has table creation and modification rights on the database you already specified. Database Username: rb Database Password: Confirm Database Password: * What memcached host should be used
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hmm, looks like it's probably due to a version bump in Django Pipeline. Try removing the old version and installing an older one: $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline* $ easy_install django-pipeline==1.3.23 Going to put out a new Djblets release that fixes the dependency. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: anoop kc an...@baabte.com Date: November 24, 2014 at 1:04:55 AM To: Christian Hammond christ...@beanbaginc.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, I reinstalled django 1.6.8 and again the same issue. Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name default_storage OK For your reference I am attaching the full out put here root@user-desktop:~# rm -rf /usr/local/lib/python2.7/dist-packages/Django-* root@user-desktop:~# easy_install Django==1.6.8 Searching for Django==1.6.8 Reading https://pypi.python.org/simple/Django/ Best match: Django 1.6.8 Downloading https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6 Processing Django-1.6.8.tar.gz Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg Running Django-1.6.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH 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.test._doctest: module references __file__ django.test._doctest: module MAY be using inspect.getsourcefile django.template.loaders.app_directories: module references __file__ django.db.utils: module references __file__ django.db.models.loading: module references __file__ django.db.models.loading: module references __path__ django.views.i18n: module references __file__ django.contrib.auth.tests.test_forms: module references __file__ django.contrib.auth.tests.test_views: module references __file__ django.contrib.auth.tests.test_context_processors: 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.staticfiles.storage: module references __file__ django.contrib.sitemaps.tests.test_http: module references __file__ django.contrib.flatpages.tests.test_templatetags: module references __file__ django.contrib.flatpages.tests.test_views: module references __file__ django.contrib.flatpages.tests.test_csrf: module references __file__ django.contrib.flatpages.tests.test_middleware: module references __file__ django.contrib.admin.bin.compress: module references __file__ django.contrib.admindocs.views: module references __file__ django.contrib.gis.tests.layermap.tests: module references __file__ django.contrib.gis.tests.geogapp.tests: module references __file__ django.contrib.gis.tests.geo3d.tests: module references __file__ django.contrib.gis.geometry.test_data: module references __file__ 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.utils.version: module references __file__ django.utils.module_loading: module references __path__ django.utils.autoreload: module references __file__ django.utils.six: module references __file__ django.utils.six: module references __path__ django.utils.unittest.collector: module references __file__ django.utils.unittest.loader: module references __file__ django.utils.translation.trans_real: module references __file__ django.conf.project_template.project_name.settings: module references __file__ Adding Django 1.6.8 to easy-install.pth file Installing django-admin.py script to /usr/local/bin Installed /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg Processing dependencies for Django==1.6.8 Finished processing dependencies for Django==1.6.8 root@user-desktop:~# rm -rf /var/www/reviews.localhost root@user-desktop:~# rb-site install /var/www/reviews.localhost * Welcome to the Review Board site installation wizard This will prepare a Review Board site installation in: /var/www/reviews.localhost
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi christian, This also did not fix the issue, the same out put as earlier. [?] Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com http://www.baabte.com%20/ | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 2:41 PM, Christian Hammond christ...@beanbaginc.com wrote: Hmm, looks like it's probably due to a version bump in Django Pipeline. Try removing the old version and installing an older one: $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline* $ easy_install django-pipeline==1.3.23 Going to put out a new Djblets release that fixes the dependency. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: anoop kc an...@baabte.com Date: November 24, 2014 at 1:04:55 AM To: Christian Hammond christ...@beanbaginc.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, I reinstalled django 1.6.8 and again the same issue. Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name default_storage OK For your reference I am attaching the full out put here root@user-desktop:~# rm -rf /usr/local/lib/python2.7/dist-packages/Django-* root@user-desktop:~# easy_install Django==1.6.8 Searching for Django==1.6.8 Reading https://pypi.python.org/simple/Django/ Best match: Django 1.6.8 Downloading https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6 Processing Django-1.6.8.tar.gz Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg Running Django-1.6.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH 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.test._doctest: module references __file__ django.test._doctest: module MAY be using inspect.getsourcefile django.template.loaders.app_directories: module references __file__ django.db.utils: module references __file__ django.db.models.loading: module references __file__ django.db.models.loading: module references __path__ django.views.i18n: module references __file__ django.contrib.auth.tests.test_forms: module references __file__ django.contrib.auth.tests.test_views: module references __file__ django.contrib.auth.tests.test_context_processors: 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.staticfiles.storage: module references __file__ django.contrib.sitemaps.tests.test_http: module references __file__ django.contrib.flatpages.tests.test_templatetags: module references __file__ django.contrib.flatpages.tests.test_views: module references __file__ django.contrib.flatpages.tests.test_csrf: module references __file__ django.contrib.flatpages.tests.test_middleware: module references __file__ django.contrib.admin.bin.compress: module references __file__ django.contrib.admindocs.views: module references __file__ django.contrib.gis.tests.layermap.tests: module references __file__ django.contrib.gis.tests.geogapp.tests: module references __file__ django.contrib.gis.tests.geo3d.tests: module references __file__ django.contrib.gis.geometry.test_data: module references __file__ 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.utils.version: module references __file__ django.utils.module_loading: module references __path__ django.utils.autoreload: module references __file__ django.utils.six: module references __file__ django.utils.six: module references __path__ django.utils.unittest.collector: module references __file__ django.utils.unittest.loader: module references __file__ django.utils.translation.trans_real: module references __file__ django.conf.project_template.project_name.settings: module references __file__ Adding Django 1.6.8 to easy-install.pth file Installing
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Okay, show me all this: $ python import pipeline print pipeline.__file__ from pipeline.storage import default_storage from django.contrib.messages.storage import default_storage from django.core.files.storage import default_storage Also, the contents of /usr/local/lib/python2.7/dist-packages/ Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 1:19:42 AM To: Christian Hammond christ...@beanbaginc.com Cc: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, This also did not fix the issue, the same out put as earlier. [?] Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 2:41 PM, Christian Hammond wrote: Hmm, looks like it's probably due to a version bump in Django Pipeline. Try removing the old version and installing an older one: $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline* $ easy_install django-pipeline==1.3.23 Going to put out a new Djblets release that fixes the dependency. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc Reply: anoop kc Date: November 24, 2014 at 1:04:55 AM To: Christian Hammond Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, I reinstalled django 1.6.8 and again the same issue. Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name default_storage OK For your reference I am attaching the full out put here root@user-desktop:~# rm -rf /usr/local/lib/python2.7/dist-packages/Django-* root@user-desktop:~# easy_install Django==1.6.8 Searching for Django==1.6.8 Reading https://pypi.python.org/simple/Django/ Best match: Django 1.6.8 Downloading https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6 Processing Django-1.6.8.tar.gz Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg Running Django-1.6.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH 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.test._doctest: module references __file__ django.test._doctest: module MAY be using inspect.getsourcefile django.template.loaders.app_directories: module references __file__ django.db.utils: module references __file__ django.db.models.loading: module references __file__ django.db.models.loading: module references __path__ django.views.i18n: module references __file__ django.contrib.auth.tests.test_forms: module references __file__ django.contrib.auth.tests.test_views: module references __file__ django.contrib.auth.tests.test_context_processors: 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.staticfiles.storage: module references __file__ django.contrib.sitemaps.tests.test_http: module references __file__ django.contrib.flatpages.tests.test_templatetags: module references __file__ django.contrib.flatpages.tests.test_views: module references __file__ django.contrib.flatpages.tests.test_csrf: module references __file__ django.contrib.flatpages.tests.test_middleware: module references __file__ django.contrib.admin.bin.compress: module references __file__ django.contrib.admindocs.views: module references __file__ django.contrib.gis.tests.layermap.tests: module references __file__ django.contrib.gis.tests.geogapp.tests: module references __file__ django.contrib.gis.tests.geo3d.tests: module references __file__
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi christian, Here is the outputs for the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import pipeline print pipeline.__file__ /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc from pipeline.storage import default_storage Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py, line 7, in module from django.contrib.staticfiles import finders File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py, line 12, in module from django.contrib.staticfiles.storage import AppStaticStorage File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py, line 8, in module from django.core.cache import (get_cache, InvalidCacheBackendError, File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py, line 69, in module if DEFAULT_CACHE_ALIAS not in settings.CACHES: File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 54, in __getattr__ self._setup(name) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 47, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. from django.contrib.messages.storage import default_storage from django.core.files.storage import default_storage -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi christian, sorry, missed out the latter part of the mail. Here are the contents of /usr/local/lib/python2.7/dist-packages/ root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/ root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls djangoDjblets-0.8.12-py2.7.egg Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg Django-1.6.8-py2.7.eggdocutils-0.12-py2.7.egg mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg django_evolution-0.7.4-py2.7.egg easy-install.pth paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg root@user-desktop:/usr/local/lib/python2.7/dist-packages# Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com http://www.baabte.com%20/ | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:00 PM, anoop kc an...@baabte.com wrote: Hi christian, Here is the outputs for the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import pipeline print pipeline.__file__ /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc from pipeline.storage import default_storage Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py, line 7, in module from django.contrib.staticfiles import finders File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py, line 12, in module from django.contrib.staticfiles.storage import AppStaticStorage File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py, line 8, in module from django.core.cache import (get_cache, InvalidCacheBackendError, File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py, line 69, in module if DEFAULT_CACHE_ALIAS not in settings.CACHES: File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 54, in __getattr__ self._setup(name) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 47, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. from django.contrib.messages.storage import default_storage from django.core.files.storage import default_storage -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Ah, there we go. So I gave the wrong rm command for that. Do: $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline* $ easy_install django_pipeline==1.3.23 That should take care of it. I just released a new Djblets that restricts the allowed versions of django_pipeline during installation so this won't happen for any new installs or upgrades. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 1:34:17 AM To: Christian Hammond christ...@beanbaginc.com Cc: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, sorry, missed out the latter part of the mail. Here are the contents of /usr/local/lib/python2.7/dist-packages/ root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/ root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls django Djblets-0.8.12-py2.7.egg Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg django_evolution-0.7.4-py2.7.egg easy-install.pth paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg root@user-desktop:/usr/local/lib/python2.7/dist-packages# Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:00 PM, anoop kc wrote: Hi christian, Here is the outputs for the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import pipeline print pipeline.__file__ /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc from pipeline.storage import default_storage Traceback (most recent call last): File , line 1, in File /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py, line 7, in from django.contrib.staticfiles import finders File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py, line 12, in from django.contrib.staticfiles.storage import AppStaticStorage File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py, line 8, in from django.core.cache import (get_cache, InvalidCacheBackendError, File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py, line 69, in if DEFAULT_CACHE_ALIAS not in settings.CACHES: File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 54, in __getattr__ self._setup(name) File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py, line 47, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. from django.contrib.messages.storage import default_storage from django.core.files.storage import default_storage -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Glad to help! What happened is that a third-party module we use, Django Pipeline, just recently released a new 1.4 (and follow-up 1.4.1) release. This release is not compatible with prior releases, and, amongst other incompatibilities, they apparently no longer have a particular sub-module we're trying to import (default_storage). Our Djblets module, which is a Django utility module that we maintain for Review Board and other projects, had a requirement of django_pipeline=1.3.23, which resulted in it installing the latest 1.4.1 release. What we did was remove the 1.4.1 release and install a compatible version (1.3.23). I'm glad we sorted this out. This was the first report of the issue I've seen, but you're probably not the first person to hit this issue. The newly-issued release of Djblets 0.8.13 tonight will solve this for any new installs. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 1:45:54 AM To: Christian Hammond christ...@beanbaginc.com Cc: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, Yes, that worked. Thanks my friend, you saved my day. I was behind this for a couple of days. It will be great if you can tell me what exactly was the issue. Thanks again. Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:06 PM, Christian Hammond wrote: Ah, there we go. So I gave the wrong rm command for that. Do: $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline* $ easy_install django_pipeline==1.3.23 That should take care of it. I just released a new Djblets that restricts the allowed versions of django_pipeline during installation so this won't happen for any new installs or upgrades. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc Reply: reviewboard@googlegroups.com Date: November 24, 2014 at 1:34:17 AM To: Christian Hammond Cc: reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, sorry, missed out the latter part of the mail. Here are the contents of /usr/local/lib/python2.7/dist-packages/ root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/ root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls django Djblets-0.8.12-py2.7.egg Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg django_evolution-0.7.4-py2.7.egg easy-install.pth paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg root@user-desktop:/usr/local/lib/python2.7/dist-packages# Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:00 PM, anoop kc wrote: Hi christian, Here is the outputs for the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. import pipeline print pipeline.__file__ /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc from pipeline.storage import default_storage Traceback (most recent call last): File , line 1, in File /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py, line 7, in from django.contrib.staticfiles import finders File /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi christian, Thanks for the update. I am glad that I could help you sort this out and that may be the reason why I could not find a workaround over the net. Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com http://www.baabte.com%20/ | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:27 PM, Christian Hammond christ...@beanbaginc.com wrote: Glad to help! What happened is that a third-party module we use, Django Pipeline, just recently released a new 1.4 (and follow-up 1.4.1) release. This release is not compatible with prior releases, and, amongst other incompatibilities, they apparently no longer have a particular sub-module we're trying to import (default_storage). Our Djblets module, which is a Django utility module that we maintain for Review Board and other projects, had a requirement of django_pipeline=1.3.23, which resulted in it installing the latest 1.4.1 release. What we did was remove the 1.4.1 release and install a compatible version (1.3.23). I'm glad we sorted this out. This was the first report of the issue I've seen, but you're probably not the first person to hit this issue. The newly-issued release of Djblets 0.8.13 tonight will solve this for any new installs. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 24, 2014 at 1:45:54 AM To: Christian Hammond christ...@beanbaginc.com Cc: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, Yes, that worked. Thanks my friend, you saved my day. I was behind this for a couple of days. It will be great if you can tell me what exactly was the issue. Thanks again. Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:06 PM, Christian Hammond wrote: Ah, there we go. So I gave the wrong rm command for that. Do: $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline* $ easy_install django_pipeline==1.3.23 That should take care of it. I just released a new Djblets that restricts the allowed versions of django_pipeline during installation so this won't happen for any new installs or upgrades. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc Reply: reviewboard@googlegroups.com Date: November 24, 2014 at 1:34:17 AM To: Christian Hammond Cc: reviewboard@googlegroups.com Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi christian, sorry, missed out the latter part of the mail. Here are the contents of /usr/local/lib/python2.7/dist-packages/ root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/ root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls django Djblets-0.8.12-py2.7.egg Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg django_evolution-0.7.4-py2.7.egg easy-install.pth paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg root@user-desktop:/usr/local/lib/python2.7/dist-packages# Thanks Regards, *Anoop K. C.* Baabte System Technologies Pvt Ltd. *An ISO 9001:2008 certified company* Mob : +91 9746854752 | Office :- +91 495-2295550 www.baabte.com | www.baabtra.com | www.massbaab.com On Mon, Nov 24, 2014 at 3:00 PM, anoop kc wrote: Hi christian, Here is the outputs for the commands root@user-desktop:~# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits
rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi Folks, I am new to reviewboard, so please excuse me if this question is on a novice level. I was trying to install reviewboard on one of our linux machines - Ubuntu 14.04.1 LTS. Everything went well untill I tried to run the rb-site command. I have created a mysql database for reviewboard and a user with all privileges on the database. When I filled up all the details and pressed enter, my site generation task failed with the following error django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) on the top of the log I can also see errors like Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name default_storage OK my django version is 1.6.8. I had a look at another thread on google groups which proposes a workaround of replacing django 1.6.8 with 1.4.13 to solve the issue. But then my rb-site task does not run saying that it needs a django version which should be 1.6 and 1.7. Any help is highly appreciated. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist)
Hi, You definitely want Django 1.6.8 for Review Board 2.0.x. Can you try deleting and re-creating both the database and site again, and showing a full log of all commands you run and all output? This will help us to know what went wrong. The errors below look like some sort of broken install. What version of Review Board are you using, and how did you install it? Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: anoop kc an...@baabte.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: November 23, 2014 at 10:40:20 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: rb-site fails with django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Hi Folks, I am new to reviewboard, so please excuse me if this question is on a novice level. I was trying to install reviewboard on one of our linux machines - Ubuntu 14.04.1 LTS. Everything went well untill I tried to run the rb-site command. I have created a mysql database for reviewboard and a user with all privileges on the database. When I filled up all the details and pressed enter, my site generation task failed with the following error django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) on the top of the log I can also see errors like Creating database ... [!] Unable to execute the manager command syncdb: cannot import name default_storage [!] Unable to execute the manager command registerscmtools: cannot import name default_storage OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name default_storage OK my django version is 1.6.8. I had a look at another thread on google groups which proposes a workaround of replacing django 1.6.8 with 1.4.13 to solve the issue. But then my rb-site task does not run saying that it needs a django version which should be 1.6 and 1.7. Any help is highly appreciated. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: Table 'reviewboard.auth_user' doesn't exist
/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/ powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: Table 'reviewboard.auth_user' doesn't exist
django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: Table 'reviewboard.auth_user' doesn't exist
/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Table 'reviewboard.auth_user' doesn't exist
Hello, Im trying to install review board on a SuSE system, which is our official server in the company. Unfortunately all other ports other than SSH is blocked from communication. So Im not able to use easy_install or pip to install any resources. I have manually installed all the necessary packages using the SuSE DVD. And now finally when I try to run # rb-site install /var/www/reviewboard.example.com Note: I have setup mysql with username password and I have already created the database reviewboard in it. Im getting the below error. * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/local/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.7.22', 'console_scripts', 'rb-site')() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 2055, in main command.run() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1496, in run self.show_install_status() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1779, in show_install_status site.create_admin_user) File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 967, in step func() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 553, in create_admin_user self.admin_password) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib64/python2.6/site-packages/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib64/python2.6/site-packages/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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.
Re: Table 'reviewboard.auth_user' doesn't exist
What version of django did you install? -David On Thu, Jul 10, 2014 at 8:38 AM, Joe jothira...@gmail.com wrote: Hello, Im trying to install review board on a SuSE system, which is our official server in the company. Unfortunately all other ports other than SSH is blocked from communication. So Im not able to use easy_install or pip to install any resources. I have manually installed all the necessary packages using the SuSE DVD. And now finally when I try to run # rb-site install /var/www/reviewboard.example.com Note: I have setup mysql with username password and I have already created the database reviewboard in it. Im getting the below error. * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/local/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.7.22', 'console_scripts', 'rb-site')() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 2055, in main command.run() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1496, in run self.show_install_status() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1779, in show_install_status site.create_admin_user) File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 967, in step func() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 553, in create_admin_user self.admin_password) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib64/python2.6/site-packages/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib64/python2.6/site-packages/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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
Re: Table 'reviewboard.auth_user' doesn't exist
Also, what version of Djblets? This smells like a dependency version issue. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On July 10, 2014 at 11:49:18 AM, David Trowbridge (trowb...@gmail.com) wrote: What version of django did you install? -David On Thu, Jul 10, 2014 at 8:38 AM, Joe jothira...@gmail.com wrote: Hello, Im trying to install review board on a SuSE system, which is our official server in the company. Unfortunately all other ports other than SSH is blocked from communication. So Im not able to use easy_install or pip to install any resources. I have manually installed all the necessary packages using the SuSE DVD. And now finally when I try to run # rb-site install /var/www/reviewboard.example.com Note: I have setup mysql with username password and I have already created the database reviewboard in it. Im getting the below error. * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... [!] Unable to execute the manager command syncdb: cannot import name execute_manager [!] Unable to execute the manager command registerscmtools: cannot import name execute_manager OK Performing migrations ... [!] Unable to execute the manager command evolve: cannot import name execute_manager OK Creating administrator account ... Traceback (most recent call last): File /usr/local/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.7.22', 'console_scripts', 'rb-site')() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 2055, in main command.run() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1496, in run self.show_install_status() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1779, in show_install_status site.create_admin_user) File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 967, in step func() File /usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py, line 553, in create_admin_user self.admin_password) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib64/python2.6/site-packages/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib64/python2.6/site-packages/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib64/python2.6/site-packages/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib64/python2.6/site-packages/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib64/python2.6/site-packages/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib64/python2.6/site-packages/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) Any pointers on what Im missing.. Best regards, Joe. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you