Re: DirTree works in pipe but not config file on PDF

Peter Karman <[email protected]>
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>

Gertjan Hofman scribbled on 6/29/06 11:59 PM:

> TRY 1: USING CONFIG FILE
> 
> gertjan-laptop:~/tmp/swish_test> swish-e -S prog -c
> swish_file.conf
> Indexing Data Source: "External-Program"
> Indexing "./DirTree.pl"
> External Program found: ./DirTree.pl
> Error: May not be a PDF file (continuing anyway)
> Error (0): PDF file is damaged - attempting to
> reconstruct xref table...
> Error: Couldn't find trailer dictionary
> Error: Couldn't read xref table
> Removing very common words...
> no words removed.
> Writing main index...
> err: No unique words indexed!
> 


add the -v3 option to get more verbose. That should tell you the name of 
the file being parsed with SWISH::Filter (xpdf). I'm betting the file 
isn't getting passed correctly.

-- 
Peter Karman  .  http://peknet.com/  .  [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.