- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Björn
Subject: dataparksearch error when generating pdf documents.

Hello, i am new to dataparksearch.

I have a problem with scanning pdf files. I get an error when dataparksearch 
tries to parse an pdf document

Error log running indexer -aimv6 -u 
http://www.redbridge.se/images/redbridge/pdf/bilaga_3_priser_f195_prog07.pdf:

indexer[20336]: {01} Found external parser 'application/pdf' -> 'text/html'
indexer[20336]: {01} Starting external parser: '/usr/bin/pdftotext -layout -html
meta /tmp/ind.1.20336.in -'
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
indexer[20336]: {01} Parser-Content-Type: text/html
indexer[20336]: {01} Guesser bytes: 8192, Lang: pl, Charset: cp852
indexer[20336]: {01} Store by default
indexer[20336]: {01} [store/doc] Stored rec_id: 6fd8b379 Size: 223
indexer[20336]: {01} [] Stored rec_id: 6fd8b379 Size: 265 Ratio: 84.15%
indexer[20336]: {01} CheckOnly method is used
indexer[20336]: {01} No conditional subsection detected
indexer[20336]: {01} [url/info] Stored rec_id: 13 Size: 206
indexer[20336]: {01} Done (2 seconds, 1 documents, 265 bytes,  0.13 Kbytes/sec.)

indexed.conf:

MaxDocSize  3145728
#Disallow *.tex  *.texi *.xls  *.doc  *.texinfo
#Disallow *.rtf  *.pdf  *.cdf  *.ps

Mime application/pdf  text/html  "/usr/bin/pdftotext -layout -htmlmeta $1 -"

When running indexer -S it updates Total. But its not in the indexer -I output?


Regards
Björn
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;post=

Ответить