This is fixed now in SVN. It'll be available in tonight's nightly build, but
a quick workaround would be to edit the
reviewboard/reviews/management/commands/index.py file in the most recent
installed ReviewBoard egg directory and replace the line near the top that
from reviews.models import ReviewRequest
from reviewboard.reviews.models import ReviewRequest
Christian Hammond - [EMAIL PROTECTED]
On Wed, Dec 3, 2008 at 7:09 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:
> Thanks! I imagine that would have worked if I wasn't getting the other
> error ;-)
> On Wed, Dec 3, 2008 at 10:04 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:
>> For rb-site manage commands, you need to put a "--" before any parameters
>> going to "manage". So in your case:
>> $ rb-site manage /var/www/reviewboard/ index -- --full
>> If you look in the conf/ directory, you'll see a crontab entry for doing
>> indexing, and it'll call index correctly.
>> I'm not sure, though, why just doing a "manage /var/www/reviewboard/
>> index" is failing. That certainly shouldn't be happening. I'll look into
>> I'm busy with finishing up a large change for Review Board, but after that
>> I'm planning to go through and improve the docs in these places so it
>> references the right commands.
>> Christian Hammond - [EMAIL PROTECTED]
>> VMware, Inc.
>> On Wed, Dec 3, 2008 at 6:50 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:
>>> I've compiled and installed pylucene, but when I try and get it working
>>> in reviewboard, I'm having issues based upon my assumptions of how to use
>>> rb-site in place of manage.py:
>>> "Finally, run ./manage.py index --full. This should give you a progress
>>> indicator, and may take some time depending on the size of your database."
>>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index --full
>>> Usage: rb-site command [options] path
>>> rb-site: error: no such option: --full
>>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index
>>> [!] Unable to execute the manager command index: No module named
>>> To prove that lucene will import:
>>> [EMAIL PROTECTED] conf]# python
>>> Python 2.6 (r26:66714, Dec 1 2008, 22:54:24)
>>> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import lucene
>>> I do however have it enabled in both the settings_local.py file and in
>>> the web admin settings:
>>> ENABLE_SEARCH = True
>>> SEARCH_INDEX = '/var/www/reviewboard/search'
>>> Any suggestions?
You received this message because you are subscribed to the Google Groups
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at