Re: Can't enable search though PyLucene is installed

2009-10-22 Thread David Resnick
Understood. I'll see about filing that bug. Thanks all for your help! -David On Wed, Oct 21, 2009 at 9:33 PM, Christian Hammond chip...@chipx86.comwrote: We don't have the time to check every version of every distro to find out these things, so we basically learn about it when someone tells

Re: Can't enable search though PyLucene is installed

2009-10-22 Thread Chris Clark
David, Which Ubuntu version did you use? I've not (yet) setup search but I've found the LTS (8.10) Server version to be REALLY good for reliable config. If you need a reliable, *production* server I wouldn't use anything other than LTS. I can't promise LTS will handle Lucene but it has the

Re: Can't enable search though PyLucene is installed

2009-10-21 Thread David Resnick
Do you have any idea how I can reinstall PyLucene with 2.6? I'm running a vanilla installation of Ubuntu 9.04. There's nothing in the browser JavaScript log. I'm running Firefox 3.5.3. Thanks, David On Tue, Oct 20, 2009 at 8:52 PM, Christian Hammond chip...@chipx86.comwrote: Switching Python

Re: Can't enable search though PyLucene is installed

2009-10-21 Thread grimbeaver
I ran into this same problem. Ubuntu 9.04 has a package for PyLucene but it is built for Python 2.5. Apache uses libapache2-mod-python built for Python 2.6 so no changes to the path or default python are going to make any difference. The only way I got it to work was to manually build PyLucene

Re: Can't enable search though PyLucene is installed

2009-10-21 Thread David Resnick
Thanks for the info, Tom. This is kind of ironic, considering that the main reason I choose Ubuntu was because I didn't want to manually build PyLucene :-). Probably the docs should mention which version of Ubuntu will make the setup least painful. -David On Wed, Oct 21, 2009 at 2:23 PM,

Re: Can't enable search though PyLucene is installed

2009-10-20 Thread Christian Hammond
Did you restart the web server after installing PyLucene? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Oct 20, 2009 at 1:39 AM, David Resnick abune...@gmail.com wrote: I've installed PyLucene on

Re: Can't enable search though PyLucene is installed

2009-10-20 Thread David Resnick
Yes. -David On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond chip...@chipx86.comwrote: Did you restart the web server after installing PyLucene? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On

Re: Can't enable search though PyLucene is installed

2009-10-20 Thread David Resnick
I got an ImportError when I tried doing imp.find_module(lucene). I saw that lucene is installed in python2.5 and the default python used was 2.6. So I changed the default python to 2.5 and now the import does work. But after restarting Apache the checkbox is still disabled. How does mod_python

Re: Can't enable search though PyLucene is installed

2009-10-20 Thread Christian Hammond
Switching Python paths will certainly break things if you're switching to a different version of Python. If you're using mod_python with 2.6 and using the 2.5 search path, you'll experience a number of issues. Instead, you should reinstall PyLucene with 2.6. Did you see anything in your