Skip to main content.
home | support | download

Back to List Archive

"No SWISH filters found"?

From: Richard Morin <rdm(at)not-real.slac.stanford.edu>
Date: Wed Sep 22 2004 - 01:17:28 GMT
I copied the filter_content code from

   swish-e/swish-e-2.4.2/prog-bin/SwishSpiderConfig.pl

into my spider.config file.  It seems to be running,
but it consistently bails out here:

   return unless $doc;

which seems to indicate that it couldn't convert the file.

Turning on debugging, I got:

..
 >> +Fetched 1 Cnt: 52  
http://www.slac.stanford.edu/exp/glast/flight/web/a_cat/hide_p.pdf 200  
OK application/pdf 372839  
parent:http://www.slac.stanford.edu/exp/glast/flight/web/FSW_home.shtml
 >> Loading filter: [SWISH/Filters/Doc2txt.pm]
Find path of [catdoc] in  
/u/gl/rdm/local/bin:/afs/slac.stanford.edu/g/glast/applications/ 
install/@sys/usr/bin:/u/gl/rdm/bin.sun5:/u/gl/rdm/bin:/usr/local/bin:/ 
usr/afsws/bin:/usr/afsws/etc:/usr/ccs/bin:/bin:/usr/bin:/etc:/usr/etc:/ 
usr/sbin:/usr/ucb:/usr/dt/bin:/usr/openwin/bin:/usr/local/X11R5/bin:/ 
afs/slac.stanford.edu/g/glast/applications/Root/300.06/@sys/bin:/afs/ 
slac.stanford.edu/g/glast/flight/vendor/vxworks/tor-2.2/ppc/host/sun4- 
solaris2/bin:/u/gl/rdm/local/lib/swish-e
   Not found at path [/u/gl/rdm/local/bin/catdoc]
   Not found at path  
[/afs/slac.stanford.edu/g/glast/applications/install/@sys/usr/bin/ 
catdoc]
   Not found at path [/u/gl/rdm/bin.sun5/catdoc]
   Not found at path [/u/gl/rdm/bin/catdoc]
   Not found at path [/usr/local/bin/catdoc]
   Not found at path [/usr/afsws/bin/catdoc]
   Not found at path [/usr/afsws/etc/catdoc]
   Not found at path [/usr/ccs/bin/catdoc]
   Not found at path [/bin/catdoc]
   Not found at path [/usr/bin/catdoc]
   Not found at path [/etc/catdoc]
   Not found at path [/usr/etc/catdoc]
   Not found at path [/usr/sbin/catdoc]
   Not found at path [/usr/ucb/catdoc]
   Not found at path [/usr/dt/bin/catdoc]
   Not found at path [/usr/openwin/bin/catdoc]
   Not found at path [/usr/local/X11R5/bin/catdoc]
   Not found at path  
[/afs/slac.stanford.edu/g/glast/applications/Root/300.06/@sys/bin/ 
catdoc]
   Not found at path  
[/afs/slac.stanford.edu/g/glast/flight/vendor/vxworks/tor-2.2/ppc/host/ 
sun4-solaris2/bin/catdoc]
   Not found at path [/u/gl/rdm/local/lib/swish-e/catdoc]
Can not use Filter SWISH::Filters::Doc2txt -- need to install catdoc
:-( Filter [SWISH/Filters/Doc2txt.pm] not loaded

 >> Loading filter: [SWISH/Filters/XLtoHTML.pm]
trying to load [Spreadsheet::ParseExcel]
Can not use Filter SWISH::Filters::XLtoHTML -- need to install  
Spreadsheet::ParseExcel: No such file or directory

:-( Filter [SWISH/Filters/XLtoHTML.pm] not loaded

No SWISH filters found
Failed to load MIME::Types
Can't locate MIME/Types.pm in @INC (@INC contains:  
/u/gl/rdm/local/lib/swish-e/perl  
/afs/slac.stanford.edu/www/exp/glast/flight//rdm/lib  
/afs/slac.stanford.edu/package/perl/lib/5.6.1/sun4x_57  
/afs/slac.stanford.edu/package/perl/lib/5.6.1  
/afs/slac.stanford.edu/package/perl/lib/site_perl/5.6.1/sun4x_57  
/afs/slac.stanford.edu/package/perl/lib/site_perl/5.6.1  
/afs/slac.stanford.edu/package/perl/lib/site_perl/5.6.0/sun4x_56  
/afs/slac.stanford.edu/package/perl/lib/site_perl/5.6.0  
/afs/slac.stanford.edu/package/perl/lib/site_perl .) at  
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filter.pm line 167.

Install MIME::Types for more complete MIME support
..

Most of this seems irrelevant to me, as I'm not TRYING to filter
anything but PDF.  But, I'm not sure what to try next...

-r
Received on Tue Sep 21 18:18:14 2004