What version are you running?
1.0.5.1
What's the URL of the page containing the problem?
anytime you click the "search" button or try and update the search index
What steps will reproduce the problem?
1. search for anything
2. incremental/full update of index
What is the expected output? What do you see instead?
What operating system are you using? What browser?
gentoo linux 2.6.27-gentoo-r7
Please provide any additional information below.
Perhaps i have something misconfigured with python/PyLucene/etc? I had to
update python to 2.6 when installing django-1.1.1, which meant downloading
and compiling the latest PyLucene (& jcc).
Error message in logfile when i click "search":
2010-01-04 18:39:30,507 - ERROR - Exception thrown for user root at
http://server/r/search/?q=core
type object 'FSDirectory' has no attribute 'getDirectory'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py",
line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File
"/usr/lib/python2.6/site-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'
Error message when i try to update the index:
rb-site manage /var/www/localhost/servername/ index -- --full
Traceback (most recent call last):
File "/usr/bin/rb-site", line 9, in <module>
load_entry_point('ReviewBoard==1.0.5.1', 'console_scripts', 'rb-site')()
File
"/usr/lib/python2.6/site-packages/ReviewBoard-1.0.5.1-py2.6.egg/reviewboard/cmdline/rbsite.py",
line 1478, in main
command.run()
File
"/usr/lib/python2.6/site-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/lib/python2.6/site-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/lib/python2.6/site-packages/django/core/management/__init__.py", line
362, in execute_manager
utility.execute()
File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 222, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 351, in handle
return self.handle_noargs(**options)
File
"/usr/lib/python2.6/site-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'