Permissions issue

2011-09-09 Thread hs_etd
I am trying to install and configure review board for the 1st time. I can't seem to overcome the issue stated below. I see the issue whenever I try to go to the webpage. ** Your site's data directory isn't properly set up. This directory is where Review Board will store various sta

Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Steve
I have a new CentOS 5.6 box on which I've installed RB 1.6. When I try to access the site for the first time, I get this error: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", l

Re: Permissions issue

2011-09-09 Thread Christian Hammond
Did you restart Apache after? Christian On Friday, September 9, 2011, hs_etd wrote: > I am trying to install and configure review board for the 1st time. I > can't seem to overcome the issue stated below. I see the issue > whenever I try to go to the webpage. > > ** > Your site'

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Steve
I'm thinking it might be better for me to install RB 1.5.5 via yum. Assuming that goes well, I'd then have the option of upgrading to 1.6 using easy_install. On Sep 9, 8:27 am, Steve wrote: > I have a new CentOS 5.6 box on which I've installed RB 1.6.  When I > try to access the site for the fir

Re: Permissions issue

2011-09-09 Thread hs_etd
Yes. Restarted mysql and restart apache On Sep 9, 12:32 pm, Christian Hammond wrote: > Did you restart Apache after? > > Christian > -- 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/ -~

Re: Permissions issue

2011-09-09 Thread hs_etd
Yes. Restarted mysqld and restarted httpd On Sep 9, 12:32 pm, Christian Hammond wrote: > Did you restart Apache after? > > Christian -- 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/ -~

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Christian Hammond
This sounds like Review Board may not have been properly installed. Try running: rb-site manage /path/to/site shell And then: import reviewboard print reviewboard.VERSION from reviewboard.admin.middleware import get_registered_auth_backends And paste the results Christian -- Chri

Re: Permissions issue

2011-09-09 Thread Christian Hammond
Your setup sounds a bit off.. In general, Apache isn't run as root, and it certainly shouldn't be reporting your user in the instructions unless you specifically invoked Apache. So disregard your username in there. "root" sounds more correct, though unsafe (you should never run Apache as root, as i

PyLucene and JCC on CentOS 5.[2,3]

2011-09-09 Thread Tucker
Has anyone managed to install PyLucene on CentOS 5.2 and/or CentOS 5.3? The company I work for is stuck on this version and I'm having trouble getting all the right packages together (lack of time being a major factor). I miss search. :( If anyone has a writeup or some steps they'd like to share

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Steve
Your use of the word installed suggest where I may have gone wrong. I have RB 1.0.9 installed on another machine in production. The goal here was to migrate that over to this machine. So I never ran rb- site install, I just installed all the software and then untar'ed the old site in place. M

Preserving diff file sort order

2011-09-09 Thread SCFrench
We are currently using Review Board 1.5.6, and have a custom tool which generates cvs diff files in a particular order. When we use post- review to upload that diff file, the contents get reordered. I've tried commenting out two sites (one in diffutils.py, and one in diffviewer/forms.py) which appe

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Christian Hammond
Untarring the site should be fine, so long as you did a 'rb-site upgrade' on it. This is strange. It's definitely using RB 1.6, but somehow it's failing to import that function. This certainly seems like an issue local to your setup, so we'll need to tack it down. Run the shell again and do:

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Steve
I didn't run upgrade on it yet - I just wanted to see if I could access the site to make sure my config settings were right. Here's what I see when I run the commands below: >>> from reviewboard.accounts import backends >>> print backends.__file__ /usr/lib/python2.4/site-packages/ReviewBoard-1.6-

Re: Mod_python error with brand new RB 1.6 installation

2011-09-09 Thread Christian Hammond
Can you attach that backends.py file? Something seems very fishy. Christian On Friday, September 9, 2011, Steve wrote: > I didn't run upgrade on it yet - I just wanted to see if I could > access the site to make sure my config settings were right. Here's > what I see when I run the commands be

Re: Permissions issue

2011-09-09 Thread hs_etd
Thanks for your responses. I am going to attemp to start from scratch. I have a feeling I modified one too many configuration files. -- 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/ -~--

Re: Permissions issue

2011-09-09 Thread hs_etd
Started from scratch but I see the same thing happening. ls -ld data returns [root@etd-rb rb]# ls -ld data drwxr-xr-x. 2 apache root 4096 Sep 9 19:46 data -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewb

Re: Permissions issue

2011-09-09 Thread Christian Hammond
So it looks like the owner is apache, then, not root, and only the user can write to it. The owner/group should both match what the Apache process is running as. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com

Re: how much value we can give to "max_allowed_packet" in mysql so that larger diffs can be uploaded

2011-09-09 Thread Anton Cohen
On Mon, Sep 5, 2011 at 4:17 AM, Vinod Kumar wrote: > just wanted to know that whether limit on "max_allowed_packet" is > dependent on what? > mysql or reviewboard or server on which both are installed max_allowed_packet is a MySQL variable you set in /etc/my.cnf, or from command-line. You need to

Re: Permissions issue

2011-09-09 Thread Anton Cohen
What Linux distro are you using? How are you starting apache? What is the path to rb (/var/www/rb)? Thanks, Anton On Fri, Sep 9, 2011 at 5:52 PM, hs_etd wrote: > Started from scratch but I see the same thing happening. > > ls -ld data returns > > [root@etd-rb rb]# ls -ld data > drwxr-xr-x. 2 apa