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 <[email protected]>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 - [email protected] > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > On Tue, Oct 20, 2009 at 2:08 AM, David Resnick <[email protected]> wrote: > >> Yes. >> -David >> >> On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond >> <[email protected]>wrote: >> >>> Did you restart the web server after installing PyLucene? >>> >>> Christian >>> >>> -- >>> Christian Hammond - [email protected] >>> Review Board - http://www.reviewboard.org >>> VMware, Inc. - http://www.vmware.com >>> >>> >>> On Tue, Oct 20, 2009 at 1:39 AM, David Resnick <[email protected]>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 >>>> [email protected]<reviewboard%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/group/reviewboard?hl=en >>>> -~----------~----~----~----~------~----~------~--~--- >>>> >>>> >>> >>> >>> To unsubscribe from this group, send email to >>> [email protected]<reviewboard%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/reviewboard?hl=en >>> -~----------~----~----~----~------~----~------~--~--- >>> >>> >> >> >> To unsubscribe from this group, send email to >> [email protected]<reviewboard%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/reviewboard?hl=en >> -~----------~----~----~----~------~----~------~--~--- >> >> > > > To unsubscribe from this group, send email to > [email protected]<reviewboard%[email protected]> > 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~----------~----~----~----~------~----~------~--~---
