RB guru(s) Please Help
OS: Linux Ubuntu
rev lang: Python 2.6.4
web: apache2
repo: subversion
RB rev: ReviewBoard-1.0.5.1-py2.6.egg
search index file setting in general settings: "/var/www/reviewboard/
indexInfo/rbindex"
checklist=
* lucene installed and set up for the same rev as RB, 2.6.4
* check mark for search in UI settings
* restarted apache2
* typed "export http_proxy=" just in case that was somehow related
(thanks for the last posting about that Chris)
* crontab entries present
sudo rb-site manage /var/www/reviewboard index -- --full
----------has the following traceback
Traceback (most recent call last):
File "/usr/local/bin/rb-site", line 8, in <module>
load_entry_point('ReviewBoard==1.0.5.1', 'console_scripts', 'rb-
site')()
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 1478, in main
command.run()
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 1412, in run
site.run_manage_command(args[0], args[1:])
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 352, in
run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
py2.6.egg/reviewboard/reviews/management/commands/index.py", line 68,
in handle_noargs
store = lucene.FSDirectory.getDirectory(store_dir, False)
AttributeError: type object 'FSDirectory' has no attribute
'getDirectory'
------------The apache error log has this when I try a search
ERROR:root:Exception thrown for user bigoldrock at
http://localhost/r/search/?q=PROJX
type object 'FSDirectory' has no attribute 'getDirectory'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
py2.6.egg/reviewboard/reviews/views.py", line 727, in search
store = lucene.FSDirectory.getDirectory(index_file, False)
AttributeError: type object 'FSDirectory' has no attribute
'getDirectory'
--------looking in the index dir I see this
bigoldr...@littlerock:~/Downloads/pylucene-3.0.1-1$ ls /var/www/
reviewboard/indexInfo/rbindex/timestamp
build/ dist/ INSTALL
LICENSE Makefile README
CHANGES doc/ java/ lucene.egg-
info/ NOTICE samples/
CREDITS extensions.xml jcc/ lucene-
java-3.0.1/ python/ test/
Thank you in advance for your work on this issue
--
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
[email protected]
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en