Skip to main content.
home | support | download

Back to List Archive

Re: error indexing pdf files

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Apr 11 2003 - 21:26:17 GMT
On Fri, 11 Apr 2003, Jody Cleveland wrote:

> Hello,
> 
> I've got swish-e running on a redhat 8 box, and I've got a configuration
> file set to spider a website housed on a different server. This server has
> pdf files they want indexed. So, in the config file, I put this:
> FileFilter .pdf /var/www/cgi-bin/search/filter-bin/_pdf2html.pl
> 
> When I run swish-e to spider the site, I get this error each time it comes
> across a pdf file:
> 
> Failed close on pipe to pdfinfo for ./swishspider@15640.contents: 11 at
> /var/www/cgi-bin/search/filter-bin/_pdf2html.pl line 53.

Means pdfinfo returned with a non-zero exit code.

Perhaps you can just change line 53 from "die" to "warn".  Might also do
it for the other close (on pdftotext).


-- 
Bill Moseley moseley@hank.org
Received on Fri Apr 11 21:30:05 2003