Re: Can't enable search though PyLucene is installed

2009-10-23 Thread grimbeaver

I also went back to the LTS release.  The only reason I was
considering 9.04 was because I had hoped not to have to build
PyLucene.  FYI I believe 9.04 is the first release that a PyLucene
package has been offered.

On Oct 22, 12:46 pm, Chris Clark  wrote:
> 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 best chance.
>
> Chris
>
>
>
> David Resnick wrote:
> > 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
> > mailto:chip...@chipx86.com>> wrote:
>
> >     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 us. I would file a bug against the Ubuntu people on this.
>
> >     Christian
>
> >     --
> >     Christian Hammond - chip...@chipx86.com 
>
> >     Review Board -http://www.reviewboard.org
> >     VMware, Inc. -http://www.vmware.com
>
> >     On Wed, Oct 21, 2009 at 6:16 AM, David Resnick  >     > wrote:
>
> >         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, grimbeaver
> >         mailto:tbrez...@gmail.com>> wrote:
>
> >             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 instead of using the package.
> >              Hope this
> >             helps.
>
> >             -Tom
>
> >             On Oct 21, 2:34 am, David Resnick  >             > wrote:
> >             > 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
> >             mailto:chip...@chipx86.com>>wrote:
>
> >             > > 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 browser's JavaScript
> >             debug log? And which
> >             > > browser are you using?
>
> >             > > Christian
>
> >             > > On Tuesday, October 20, 2009, David Resnick
> >             mailto:abune...@gmail.com>> wrote:
> >             > > > 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 choose the installation of python to use?
> >             > > > -David
> >             > > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond
> >             mailto:chip...@chipx86.com>>
> >             > > wrote:
> >             > > > Also, can you manually run Python and type:
>
> >             > > >     import imp
> >             > > >     imp.find_module("lucene")
>
> >             > > > If that throws an exception (an ImportError), then
> >             PyLucene isn't set up
> >             > > properly. If it simply returns without any message,
> >             then it's installed fine
> >             > > and Review Board is seeing it, so something else is
> >             going wrong.
>
> >             > > > Christian
> >             > > > --
> >             > > > Christian Hammond - chip...@chipx86.com
> >             
> >             > > > Review Board -http://www.reviewboard.org
> >             > > > VM

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 best chance.

Chris


David Resnick wrote:
> 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 
> mailto:chip...@chipx86.com>> wrote:
>
> 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 us. I would file a bug against the Ubuntu people on this.
>
> Christian
>
> -- 
> Christian Hammond - chip...@chipx86.com 
>
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Wed, Oct 21, 2009 at 6:16 AM, David Resnick  > wrote:
>
> 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, grimbeaver
> mailto:tbrez...@gmail.com>> wrote:
>
>
> 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 instead of using the package.
>  Hope this
> helps.
>
> -Tom
>
> On Oct 21, 2:34 am, David Resnick  > wrote:
> > 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
> mailto:chip...@chipx86.com>>wrote:
> >
> >
> >
> >
> >
> > > 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 browser's JavaScript
> debug log? And which
> > > browser are you using?
> >
> > > Christian
> >
> > > On Tuesday, October 20, 2009, David Resnick
> mailto:abune...@gmail.com>> wrote:
> > > > 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 choose the installation of python to use?
> > > > -David
> > > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond
> mailto:chip...@chipx86.com>>
> > > wrote:
> > > > Also, can you manually run Python and type:
> >
> > > > import imp
> > > > imp.find_module("lucene")
> >
> > > > If that throws an exception (an ImportError), then
> PyLucene isn't set up
> > > properly. If it simply returns without any message,
> then it's installed fine
> > > and Review Board is seeing it, so something else is
> going wrong.
> >
> > > > Christian
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> 
> > > > Review Board -http://www.reviewboard.org
> > > > VMware, Inc. -http://www.vmware.com
> >
> > > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick
> mailto:abune...@gmail.com>>
> > > wrote:
> >
> > > > Yes.

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 wrote:

> 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 us. I would
> file a bug against the Ubuntu people on this.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Wed, Oct 21, 2009 at 6:16 AM, David Resnick  wrote:
>
>> 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, grimbeaver  wrote:
>>
>>>
>>> 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 instead of using the package.  Hope this
>>> helps.
>>>
>>> -Tom
>>>
>>> On Oct 21, 2:34 am, David Resnick  wrote:
>>> > 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.com>wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > 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 browser's JavaScript debug log? And
>>> which
>>> > > browser are you using?
>>> >
>>> > > Christian
>>> >
>>> > > On Tuesday, October 20, 2009, David Resnick 
>>> wrote:
>>> > > > 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 choose the installation of python to use?
>>> > > > -David
>>> > > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond <
>>> chip...@chipx86.com>
>>> > > wrote:
>>> > > > Also, can you manually run Python and type:
>>> >
>>> > > > import imp
>>> > > > imp.find_module("lucene")
>>> >
>>> > > > If that throws an exception (an ImportError), then PyLucene isn't
>>> set up
>>> > > properly. If it simply returns without any message, then it's
>>> installed fine
>>> > > and Review Board is seeing it, so something else is going wrong.
>>> >
>>> > > > Christian
>>> > > > --
>>> > > > Christian Hammond - chip...@chipx86.com
>>> > > > Review Board -http://www.reviewboard.org
>>> > > > VMware, Inc. -http://www.vmware.com
>>> >
>>> > > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick >> >
>>> > > wrote:
>>> >
>>> > > > Yes.
>>> > > > -David
>>> >
>>> > > > On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond <
>>> chip...@chipx86.com>
>>> > > wrote:
>>> >
>>> > > > 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 >> >
>>> > > wrote:
>>> >
>>> > > > I've installed PyLucene on an Ubuntu server and would like to
>>> enable
>>> > > search in Review Board but the check box is disabled.
>>> > > > Any ideas?
>>> > > > Thanks,David
>>> >
>>> > > >  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
>>> > > > -~--~~~~--~~--~--~---
>>> >
>>> > > >  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
>>> > > > -~--~~~~--~~--~--~---
>>> >
>>> > > >  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: Can't enable search though PyLucene is installed

2009-10-21 Thread Christian Hammond
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 us. I would
file a bug against the Ubuntu people on this.

Christian

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


On Wed, Oct 21, 2009 at 6:16 AM, David Resnick  wrote:

> 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, grimbeaver  wrote:
>
>>
>> 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 instead of using the package.  Hope this
>> helps.
>>
>> -Tom
>>
>> On Oct 21, 2:34 am, David Resnick  wrote:
>> > 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 > >wrote:
>> >
>> >
>> >
>> >
>> >
>> > > 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 browser's JavaScript debug log? And which
>> > > browser are you using?
>> >
>> > > Christian
>> >
>> > > On Tuesday, October 20, 2009, David Resnick 
>> wrote:
>> > > > 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 choose the installation of python to use?
>> > > > -David
>> > > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond <
>> chip...@chipx86.com>
>> > > wrote:
>> > > > Also, can you manually run Python and type:
>> >
>> > > > import imp
>> > > > imp.find_module("lucene")
>> >
>> > > > If that throws an exception (an ImportError), then PyLucene isn't
>> set up
>> > > properly. If it simply returns without any message, then it's
>> installed fine
>> > > and Review Board is seeing it, so something else is going wrong.
>> >
>> > > > Christian
>> > > > --
>> > > > Christian Hammond - chip...@chipx86.com
>> > > > Review Board -http://www.reviewboard.org
>> > > > VMware, Inc. -http://www.vmware.com
>> >
>> > > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick 
>> > > wrote:
>> >
>> > > > Yes.
>> > > > -David
>> >
>> > > > On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond <
>> chip...@chipx86.com>
>> > > wrote:
>> >
>> > > > 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 
>> > > wrote:
>> >
>> > > > I've installed PyLucene on an Ubuntu server and would like to enable
>> > > search in Review Board but the check box is disabled.
>> > > > Any ideas?
>> > > > Thanks,David
>> >
>> > > >  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
>> > > > -~--~~~~--~~--~--~---
>> >
>> > > >  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
>> > > > -~--~~~~--~~--~--~---
>> >
>> > > >  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
>> > > > -~--~~~~--~~--~--~---
>> >
>> > > >  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: 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, grimbeaver  wrote:

>
> 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 instead of using the package.  Hope this
> helps.
>
> -Tom
>
> On Oct 21, 2:34 am, David Resnick  wrote:
> > 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  >wrote:
> >
> >
> >
> >
> >
> > > 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 browser's JavaScript debug log? And which
> > > browser are you using?
> >
> > > Christian
> >
> > > On Tuesday, October 20, 2009, David Resnick 
> wrote:
> > > > 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 choose the installation of python to use?
> > > > -David
> > > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond <
> chip...@chipx86.com>
> > > wrote:
> > > > Also, can you manually run Python and type:
> >
> > > > import imp
> > > > imp.find_module("lucene")
> >
> > > > If that throws an exception (an ImportError), then PyLucene isn't set
> up
> > > properly. If it simply returns without any message, then it's installed
> fine
> > > and Review Board is seeing it, so something else is going wrong.
> >
> > > > Christian
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.reviewboard.org
> > > > VMware, Inc. -http://www.vmware.com
> >
> > > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick 
> > > wrote:
> >
> > > > Yes.
> > > > -David
> >
> > > > On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond <
> chip...@chipx86.com>
> > > wrote:
> >
> > > > 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 
> > > wrote:
> >
> > > > I've installed PyLucene on an Ubuntu server and would like to enable
> > > search in Review Board but the check box is disabled.
> > > > Any ideas?
> > > > Thanks,David
> >
> > > >  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
> > > > -~--~~~~--~~--~--~---
> >
> > > >  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
> > > > -~--~~~~--~~--~--~---
> >
> > > >  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
> > > > -~--~~~~--~~--~--~---
> >
> > > >  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
> > > > -~--~~~~--~~--~--~---
> >
> > > >  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
> > > > -~--~~~~--~~--~--~---
> >
> > > --
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr..

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 instead of using the package.  Hope this
helps.

-Tom

On Oct 21, 2:34 am, David Resnick  wrote:
> 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 wrote:
>
>
>
>
>
> > 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 browser's JavaScript debug log? And which
> > browser are you using?
>
> > Christian
>
> > On Tuesday, October 20, 2009, David Resnick  wrote:
> > > 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 choose the installation of python to use?
> > > -David
> > > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond 
> > wrote:
> > > Also, can you manually run Python and type:
>
> > >     import imp
> > >     imp.find_module("lucene")
>
> > > If that throws an exception (an ImportError), then PyLucene isn't set up
> > properly. If it simply returns without any message, then it's installed fine
> > and Review Board is seeing it, so something else is going wrong.
>
> > > Christian
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick 
> > wrote:
>
> > > Yes.
> > > -David
>
> > > On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond 
> > wrote:
>
> > > 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 
> > wrote:
>
> > > I've installed PyLucene on an Ubuntu server and would like to enable
> > search in Review Board but the check box is disabled.
> > > Any ideas?
> > > Thanks,David
>
> > >  To unsubscribe from this group, send email to
>
> > >  reviewboard+unsubscr...@googlegroups.com > >  oups.com>
>
> > >  For more options, visit this group at
>
> > >  http://groups.google.com/group/reviewboard?hl=en
> > > -~--~~~~--~~--~--~---
>
> > >  To unsubscribe from this group, send email to
>
> > >  reviewboard+unsubscr...@googlegroups.com > >  oups.com>
>
> > >  For more options, visit this group at
>
> > >  http://groups.google.com/group/reviewboard?hl=en
> > > -~--~~~~--~~--~--~---
>
> > >  To unsubscribe from this group, send email to
>
> > >  reviewboard+unsubscr...@googlegroups.com > >  oups.com>
>
> > >  For more options, visit this group at
>
> > >  http://groups.google.com/group/reviewboard?hl=en
> > > -~--~~~~--~~--~--~---
>
> > >  To unsubscribe from this group, send email to
>
> > >  reviewboard+unsubscr...@googlegroups.com > >  oups.com>
>
> > >  For more options, visit this group at
>
> > >  http://groups.google.com/group/reviewboard?hl=en
> > > -~--~~~~--~~--~--~---
>
> > >  To unsubscribe from this group, send email to
>
> > >  reviewboard+unsubscr...@googlegroups.com > >  oups.com>
>
> > >  For more options, visit this group at
>
> > >  http://groups.google.com/group/reviewboard?hl=en
> > > -~--~~~~--~~--~--~---
>
> > --
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
>
> > > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com > oups.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: 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 wrote:

>
> 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 browser's JavaScript debug log? And which
> browser are you using?
>
> Christian
>
>
> On Tuesday, October 20, 2009, David Resnick  wrote:
> > 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 choose the installation of python to use?
> > -David
> > On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond 
> wrote:
> > Also, can you manually run Python and type:
> >
> > import imp
> > imp.find_module("lucene")
> >
> > If that throws an exception (an ImportError), then PyLucene isn't set up
> properly. If it simply returns without any message, then it's installed fine
> and Review Board is seeing it, so something else is going wrong.
> >
> >
> > Christian
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board - http://www.reviewboard.org
> > VMware, Inc. - http://www.vmware.com
> >
> >
> > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick 
> wrote:
> >
> >
> > Yes.
> > -David
> >
> > On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond 
> wrote:
> >
> > 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 
> wrote:
> >
> >
> > I've installed PyLucene on an Ubuntu server and would like to enable
> search in Review Board but the check box is disabled.
> > Any ideas?
> > Thanks,David
> >
> >  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
> > -~--~~~~--~~--~--~---
> >
> >
> >
> >
> >  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
> > -~--~~~~--~~--~--~---
> >
> >
> >
> >
> >
> >  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
> > -~--~~~~--~~--~--~---
> >
> >
> >
> >
> >  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
> > -~--~~~~--~~--~--~---
> >
> >
> >
> >
> > >
> >  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
> > -~--~~~~--~~--~--~---
> >
> >
>
> --
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
> > 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: 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 browser's JavaScript debug log? And which
browser are you using?

Christian


On Tuesday, October 20, 2009, David Resnick  wrote:
> 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 choose the installation of python to use?
> -David
> On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond  
> wrote:
> Also, can you manually run Python and type:
>
>     import imp
>     imp.find_module("lucene")
>
> If that throws an exception (an ImportError), then PyLucene isn't set up 
> properly. If it simply returns without any message, then it's installed fine 
> and Review Board is seeing it, so something else is going wrong.
>
>
> Christian
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Tue, Oct 20, 2009 at 2:08 AM, David Resnick  wrote:
>
>
> Yes.
> -David
>
> On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond  
> wrote:
>
> 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  wrote:
>
>
> I've installed PyLucene on an Ubuntu server and would like to enable search 
> in Review Board but the check box is disabled.
> Any ideas?
> Thanks,David
>
>  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
> -~--~~~~--~~--~--~---
>
>
>
>
>  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
> -~--~~~~--~~--~--~---
>
>
>
>
>
>  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
> -~--~~~~--~~--~--~---
>
>
>
>
>  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
> -~--~~~~--~~--~--~---
>
>
>
>
> >
>  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
> -~--~~~~--~~--~--~---
>
>

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

--~--~-~--~~~---~--~~
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: 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 choose the installation of python to use?

-David

On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond wrote:

> Also, can you manually run Python and type:
>
> import imp
> imp.find_module("lucene")
>
> If that throws an exception (an ImportError), then PyLucene isn't set up
> properly. If it simply returns without any message, then it's installed fine
> and Review Board is seeing it, so something else is going wrong.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Tue, Oct 20, 2009 at 2:08 AM, David Resnick  wrote:
>
>> Yes.
>> -David
>>
>> On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond 
>> wrote:
>>
>>> 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 wrote:
>>>
 I've installed PyLucene on an Ubuntu server and would like to enable
 search in Review Board but the check box is disabled.
 Any ideas?

 Thanks,
 David


 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
 -~--~~~~--~~--~--~---


>>>
>>>
>>> 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
>>> -~--~~~~--~~--~--~---
>>>
>>>
>>
>>
>> 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
>> -~--~~~~--~~--~--~---
>>
>>
>
> > 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: Can't enable search though PyLucene is installed

2009-10-20 Thread Christian Hammond
The code shouldn't disable that without also providing a visible reason why
it's disabled below the checkbox.

Which browser are you using? Can you check the JavaScript console to see if
there are any errors?

Also, can you manually run Python and type:

import imp
imp.find_module("lucene")

If that throws an exception (an ImportError), then PyLucene isn't set up
properly. If it simply returns without any message, then it's installed fine
and Review Board is seeing it, so something else is going wrong.

Christian

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


On Tue, Oct 20, 2009 at 2:08 AM, David Resnick  wrote:

> Yes.
> -David
>
> On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond 
> wrote:
>
>> 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 wrote:
>>
>>> I've installed PyLucene on an Ubuntu server and would like to enable
>>> search in Review Board but the check box is disabled.
>>> Any ideas?
>>>
>>> Thanks,
>>> David
>>>
>>>
>>> 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
>>> -~--~~~~--~~--~--~---
>>>
>>>
>>
>>
>> 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
>> -~--~~~~--~~--~--~---
>>
>>
>
> > 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: 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 wrote:

> 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  wrote:
>
>> I've installed PyLucene on an Ubuntu server and would like to enable
>> search in Review Board but the check box is disabled.
>> Any ideas?
>>
>> Thanks,
>> David
>>
>>
>> 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
>> -~--~~~~--~~--~--~---
>>
>>
>
> > 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: 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  wrote:

> I've installed PyLucene on an Ubuntu server and would like to enable search
> in Review Board but the check box is disabled.
> Any ideas?
>
> Thanks,
> David
>
> > 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
-~--~~~~--~~--~--~---