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 <gan...@yahoo.com> wrote:

From: gang he <gan...@yahoo.com>
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 <module>
    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 <chip...@chipx86.com> wrote:

From: Christian Hammond <chip...@chipx86.com>
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 <gan...@yahoo.com> 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 <module>

    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

-- 
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

Reply via email to