Skip to main content.
home | support | download

Back to List Archive Failure

From: Bruce Pettyjohn <bruce.pettyjohn(at)>
Date: Thu Oct 16 2003 - 22:16:58 GMT
I am having trouble getting the handle from the SWISH::API module as it is 
trying to find
"" and I can't seem to locate it.  Must be doing something wrong but 
can't see it.

Here is my environment:
swish-e version:  swish-e-2.4.0-pr4
compiler:  gcc version 2.95.3 20010315 (release)
make:  GNU Make 3.80
webserver:  Apache httpd-2.0.45
modperl:  mod_perl-1.99_08
os:  Solaris 8

Here is the perl code:
         use lib 
         use SWISH::API;

         my $swish = SWISH::API->new( $library );  <===== FAILS HERE

Here is the Apache error log on the web failure:
[Thu Oct 16 13:57:47 2003] [error] 2537: ModPerl::Registry: Can't locate 
auto/SWISH/API/ in @INC (@INC contains: /usr/l
/usr/varian/cgi-bin /usr/local/apache2/perl /usr/vari
an/cgi-bin/electron /usr/varian/cgi-bin/electron2 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/Apache2 /usr
/local/lib/perl5/5.8.0/sun4-solaris-thread-multi /usr/local/lib/perl5/5.8.0 
-thread-multi /usr/local/lib/perl5/site_perl/5.8.0 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/usr/varian/cgi-bin/epfind line 993

Manual operation seems to work fine:
# swish-e -w 'pump' -f eportal_kla.index
# SWISH format: 2.4.0-pr4
# Search words: pump
# Removed stopwords:
# Number of hits: 14
# Search time: 0.002 seconds
# Run time: 0.197 seconds
"Mar 03 - /tmp/3aUuiEi
uQw v.1536" 18186
"Jan 03 - /tmp/p2CqUyai
cA v.1536" 16350
. . .

Any guidance to resolve would be much appreciated.


Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
Received on Thu Oct 16 22:17:08 2003