Skip to main content.
home | support | download

Back to List Archive

Re: Error message from Swish-e at run

From: Rob de Santos AFANA <rdesantos(at)not-real.afana.com>
Date: Mon Jan 24 2005 - 22:10:45 GMT
I created Stemmer.pm per the instructions in the previous thread and the
docs.  That seemed to go without error.  I verified that a copy of
Stemmer.pm is in the 
> > /home/afana/public_html/swish-e/lib/swish-e/perl  
directory as expected in reference from the error message (see earlier
message below).  

However the error still occurs and where previously at least some of the
search results were highlighted, now none at all are.  The user sees no
error, it just crops up in the server log.  So, where do I look next?

-Rob 
AFANA.com
> -----Original Message-----
> From: swish-e@sunsite3.berkeley.edu 
> [mailto:swish-e@sunsite3.berkeley.edu] On Behalf Of Peter Karman
> Sent: Saturday, January 22, 2005 3:04 PM
> To: Multiple recipients of list
> Subject: [SWISH-E] Re: Error message from Swish-e at run
> 
> http://swish-e.org/Discussion/archive/2004-11/8529.html
> 
> Rob de Santos AFANA wrote on 1/21/05 5:30 PM:
> 
> > Hi,
> > 
> > I installed Swish 2.4.3 yesterday as mentioned in another message.
My 
> > web site error log is recording the following error when users run 
> > swish.cgi to do a search (the displayed results do have highlighting

> > on some entries and as far as the users can tell nothing is amiss):
> > 
> > Stemmed index needs Stemmer.pm to highlight: Can't locate 
> > SWISH/Stemmer.pm in @INC (@INC contains: 
> > /home/afana/public_html/swish-e/lib/swish-e/perl
> > /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 
> > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
> > /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
> > /usr/lib/perl5/site_perl 
> > /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
> > /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
> > /usr/lib/perl5/vendor_perl .) at 
> >
/home/afana/public_html/swish-e/lib/swish-e/perl/SWISH/PhraseHighlight
> > .pm line 30, <GEN0> line 34.
> > 
> > Here are lines 30-34 in PhraseHighlight.pm:
> > 
> >             eval { require SWISH::Stemmer };
> >             if ( $@ ) {
> >                 warn('Stemmed index needs Stemmer.pm to 
> highlight: ' . 
> > $@);
> >             } else {
> > 
> > So did something not quite work when I compiled 2.4.3 or is it 
> > something else more mundane?
> > 
> > I am running on the following platform:
> > Linux RedHat Fedora v2.6.10-1.9_FC2smp
> > Perl 5.8.3
> > Apache 1.3.33
> > Swish-e 2.4.3
> > 
> > -Rob de Santos
> > -Columbus, Ohio USA
> > Chairman of the Board,
> > Australian Football Association of North America (AFANA)
> > ph: 1-888-4AFANA1 (North America) (1-888-423-2621)
> > ph: 1-614-338-0002 (outside NA)
> > web: <http://www.afana.com>
> > Contents of this message may not be posted
> > to the web or "blogged" without prior permission.
Received on Mon Jan 24 14:10:46 2005