The Review Board documentation here says that I should use the latest 
version of 
Pylucene: 
http://www.reviewboard.org/docs/manual/1.5/admin/installation/linux/#installing-pylucene

Once these are installed, you’ll need to download the latest 
version<http://lucene.apache.org/pylucene/> of 
> PyLucene and extract the tarball.


However, the latest version of Pylucene is 4.3.0-1

14 May 2013 - PyLucene 4.3.0-1 available

 
Here is the error I receive from RB when I try to run the indexes: 

bash-3.2$ rb-site manage /var/www/nrbweb-staging.eng.netapp.com index -- 
--full/opt/softwaretemp/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57:
 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
Traceback (most recent call last):
  File "./rb-site", line 8, in <module>
    load_entry_point('ReviewBoard==1.7.7.1', 'console_scripts', 'rb-site')()
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/ReviewBoard-1.7.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1937, in main
    command.run()
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/ReviewBoard-1.7.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1869, in run
    site.run_manage_command(args[0], args[1:])
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/ReviewBoard-1.7.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 560, in run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/__init__.py",
 
line 459, in execute_manager
    utility.execute()
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/__init__.py",
 
line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py",
 
line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py",
 
line 232, in execute
    output = self.handle(*args, **options)
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py",
 
line 371, in handle
    return self.handle_noargs(**options)
  File 
"/opt/softwaretemp/lib/python2.7/site-packages/ReviewBoard-1.7.7.1-py2.7.egg/reviewboard/reviews/management/commands/index.py",
 
line 90, in handle_noargs
    assert False
AssertionError


and upon looking at the index.py file, I see that 4.x isn't supported. 
 Should I downgrade or is there an easy fix I can put into index.py? Either 
way, perhaps the RB documentation should be updated if Pylucene 4.3 isn't 
supported?

 78         if lucene_is_2x:
 79             store = lucene.FSDirectory.getDirectory(store_dir, False)
 80             writer = lucene.IndexWriter(store, False,
 81                                         lucene.StandardAnalyzer(),
 82                                         not incremental)
 83         elif lucene_is_3x:
 84             store = lucene.FSDirectory.open(lucene.File(store_dir))
 85             writer = lucene.IndexWriter(store,
 86                 lucene.StandardAnalyzer(lucene.Version.LUCENE_CURRENT),
 87                 not incremental,
 88                 lucene.IndexWriter.MaxFieldLength.LIMITED)
 89         else:
 90             assert False
 91 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to