Re: Enabling Searching on RB 1.7.21

2014-01-23 Thread Christian Hammond
PyLucene is a tricky beast. It's often broken, as they keep changing their
API. I don't know off-hand what versions it's compatible with, or what the
cause may be. It could just be that Review Board isn't seeing lucene in the
import path.

Review Board 2.0 is ripping out PyLucene entirely, replacing it with a
solution that is easy to set up and maintain.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Thu, Jan 23, 2014 at 8:18 AM, Stefan Sabolowitsch <
sabolowitsc...@in-trier.de> wrote:

> Hi
> I am seeing a pylucene warning on my RB setting page:
> ==
> Enable search
>
> Provides a search field for quickly searching through review requests.
>
> PyLucene (with JCC) is required to enable search. See the
> documentation for instructions.
> ==
>
> Is this to mean that RB thinks that I do not have pylucene installed?
>
> I checked and it sure seems to have landed where python ought to find it:
> /.local/lib/python2.6/site-packages/lucene-3.6.2-py2.6-linux-x86_64.egg
>  (!).
>
> this module can import in python without any error.
>
> [root@vm-fes-rb reviews]# python
> Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import lucene
> >>>
>
> "pip freeze" will give
> lucene==3.6.2
> JCC==2.15
> ReviewBoard==1.7.21
>
> any help here ?
> thx
>
> Stefan
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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.


Enabling Searching on RB 1.7.21

2014-01-23 Thread Stefan Sabolowitsch
Hi
I am seeing a pylucene warning on my RB setting page: 
== 
Enable search 

Provides a search field for quickly searching through review requests. 

PyLucene (with JCC) is required to enable search. See the 
documentation for instructions. 
== 

Is this to mean that RB thinks that I do not have pylucene installed? 

I checked and it sure seems to have landed where python ought to find it:
/.local/lib/python2.6/site-packages/lucene-3.6.2-py2.6-linux-x86_64.egg   
 (!).  

this module can import in python without any error.

[root@vm-fes-rb reviews]# python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lucene
>>>

"pip freeze" will give
lucene==3.6.2
JCC==2.15
ReviewBoard==1.7.21

any help here ?
thx

Stefan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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.