Re: rb-site install with traceback information
Hi Andreas, Can you verify the version of Python used for the package and the version Review Board is running as are the same? Christian On Sep 7, 2012, at 5:23, Andreas wrote: > I am running into the same problems with > > python-memcached 1.48 and ReviewBoard 1.6.11 > > Were you able to fix it? Or is there any other update on this? > > Thanks in advance. > > On Monday, April 2, 2012 8:27:38 PM UTC+2, gang he wrote: > Hi, > > I am able to create new site now. However, after I restart httpd, I got the > following message from apache error log. > > I have recompiled mod_wsgi, reinstall python-memcached. > Couldn't figure out what's wrong with mod_wsgi. > python 2.6.6 > Apache 2.2 > > Any advice would be appreciated. > > Thanks > Gary > > > > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod_wsgi (pid=3741): > Exception occurred processing WSGI script > '/var/www/reviews.mysite.net/htdocs/reviewboard.wsgi'. > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] Traceback (most > recent call last): > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py", > line 250, in __call__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > self.load_middleware() > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", > line 45, in load_middleware > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod = > import_module(mw_module) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", > line 35, in import_module > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] __import__(name) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/middleware/gzip.py", > line 4, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.utils.cache import patch_vary_headers > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/cache.py", > line 24, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.core.cache import get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > line 182, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] cache = > get_cache(DEFAULT_CACHE_ALIAS) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > line 180, in get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] return > backend_cls(location, params) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/backends/memcached.py", > line 145, in __init__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] "Memcached cache > backend requires either the 'memcache' or 'cmemcache' library" > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > InvalidCacheBackendError: Memcached cache backend requires either the > 'memcache' or 'cmemcache' library > > > > --- On Mon, 4/2/12, gang he wrote: > > From: gang he > Subject: Re: rb-site install with traceback information > To: revie...@googlegroups.com > Date: Monday, April 2, 2012, 11:44 AM > > I found the problem. > > It is the user permission issue with mysql database. > After granting the correct permission, I am able to create the site. > > Gary > > --- On Mon, 4/2/12, gang he wrote: > > From: gang he > Subject: Re: rb-site install with traceback information > To: revie...@googlegroups.com > Date: Monday, April 2, 2012, 9:38 AM > > Hi Christian, > Thanks for your help. > I did as you said. > Delete my site, delete django1.4 dir. > easy_install -U ReviewBoard. > > rb-site install mysite > I got the following message: > > * Installing the site... > Building site directories ... OK > Building site configuration files ... OK > Creating database ... Creating tables ... > Creating table auth_user_groups > Traceback (most recent call last): > File "/usr/bin/rb-site&qu
Re: rb-site install with traceback information
I am running into the same problems with python-memcached 1.48 and ReviewBoard 1.6.11 Were you able to fix it? Or is there any other update on this? Thanks in advance. On Monday, April 2, 2012 8:27:38 PM UTC+2, gang he wrote: > > Hi, > > I am able to create new site now. However, after I restart httpd, I got > the following message from apache error log. > > I have recompiled mod_wsgi, reinstall python-memcached. > Couldn't figure out what's wrong with mod_wsgi. > python 2.6.6 > Apache 2.2 > > Any advice would be appreciated. > > Thanks > Gary > > > > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod_wsgi > (pid=3741): Exception occurred processing WSGI script '/var/www/ > reviews.mysite.net/htdocs/reviewboard.wsgi'. > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] Traceback (most > recent call last): > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py", > > line 250, in __call__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > self.load_middleware() > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", > > line 45, in load_middleware > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod = > import_module(mw_module) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", > > line 35, in import_module > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > __import__(name) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/middleware/gzip.py", > > line 4, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.utils.cache import patch_vary_headers > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/cache.py", > > line 24, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.core.cache import get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > > line 182, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] cache = > get_cache(DEFAULT_CACHE_ALIAS) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > > line 180, in get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] return > backend_cls(location, params) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/backends/memcached.py", > > line 145, in __init__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] "Memcached > cache backend requires either the 'memcache' or 'cmemcache' library" > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > InvalidCacheBackendError: Memcached cache backend requires either the > 'memcache' or 'cmemcache' library > > > > --- On *Mon, 4/2/12, gang he * wrote: > > > From: gang he > Subject: Re: rb-site install with traceback information > To: revie...@googlegroups.com > Date: Monday, April 2, 2012, 11:44 AM > > I found the problem. > > It is the user permission issue with mysql database. > After granting the correct permission, I am able to create the site. > > Gary > > --- On *Mon, 4/2/12, gang he* wrote: > > > From: gang he > > Subject: Re: rb-site install with traceback information > To: revie...@googlegroups.com > Date: Monday, April 2, 2012, 9:38 AM > > Hi Christian, > Thanks for your help. > I did as you said. > Delete my site, delete django1.4 dir. > easy_install -U ReviewBoard. > > rb-site install mysite > I got the following message: > > * Installing the site... > Building site directories ... OK > Building site configuration files ... OK > Creating database ... Creating tables ... > Creating table auth_user_groups > Traceback (most recent call last): > File "/usr/bin/rb-site", line 9, in > load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb-site')() > File > "/usr/lib/python2.
Re: rb-site install with traceback information
You'll have to install one of those libraries. You can try: sudo easy_install -U python-memcached Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Apr 2, 2012 at 11:27 AM, gang he wrote: > Hi, > > I am able to create new site now. However, after I restart httpd, I got > the following message from apache error log. > > I have recompiled mod_wsgi, reinstall python-memcached. > Couldn't figure out what's wrong with mod_wsgi. > python 2.6.6 > Apache 2.2 > > Any advice would be appreciated. > > Thanks > Gary > > > > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod_wsgi > (pid=3741): Exception occurred processing WSGI script '/var/www/ > reviews.mysite.net/htdocs/reviewboard.wsgi'. > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] Traceback (most > recent call last): > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py", > line 250, in __call__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > self.load_middleware() > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", > line 45, in load_middleware > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod = > import_module(mw_module) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", > line 35, in import_module > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > __import__(name) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/middleware/gzip.py", > line 4, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.utils.cache import patch_vary_headers > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/cache.py", > line 24, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from > django.core.cache import get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > line 182, in > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] cache = > get_cache(DEFAULT_CACHE_ALIAS) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", > line 180, in get_cache > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] return > backend_cls(location, params) > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File > "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/backends/memcached.py", > line 145, in __init__ > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] "Memcached > cache backend requires either the 'memcache' or 'cmemcache' library" > [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] > InvalidCacheBackendError: Memcached cache backend requires either the > 'memcache' or 'cmemcache' library > > > > > --- On *Mon, 4/2/12, gang he * wrote: > > > From: gang he > Subject: Re: rb-site install with traceback information > To: reviewboard@googlegroups.com > Date: Monday, April 2, 2012, 11:44 AM > > > I found the problem. > > It is the user permission issue with mysql database. > After granting the correct permission, I am able to create the site. > > Gary > > --- On *Mon, 4/2/12, gang he * wrote: > > > From: gang he > Subject: Re: rb-site install with traceback information > To: reviewboard@googlegroups.com > Date: Monday, April 2, 2012, 9:38 AM > > Hi Christian, > Thanks for your help. > I did as you said. > Delete my site, delete django1.4 dir. > easy_install -U ReviewBoard. > > rb-site install mysite > I got the following message: > > * Installing the site... > Building site directories ... OK > Building site configuration files ... OK > Creating database ... Creating tables ... > Creating table auth_user_groups > Traceback (most recent call last): > File "/usr/bin/rb-site", line 9, in > load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb-site')() > File > "/usr/lib/python2.6/site-packages/Revie
Re: rb-site install with traceback information
Hi, I am able to create new site now. However, after I restart httpd, I got the following message from apache error log. I have recompiled mod_wsgi, reinstall python-memcached. Couldn't figure out what's wrong with mod_wsgi. python 2.6.6 Apache 2.2 Any advice would be appreciated. Thanks Gary [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod_wsgi (pid=3741): Exception occurred processing WSGI script '/var/www/reviews.mysite.net/htdocs/reviewboard.wsgi'. [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] Traceback (most recent call last): [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py", line 250, in __call__ [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] self.load_middleware() [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", line 45, in load_middleware [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] mod = import_module(mw_module) [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", line 35, in import_module [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] __import__(name) [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/middleware/gzip.py", line 4, in [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from django.utils.cache import patch_vary_headers [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/cache.py", line 24, in [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] from django.core.cache import get_cache [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", line 182, in [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] cache = get_cache(DEFAULT_CACHE_ALIAS) [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/__init__.py", line 180, in get_cache [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] return backend_cls(location, params) [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/cache/backends/memcached.py", line 145, in __init__ [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] "Memcached cache backend requires either the 'memcache' or 'cmemcache' library" [Mon Apr 02 11:22:05 2012] [error] [client 171.10.11.88] InvalidCacheBackendError: Memcached cache backend requires either the 'memcache' or 'cmemcache' library --- On Mon, 4/2/12, gang he wrote: From: gang he Subject: Re: rb-site install with traceback information To: reviewboard@googlegroups.com Date: Monday, April 2, 2012, 11:44 AM I found the problem. It is the user permission issue with mysql database. After granting the correct permission, I am able to create the site. Gary --- On Mon, 4/2/12, gang he wrote: From: gang he Subject: Re: rb-site install with traceback information To: reviewboard@googlegroups.com Date: Monday, April 2, 2012, 9:38 AM Hi Christian, Thanks for your help. I did as you said. Delete my site, delete django1.4 dir. easy_install -U ReviewBoard. rb-site install mysite I got the following message: * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... Creating tables ... Creating table auth_user_groups Traceback (most recent call last): File "/usr/bin/rb-site", line 9, in load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb-site')() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1745, in main command.run() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1293, in run self.show_install_status() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1563, in show_install_status site.sync_database) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 787, in step func() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 346, in sync_database self.ru
Re: rb-site install with traceback information
I found the problem. It is the user permission issue with mysql database. After granting the correct permission, I am able to create the site. Gary --- On Mon, 4/2/12, gang he wrote: From: gang he Subject: Re: rb-site install with traceback information To: reviewboard@googlegroups.com Date: Monday, April 2, 2012, 9:38 AM Hi Christian, Thanks for your help. I did as you said. Delete my site, delete django1.4 dir. easy_install -U ReviewBoard. rb-site install mysite I got the following message: * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... Creating tables ... Creating table auth_user_groups Traceback (most recent call last): File "/usr/bin/rb-site", line 9, in load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb-site')() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1745, in main command.run() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1293, in run self.show_install_status() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1563, in show_install_status site.sync_database) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 787, in step func() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 346, in sync_database self.run_manage_command("syncdb", params) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 469, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/__init__.py", line 438, in execute_manager utility.execute() File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 220, in execute output = self.handle(*args, **options) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 351, in handle return self.handle_noargs(**options) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/commands/syncdb.py", line 101, in handle_noargs cursor.execute(statement) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backen ds/mysql/base.py", line 86, in execute return self.cursor.execute(query, args) File "/usr/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.e It is different from the previous one. Gary --- On Fri, 3/30/12, Christian Hammond wrote: From: Christian Hammond Subject: Re: rb-site install with traceback information To: reviewboard@googlegroups.com Date: Friday, March 30, 2012, 5:32 PM Hi Gary, You need to delete your site and the Django-1.4 directory and upgrade to Review Board 1.6.5. That should fix the problem. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Mar 30, 2012 at 2:00 PM, Gary wrote: Hello, After installation I tried to create a site with rb-site install, but got the following message. OS: CentOS 6, Python 2.6.6, easy_install reviewboard. load mod_wsgi in apache. Anyone has idea what is missing? Gary Creating table auth_group Creating table auth_user_user_permissions Traceback (most recent call last): File "/usr/bin/rb-site", line 9, in load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb- site')() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1745, in main command.run() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1293, in run self.show_install_status() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1563, in show_install_status site.sync_database)
Re: rb-site install with traceback information
Hi Christian, Thanks for your help. I did as you said. Delete my site, delete django1.4 dir. easy_install -U ReviewBoard. rb-site install mysite I got the following message: * Installing the site... Building site directories ... OK Building site configuration files ... OK Creating database ... Creating tables ... Creating table auth_user_groups Traceback (most recent call last): File "/usr/bin/rb-site", line 9, in load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb-site')() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1745, in main command.run() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1293, in run self.show_install_status() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 1563, in show_install_status site.sync_database) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 787, in step func() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 346, in sync_database self.run_manage_command("syncdb", params) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard /cmdline/rbsite.py", line 469, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/__init__.py", line 438, in execute_manager utility.execute() File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 220, in execute output = self.handle(*args, **options) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/base.py", line 351, in handle return self.handle_noargs(**options) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/mana gement/commands/syncdb.py", line 101, in handle_noargs cursor.execute(statement) File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backen ds/mysql/base.py", line 86, in execute return self.cursor.execute(query, args) File "/usr/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.e It is different from the previous one. Gary --- On Fri, 3/30/12, Christian Hammond wrote: From: Christian Hammond Subject: Re: rb-site install with traceback information To: reviewboard@googlegroups.com Date: Friday, March 30, 2012, 5:32 PM Hi Gary, You need to delete your site and the Django-1.4 directory and upgrade to Review Board 1.6.5. That should fix the problem. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Mar 30, 2012 at 2:00 PM, Gary wrote: Hello, After installation I tried to create a site with rb-site install, but got the following message. OS: CentOS 6, Python 2.6.6, easy_install reviewboard. load mod_wsgi in apache. Anyone has idea what is missing? Gary Creating table auth_group Creating table auth_user_user_permissions Traceback (most recent call last): File "/usr/bin/rb-site", line 9, in load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb- site')() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1745, in main command.run() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1293, in run self.show_install_status() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 1563, in show_install_status site.sync_database) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 787, in step func() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ reviewboard/cmdline/rbsite.py", line 346, in sync_database self.run_manage_command("syncdb",
Re: rb-site install with traceback information
Hi Gary, You need to delete your site and the Django-1.4 directory and upgrade to Review Board 1.6.5. That should fix the problem. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Mar 30, 2012 at 2:00 PM, Gary wrote: > Hello, > > After installation I tried to create a site with rb-site install, but > got the following message. > OS: CentOS 6, > Python 2.6.6, > easy_install reviewboard. > load mod_wsgi in apache. > > Anyone has idea what is missing? > > Gary > > > Creating table auth_group > Creating table auth_user_user_permissions > Traceback (most recent call last): > File "/usr/bin/rb-site", line 9, in >load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb- > site')() > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 1745, in main >command.run() > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 1293, in run >self.show_install_status() > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 1563, in show_install_status >site.sync_database) > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 787, in step >func() > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 346, in sync_database >self.run_manage_command("syncdb", params) > File "/usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg/ > reviewboard/cmdline/rbsite.py", line 469, in run_manage_command >execute_manager(reviewboard.settings, [__file__, cmd] + params) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/__init__.py", line 459, in execute_manager >utility.execute() > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/__init__.py", line 382, in execute >self.fetch_command(subcommand).run_from_argv(self.argv) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/base.py", line 196, in run_from_argv >self.execute(*args, **options.__dict__) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/base.py", line 232, in execute >output = self.handle(*args, **options) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/base.py", line 371, in handle >return self.handle_noargs(**options) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > core/management/commands/syncdb.py", line 102, in handle_noargs >cursor.execute(statement) > File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/ > db/backends/mysql/base.py", line 114, in execute >return self.cursor.execute(query, args) > File "/usr/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6- > linux-x86_64.egg/MySQLdb/cursors.py", line 174, in execute > File "/usr/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6- > linux-x86_64.egg/MySQLdb/connections.py", line 36, in > defaulterrorhandler > django.db.utils.DatabaseError: (1142, "ALTER command denied to user > 'rbuser'@'localhost' for table 'auth_user_user_permissions'") > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en