rb-site install fails

2012-03-30 Thread magnus
Hi,
We are using CentOs 6 and are trying to setup Reviewboard.
Our setup is:
MySql
Apache2
mod_wsgi
memcached

when running 'rb-site install /var/www/html/rb/' it seems like the
installation is successful. We get the reviewboard to show up in the
browser and we can login/create users and such. When trying to add the
repository (local git on same server) it fails and in /var/log/httpd/
error_log we get a lot of errors but this is the first:
[client 10.0.0.124] Symbolic link not allowed or link target not
accessible: /var/www/html/rb/htdocs/media/admin, referer:
http://servername/rb/admin/
db/scmtools/repository/add/

Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting
path /usr/lib/python2.6/site-packages/django/contrib/admin/media

media folder does not exist in the admin folder.

We cleanup the created site and db and rerun the rb-site but this time
as follow:
'rb-site install -d --copy-media /var/www/html/rb/'

This fails with:

* Installing the site...
Building site directories ... 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/cmdline/
rbsite.py, line 1745, in main
command.run()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py, line 1293, in run
self.show_install_status()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py, line 1559, in show_install_status
site.rebuild_site_directory)
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py, line 787, in step
func()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py, line 207, in rebuild_site_directory
rb_admins_dest)
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py, line 500, in link_pkg_dir
shutil.copytree(src_dir, dest_dir)
  File /usr/lib64/python2.6/shutil.py, line 136, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
packages/django/contrib/admin/media'

Any help with this would be much appreciated (we have tried installing
Reviewboard (which fetches django) with both easy_install and pip).

BR,
Magnus

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: rb-site install fails

2012-03-30 Thread Christian Hammond
Hi Magnus,

Django just released their version 1.4, which breaks Review Board 1.6. You
can work around this by deleting the installed Django-1.4 directory in your
Python's site-packages directory, and then do:

easy_install Django==1.3.1

I'll be doing a release tonight that addresses this.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 12:11 AM, magnus magnus.armh...@gmail.com wrote:

 Hi,
 We are using CentOs 6 and are trying to setup Reviewboard.
 Our setup is:
 MySql
 Apache2
 mod_wsgi
 memcached

 when running 'rb-site install /var/www/html/rb/' it seems like the
 installation is successful. We get the reviewboard to show up in the
 browser and we can login/create users and such. When trying to add the
 repository (local git on same server) it fails and in /var/log/httpd/
 error_log we get a lot of errors but this is the first:
 [client 10.0.0.124] Symbolic link not allowed or link target not
 accessible: /var/www/html/rb/htdocs/media/admin, referer:
 http://servername/rb/admin/
 db/scmtools/repository/add/

 Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting
 path /usr/lib/python2.6/site-packages/django/contrib/admin/media

 media folder does not exist in the admin folder.

 We cleanup the created site and db and rerun the rb-site but this time
 as follow:
 'rb-site install -d --copy-media /var/www/html/rb/'

 This fails with:

 * Installing the site...
 Building site directories ... 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/cmdline/
 rbsite.py, line 1745, in main
command.run()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
 rbsite.py, line 1293, in run
self.show_install_status()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
 rbsite.py, line 1559, in show_install_status
site.rebuild_site_directory)
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
 rbsite.py, line 787, in step
func()
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
 rbsite.py, line 207, in rebuild_site_directory
rb_admins_dest)
  File /usr/lib/python2.6/site-packages/reviewboard/cmdline/
 rbsite.py, line 500, in link_pkg_dir
shutil.copytree(src_dir, dest_dir)
  File /usr/lib64/python2.6/shutil.py, line 136, in copytree
names = os.listdir(src)
 OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
 packages/django/contrib/admin/media'

 Any help with this would be much appreciated (we have tried installing
 Reviewboard (which fetches django) with both easy_install and pip).

 BR,
 Magnus

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

[Errno 13] Permission denied when adding bazaar repository

2012-03-30 Thread Jasper
I am trying to add a bazaar repository to reviewboard, but get this error 
message:
Permission denied: /[path-to-project]/.bzr/branch-format: [Errno 13] 
Permission denied: u'[path-to-project]/.bzr/branch-format'

Our bazaar repository is accessed via a NFS mount. When I cat the 
branch-format file in a terminal the content is shown. 

When I try to add a local repository it works fine and the review requests 
are created.

Are there perhaps system users used by Reviewboard that needs to be in the 
same group as the files in our repository?

Thanks,
Jasper

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install fails

2012-03-30 Thread magnus
Here is the version information:

# pip freeze
Warning: cannot find svn location for flup==1.0.3.dev-20110405
Django==1.4
Djblets==0.6.16
MySQL-python==1.2.3c1
PIL==1.1.6
PyGreSQL==3.8.1
Pygments==1.5
ReviewBoard==1.6.4.1
SSSDConfig==1
cas==0.15
distribute==0.6.10
django-evolution==0.6.5
ethtool==0.6
## FIXME: could not find svn URL in dependency_links for this package:
flup==1.0.3.dev-20110405
freeipa==2.0.0.alpha.0
iniparse==0.3.1
iotop==0.3.2
ipapython==2.1.3
iwlib==1.0
kerberos==1.0
lxml==2.2.3
matplotlib==0.99.1.1
netaddr==0.7.5
nose==0.10.4
numpy==1.3.0
paramiko==1.7.7.1
psycopg2==2.0.14
pyOpenSSL==0.10
pycrypto==2.5
pycurl==7.19.0
pygpgme==0.1
python-dateutil==1.5
python-default-encoding==0.1
python-ldap==2.3.10
python-memcached==1.48
python-nss==0.11
pytz==2010h
recaptcha-client==1.0.6
urlgrabber==3.9.1
yum-metadata-parser==1.1.2

BR,
Magnus

Den fredagen den 30:e mars 2012 kl. 10:11:30 UTC+3 skrev magnus:

 Hi, 
 We are using CentOs 6 and are trying to setup Reviewboard. 
 Our setup is: 
 MySql 
 Apache2 
 mod_wsgi 
 memcached 

 when running 'rb-site install /var/www/html/rb/' it seems like the 
 installation is successful. We get the reviewboard to show up in the 
 browser and we can login/create users and such. When trying to add the 
 repository (local git on same server) it fails and in /var/log/httpd/ 
 error_log we get a lot of errors but this is the first: 
 [client 10.0.0.124] Symbolic link not allowed or link target not 
 accessible: /var/www/html/rb/htdocs/media/admin, referer: 
 http://servername/rb/admin/ 
 db/scmtools/repository/add/ 

 Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting 
 path /usr/lib/python2.6/site-packages/django/contrib/admin/media 

 media folder does not exist in the admin folder. 

 We cleanup the created site and db and rerun the rb-site but this time 
 as follow: 
 'rb-site install -d --copy-media /var/www/html/rb/' 

 This fails with: 

 * Installing the site... 
 Building site directories ... 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/cmdline/ 
 rbsite.py, line 1745, in main 
 command.run() 
   File /usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
 rbsite.py, line 1293, in run 
 self.show_install_status() 
   File /usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
 rbsite.py, line 1559, in show_install_status 
 site.rebuild_site_directory) 
   File /usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
 rbsite.py, line 787, in step 
 func() 
   File /usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
 rbsite.py, line 207, in rebuild_site_directory 
 rb_admins_dest) 
   File /usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
 rbsite.py, line 500, in link_pkg_dir 
 shutil.copytree(src_dir, dest_dir) 
   File /usr/lib64/python2.6/shutil.py, line 136, in copytree 
 names = os.listdir(src) 
 OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site- 
 packages/django/contrib/admin/media' 

 Any help with this would be much appreciated (we have tried installing 
 Reviewboard (which fetches django) with both easy_install and pip). 

 BR, 
 Magnus 


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install fails

2012-03-30 Thread Christian Hammond
If you upgrade to Review Board 1.6.5 (just now released), it should work
better.

You'll need to re-create your site.

If you still have trouble, delete your Django 1.4 install and try again.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 1:05 AM, magnus magnus.armh...@gmail.com wrote:

 Here is the version information:

 # pip freeze
 Warning: cannot find svn location for flup==1.0.3.dev-20110405
 Django==1.4
 Djblets==0.6.16
 MySQL-python==1.2.3c1
 PIL==1.1.6
 PyGreSQL==3.8.1
 Pygments==1.5
 ReviewBoard==1.6.4.1
 SSSDConfig==1
 cas==0.15
 distribute==0.6.10
 django-evolution==0.6.5
 ethtool==0.6
 ## FIXME: could not find svn URL in dependency_links for this package:
 flup==1.0.3.dev-20110405
 freeipa==2.0.0.alpha.0
 iniparse==0.3.1
 iotop==0.3.2
 ipapython==2.1.3
 iwlib==1.0
 kerberos==1.0
 lxml==2.2.3
 matplotlib==0.99.1.1
 netaddr==0.7.5
 nose==0.10.4
 numpy==1.3.0
 paramiko==1.7.7.1
 psycopg2==2.0.14
 pyOpenSSL==0.10
 pycrypto==2.5
 pycurl==7.19.0
 pygpgme==0.1
 python-dateutil==1.5
 python-default-encoding==0.1
 python-ldap==2.3.10
 python-memcached==1.48
 python-nss==0.11
 pytz==2010h
 recaptcha-client==1.0.6
 urlgrabber==3.9.1
 yum-metadata-parser==1.1.2

 BR,
 Magnus

 Den fredagen den 30:e mars 2012 kl. 10:11:30 UTC+3 skrev magnus:

 Hi,
 We are using CentOs 6 and are trying to setup Reviewboard.
 Our setup is:
 MySql
 Apache2
 mod_wsgi
 memcached

 when running 'rb-site install /var/www/html/rb/' it seems like the
 installation is successful. We get the reviewboard to show up in the
 browser and we can login/create users and such. When trying to add the
 repository (local git on same server) it fails and in /var/log/httpd/
 error_log we get a lot of errors but this is the first:
 [client 10.0.0.124] Symbolic link not allowed or link target not
 accessible: /var/www/html/rb/htdocs/media/**admin, referer:
 http://servername/rb/admin/
 db/scmtools/repository/add/

 Looking up /var/www/html/rb/htdocs/media/**admin links to a nonexisting
 path /usr/lib/python2.6/site-**packages/django/contrib/admin/**media

 media folder does not exist in the admin folder.

 We cleanup the created site and db and rerun the rb-site but this time
 as follow:
 'rb-site install -d --copy-media /var/www/html/rb/'

 This fails with:

 * Installing the site...
 Building site directories ... 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/cmdline/
 rbsite.py, line 1745, in main
 command.run()
   File /usr/lib/python2.6/site-**packages/reviewboard/cmdline/
 rbsite.py, line 1293, in run
 self.show_install_status()
   File /usr/lib/python2.6/site-**packages/reviewboard/cmdline/
 rbsite.py, line 1559, in show_install_status
 site.rebuild_site_directory)
   File /usr/lib/python2.6/site-**packages/reviewboard/cmdline/
 rbsite.py, line 787, in step
 func()
   File /usr/lib/python2.6/site-**packages/reviewboard/cmdline/
 rbsite.py, line 207, in rebuild_site_directory
 rb_admins_dest)
   File /usr/lib/python2.6/site-**packages/reviewboard/cmdline/
 rbsite.py, line 500, in link_pkg_dir
 shutil.copytree(src_dir, dest_dir)
   File /usr/lib64/python2.6/shutil.**py, line 136, in copytree
 names = os.listdir(src)
 OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
 packages/django/contrib/admin/**media'

 Any help with this would be much appreciated (we have tried installing
 Reviewboard (which fetches django) with both easy_install and pip).

 BR,
 Magnus

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

Review Board 1.6.5 released

2012-03-30 Thread Christian Hammond
Hey everyone,

Review Board 1.6.5 is out. It has a couple bug fixes, but mainly fixes
installation issues now that Django 1.4 is out.

See http://www.reviewboard.org/news/2012/03/30/review-board-165-released/for
more info.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install fails

2012-03-30 Thread magnus
Hi Christian,

Thanks a lot for the information.
We downgraded Django and did the installation again but we ran into 
problems with the SCMTool handler.
We managed to solve it by downgrading the pycrypto to 2.3 (2.5 didnt work 
and 2.4 had problems compiling).

Now we have an up-and-running reviewboard installation.

Thanks for making this great tool!

BR,
Magnus

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

rb-site install with traceback information

2012-03-30 Thread Gary
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


Re: rb-site install with traceback information

2012-03-30 Thread Christian Hammond
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

Re: rb-site install fails

2012-03-30 Thread Christian Hammond
Glad it works!

Do you have any info on what the failures were for 2.4/2.5? Also, what
version of Python?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 3:41 AM, magnus magnus.armh...@gmail.com wrote:

 Hi Christian,

 Thanks a lot for the information.
 We downgraded Django and did the installation again but we ran into
 problems with the SCMTool handler.
 We managed to solve it by downgrading the pycrypto to 2.3 (2.5 didnt work
 and 2.4 had problems compiling).

 Now we have an up-and-running reviewboard installation.

 Thanks for making this great tool!


 BR,
 Magnus

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

rb-site install /var/www/rb failed

2012-03-30 Thread muiz lee
dear all,


   I install RB in CENTOS 6 using mysql and cvs, when i run rb-site install 
command then get the folling error messages:


[root@localhost www]# rb-site install /var/www/rb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in module
from pkg_resources import load_entry_point
  File 
/usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 
line 2715, in module
parse_requirements(__requires__), Environment()
  File 
/usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 
line 588, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pycrypto=2.1

for pycrypto, I have installed useing command yum install pycrypto, 
how can I resolve this problem?


Thanks and Best Regards,
muiz

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install /var/www/rb failed

2012-03-30 Thread Donovan Sydow
This usually means you are missing a required package to install pycrypto.
Try installing gcc and build-essential via yum.

You can then manually install pycrypto:

wget http://downloads.reviewboard.org/mirror/pycrypto-2.4.tar.gz
tar -zxf pycrypto-2.4.tar.gz
cd pycrypto-2.4
python setup.py install

Then reinstall reviewboard and install your site.


On Fri, Mar 30, 2012 at 5:33 PM, muiz lee work.m...@gmail.com wrote:

 dear all,


I install RB in CENTOS 6 using mysql and cvs, when i run rb-site
 install command then get the folling error messages:


 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2715, in module
 parse_requirements(__requires__), Environment()
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: pycrypto=2.1

 for pycrypto, I have installed useing command yum install pycrypto,
 how can I resolve this problem?


 Thanks and Best Regards,
 muiz

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

How to upload diff file on reviewboard with perforce

2012-03-30 Thread Steven
Hi,
I am beginner with ReviewBoard. So far, I've established
ReviewBoard with 1.6.4.1 and integrated with Perforce.
Currently, I want to try code review process with ReviewBoard.
When creating new review request, I don't know what kind of diff file
can be upload on ReviewBoard ? How to generate diff file with
perforce ?


Thanks a lot !
Stevne Zhu

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: rb-site install /var/www/rb failed

2012-03-30 Thread Muiz
Thanks for your quickly reply!


I install pycrypto 2.4 already, but I can not file build-essential package
via yum.

and the a new error:

[root@localhost www]# rb-site install /var/www/rb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in module
from pkg_resources import load_entry_point
  File
/usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
line 2711, in module
working_set.require(__requires__)
  File
/usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
line 690, in require
needed = self.resolve(parse_requirements(requirements))
  File
/usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
line 588, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: PIL
Then how can I do?


On Sat, Mar 31, 2012 at 8:53 AM, Donovan Sydow dono...@gogii.net wrote:

 This usually means you are missing a required package to install pycrypto.
 Try installing gcc and build-essential via yum.

 You can then manually install pycrypto:

 wget http://downloads.reviewboard.org/mirror/pycrypto-2.4.tar.gz
 tar -zxf pycrypto-2.4.tar.gz
 cd pycrypto-2.4
 python setup.py install

 Then reinstall reviewboard and install your site.



 On Fri, Mar 30, 2012 at 5:33 PM, muiz lee work.m...@gmail.com wrote:

 dear all,


I install RB in CENTOS 6 using mysql and cvs, when i run rb-site
 install command then get the folling error messages:


 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2715, in module
 parse_requirements(__requires__), Environment()
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: pycrypto=2.1

 for pycrypto, I have installed useing command yum install pycrypto,
 how can I resolve this problem?


 Thanks and Best Regards,
 muiz

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




-- 
Regards,
*Muiz*

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install /var/www/rb failed

2012-03-30 Thread Muiz
Donovan, it doesn't matter. You have help me to resolve pycrypto problem,
well done. :)  Thanks very much!

On Sat, Mar 31, 2012 at 10:49 AM, Donovan Sydow dono...@gogii.net wrote:

 Sorry I am on ubuntu, and that is an essential package for compiling.
 Manually installing pycrypto worked for my instance of the first error.
 Unfortunately, I cannot help you with the one you are now facing. Hopefully
 another community member or developer can chime in.

 Good Luck,
 Donovan


 On Fri, Mar 30, 2012 at 7:07 PM, Muiz work.m...@gmail.com wrote:


 Thanks for your quickly reply!


 I install pycrypto 2.4 already, but I can not file build-essential
 package via yum.

 and the a new error:

 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2711, in module
 working_set.require(__requires__)
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 690, in require
 needed = self.resolve(parse_requirements(requirements))

   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: PIL
 Then how can I do?


 On Sat, Mar 31, 2012 at 8:53 AM, Donovan Sydow dono...@gogii.net wrote:

 This usually means you are missing a required package to install
 pycrypto. Try installing gcc and build-essential via yum.

 You can then manually install pycrypto:

 wget http://downloads.reviewboard.org/mirror/pycrypto-2.4.tar.gz
 tar -zxf pycrypto-2.4.tar.gz
 cd pycrypto-2.4
 python setup.py install

 Then reinstall reviewboard and install your site.



 On Fri, Mar 30, 2012 at 5:33 PM, muiz lee work.m...@gmail.com wrote:

 dear all,


I install RB in CENTOS 6 using mysql and cvs, when i run rb-site
 install command then get the folling error messages:


 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2715, in module
 parse_requirements(__requires__), Environment()
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: pycrypto=2.1

 for pycrypto, I have installed useing command yum install pycrypto,
 how can I resolve this problem?


 Thanks and Best Regards,
 muiz

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




  --
 Regards,
 *Muiz*


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




-- 
Regards,
*Muiz*

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install /var/www/rb failed

2012-03-30 Thread xiangfeng shen
Dear Muiz,

For PIL, you should install it by commad: sudo yum install PIL.
I really encounter libgcrypt install issue,  which I'd suggest install the
crypt develop by yum command or setuptools for pycrypto, such as:
sudo yum install libgcrypt-devel
sudo easy_install pycrypto
regards.
carl shen

2012/3/31 muiz lee work.m...@gmail.com

 dear all,


I install RB in CENTOS 6 using mysql and cvs, when i run rb-site
 install command then get the folling error messages:


 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2715, in module
 parse_requirements(__requires__), Environment()
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: pycrypto=2.1

 for pycrypto, I have installed useing command yum install pycrypto,
 how can I resolve this problem?


 Thanks and Best Regards,
 muiz

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




-- 
Best regards.
carl shen (xiangfeng)
Phone: 13811550669

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: rb-site install /var/www/rb failed

2012-03-30 Thread Muiz
Dear carl shen,

   No package PIL available via yum, I use easy_install to install PIL
already and use command rb-site install /var/www/rb to install the RB.

   Thanks very much, guys!!!


On Sat, Mar 31, 2012 at 11:11 AM, xiangfeng shen
xiangfeng.s...@gmail.comwrote:

 Dear Muiz,

 For PIL, you should install it by commad: sudo yum install PIL.
 I really encounter libgcrypt install issue,  which I'd suggest install the
 crypt develop by yum command or setuptools for pycrypto, such as:
 sudo yum install libgcrypt-devel
 sudo easy_install pycrypto
 regards.
 carl shen

 2012/3/31 muiz lee work.m...@gmail.com

 dear all,


I install RB in CENTOS 6 using mysql and cvs, when i run rb-site
 install command then get the folling error messages:


 [root@localhost www]# rb-site install /var/www/rb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in module
 from pkg_resources import load_entry_point
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 2715, in module
 parse_requirements(__requires__), Environment()
   File
 /usr/lib/python2.6/site-packages/distribute-0.6.25-py2.6.egg/pkg_resources.py,
 line 588, in resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: pycrypto=2.1

 for pycrypto, I have installed useing command yum install pycrypto,
 how can I resolve this problem?


 Thanks and Best Regards,
 muiz

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




 --
 Best regards.
 carl shen (xiangfeng)
 Phone: 13811550669


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




-- 
Regards,
*Muiz*

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

Issue 2559 in reviewboard: Replying inlne to a review comment should be in direct response to the comment

2012-03-30 Thread reviewboard

Status: New
Owner: 
Labels: Type-Enhancement Priority-Medium

New issue 2559 by sbress...@gmail.com: Replying inlne to a review comment  
should be in direct response to the comment

http://code.google.com/p/reviewboard/issues/detail?id=2559

I assume this must have already been filed, but I couldn't find it anywhere  
after multiple searches, so opening a new issue.


What version are you running?
1.5

What's the URL of the page this enhancement relates to, if any?
The diff pages

Describe the enhancement and the motivation for it.
When clicking on a review comment when viewing a diff, more comments can of  
course be added. Currently, this always creates an entirely new review.  
While it should be possible to create a new review, it should also be able  
to reply to the comment directly as if reading through the review and  
clicking Add comment. This way, when it's necessary to go to the diff for  
context for a given comment (because the reviewer didn't select enough  
lines with their comment), one does not have to go back to the review to  
actually write the comment.


What operating system are you using? What browser?
Win 7 64-bit, FF11

Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.