Re: Enable Search? -- Reopened

2010-11-16 Thread Christian Hammond
rb-site always expects the path to the site directory, not a directory within it. So it should be: rb-site manage /var/www/reviewboard index -- --full Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue,

Re: Enable Search? -- Reopened

2010-11-16 Thread Ashay
Opening new discussion as I couldn't reply to old one in google groups. This is the error I see: [r...@host conf]# rb-site manage /var/www/reviewboard/data/search- index index -- --full Unable to read settings_local.py. Please see http://www.reviewboard.org/docs/manual/dev/admin/ for help setti

Re: Enable search in RB 1.0.5.

2010-01-10 Thread Thilo-Alexander Ginkel
Hi, IIRC the root cause for this issue is that your Lucene version is too new. Using the latest 2.x version should do the trick. Regards, Thilo On 10 Jan 2010 03:56, "Kunjal" wrote: Hello, We want to enable search in RB. We are having issues. I've finally built java6,ANT,jcc,and pylucerne an

Re: Enable Search?

2009-06-30 Thread grimbeaver
That did the trick. Thanks. On Jun 29, 4:15 pm, Christian Hammond wrote: > You need to run a command periodically to update the search index, through a > scheduled task. Specifically: > >     rb-site manage /path/to/site index -- --full > > (Note the "--" in there. It's important.) > > Christia

Re: Enable Search?

2009-06-29 Thread Christian Hammond
You need to run a command periodically to update the search index, through a scheduled task. Specifically: rb-site manage /path/to/site index -- --full (Note the "--" in there. It's important.) Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org

Re: Enable Search?

2009-06-29 Thread grimbeaver
Seems it's throwing an exception because the search indexes do not exist. What creates these files? The folder gets created when I enable search but there are never any files in it. Did I miss a step? Environment: Request Method: GET Request URL: http://10.10.10.97/r/search/ Django Version: 1

Re: Enable Search?

2009-06-26 Thread Christian Hammond
If you set DEBUG = True in your site's conf/settings_local.py and restart Apache, you should be able to get more debug information for the 500. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Fri, Jun 26, 2

Re: Enable Search?

2009-06-26 Thread grimbeaver
I removed the packages for PyLucene and JCC. I downloaded and built the source. I can enable search now. However when I try to use it I get an Error 500 and the directory for the index gets created but is empty. Starting to think about giving up on search for now. On Jun 26, 8:03 am, grimbeav

Re: Enable Search?

2009-06-26 Thread grimbeaver
Thanks. That answers what's wrong. The PyLucene package in Ubuntu 9.04 is built against Python 2.5 (http://packages.ubuntu.com/jaunty/ pylucene). But mod_python is built using Python 2.6 (http:// packages.ubuntu.com/jaunty/libapache2-mod-python). So much for the idea of using Ubuntu 9.04 to av

Re: Enable Search?

2009-06-25 Thread Christian Hammond
Hi, Run python, and type: import lucene That's basically the entire check we use for search. If that fails, then PyLucene isn't properly installed. Also make sure the version of Python that's being used to run Review Board matches the version used to install PyLucene. Christian -- Christ