Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] SWISH::Filters::Base not found via spider.pl

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Sun Jul 25 2010 - 12:32:47 GMT
Troy Wical wrote on 7/25/10 3:07 AM:
> I confirmed via cpan that, to the best of my knowledge, this module is installed correctly. Not sure what the issue might be.
> 
> ########################################################
> Indexing Data Source: "External-Program"
> Indexing "spider.pl"
> External Program found: /usr/local/lib/swish-e/spider.pl
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/perl5/site_perl/5.8.8/SWISH/Filters/xls2txt.pm line 9.
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/perl5/site_perl/5.8.8/SWISH/Filters/xls2txt.pm line 9.
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/perl5/site_perl/5.8.8/SWISH/Filters/xls2txt.pm line 9.
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/perl5/site_perl/5.8.8/SWISH/Filters/xls2txt.pm line 15.
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/swish-e/perl/SWISH/Filter.pm line 1209.
> Can't locate package SWISH::Filters::Base for @SWISH::Filters::xls2txt::ISA at /usr/local/lib/swish-e/perl/SWISH/Filter.pm line 1250.
> Failed to find the SWISH::Filter module.  Only processing text/* content.
> Can't locate object method "new" via package "SWISH::Filters::Base" at /usr/local/lib/swish-e/perl/SWISH/Filter.pm line 493.
> 

Just to make things complicated, the SWISH::Filter from CPAN is several versions
ahead of the one distributed with swish-e. To find out which one spider.pl is
trying to use, try:

 % /usr/local/bin/perldoc -l SWISH::Filter

and

 % /usr/local/bin/perl -e 'use SWISH::Filter 999'


Unless you need some feature that the CPAN version provides (like the decompress
filter), you're better off reducing complexity and just using the one that comes
with swish-e, which by default is installed in

 /usr/local/lib/swish-e/perl/


-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sun Jul 25 08:32:49 2010