Perlfect Solutions
 

[Perlfect-search] pdftotext error

Franklin.Petersen@crown.com Franklin.Petersen@crown.com
Fri, 8 Mar 2002 09:50:05 -0500
Has anyone encountered this before?

I am on RedHat 7.1 with xpdf, I can run pdftotext manually and it works,
but indexer.pl failes as follows:

/usr/local/apache/htdocs/pdfs
         5: /usr/local/apache/htdocs/pdfs/fc4000spec.pdf
         6: /usr/local/apache/htdocs/pdfs/crownweb326.pdf
         7: /usr/local/apache/htdocs/pdfs/Crowncom-sitemap3-6.pdf
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
[Fri Mar  8 09:40:10 2002] indexer.pl: Cannot execute '/usr/bin/pdftotext
/usr/local/apache/cgi-bin/perlfect/search/temp//temp.pdf -': Illegal seek
at ./indexer.pl line 445.