Re: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
Have same problem here when installing on RHEL5.3 which version of pylucene is supported? (maybe it's a good idea to put the supported version info on http://www.reviewboard.org/docs/manual/1.0/admin/installation/linux/ ) On Mar 6, 3:45 am, Christian Hammond chip...@chipx86.com wrote: Planning to support this for 1.5. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Mar 5, 2010 at 4:32 PM, Dana Lacoste dlaco...@aperio.com wrote: You need to use an OLD lucene. It won't work with 3.0 :( Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of bigoldrock Sent: Friday, March 05, 2010 12:34 PM To: reviewboard Subject: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' 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 athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit
Re: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
Mind filing a docs bug about this? Helps for tracking purposes. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Apr 7, 2010 at 2:27 AM, Jeroen linuxifica...@gmail.com wrote: Have same problem here when installing on RHEL5.3 which version of pylucene is supported? (maybe it's a good idea to put the supported version info on http://www.reviewboard.org/docs/manual/1.0/admin/installation/linux/ ) On Mar 6, 3:45 am, Christian Hammond chip...@chipx86.com wrote: Planning to support this for 1.5. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Mar 5, 2010 at 4:32 PM, Dana Lacoste dlaco...@aperio.com wrote: You need to use an OLD lucene. It won't work with 3.0 :( Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto: reviewbo...@googlegroups.com] On Behalf Of bigoldrock Sent: Friday, March 05, 2010 12:34 PM To: reviewboard Subject: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' 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 LICENSEMakefile README CHANGESdoc/ java/ lucene.egg- info/ NOTICE samples/ CREDITSextensions.xml jcc/ lucene- java-3.0.1/ python/test/ Thank you in advance for your work
AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
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 LICENSEMakefile README CHANGESdoc/ java/ lucene.egg- info/ NOTICE samples/ CREDITSextensions.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 reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
RE: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
You need to use an OLD lucene. It won't work with 3.0 :( Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of bigoldrock Sent: Friday, March 05, 2010 12:34 PM To: reviewboard Subject: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' 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 LICENSEMakefile README CHANGESdoc/ java/ lucene.egg- info/ NOTICE samples/ CREDITSextensions.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 reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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 reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
Planning to support this for 1.5. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Mar 5, 2010 at 4:32 PM, Dana Lacoste dlaco...@aperio.com wrote: You need to use an OLD lucene. It won't work with 3.0 :( Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of bigoldrock Sent: Friday, March 05, 2010 12:34 PM To: reviewboard Subject: AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' 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 LICENSEMakefile README CHANGESdoc/ java/ lucene.egg- info/ NOTICE samples/ CREDITSextensions.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 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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 reviewboard+unsubscr