Skip to main content.
home | support | download

Back to List Archive

error with some PDFs

From: wmconlon <bill(at)not-real.tothept.com>
Date: Thu Jun 24 2004 - 21:15:11 GMT
I'm having a problem indexing some pdf files, with spider.pl halting:

Warning: Unknown header line: 'Page -14-' from program 
/usr/local/lib/swish-e/spider.pl
err: External program failed to return required headers Path-Name:
.


This occurs with a specific pdf (all previous pdf files were okay).  I 
download the problem PDF, opened in Acrobat, and saved with optimation to 
make sure it was okay.  But still no change.

I'm thinking it might be an issue with xpdf (Redhat 9 xpdf rpm:  
xpdf-2.01-11).  

Any thoughts?

The output with debug on:

[wmconlon@white cgi-bin]$ ./swish-index
Indexing Data Source: "External-Program"
Indexing "/usr/local/lib/swish-e/spider.pl"
External Program found: /usr/local/lib/swish-e/spider.pl
/usr/local/lib/swish-e/spider.pl: Reading parameters from 
'/web/www/public/ncha/cgi-bin/swish.conf'

 -- Starting to spider: http://www.norcalhandball.org/Scoop_2003_oct.pdf 
--
>> +Fetched 0 Cnt: 1 http://www.norcalhandball.org/Scoop_2003_oct.pdf 200 OK 
application/pdf 105189 parent:

----HEADERS for http://www.norcalhandball.org/Scoop_2003_oct.pdf ---
Date: Thu, 24 Jun 2004 20:57:58 GMT
Accept-Ranges: bytes
ETag: "59c04a-19ae5-11308e80"
Server: Apache/2.0.48 (Unix) mod_perl/1.99_13 Perl/v5.8.0
Content-Length: 105189
Content-Type: application/pdf
Last-Modified: Thu, 24 Jun 2004 20:26:18 GMT
Client-Date: Thu, 24 Jun 2004 20:57:58 GMT
Client-Response-Num: 2
-----END HEADERS----

**Adding automatic MetaName 'author' found in file 
'http://www.norcalhandball.org/Scoop_2003_oct.pdf'

[snip]

Summary for: http://www.norcalhandball.org/Scoop_2003_oct.pdf
PDF transformed:      1  (1.0/sec)
    Total Bytes: 39,779  (39779.0/sec)
     Total Docs:      1  (1.0/sec)
    Unique URLs:      1  (1.0/sec)

Warning: Unknown header line: 'Page -14-' from program 
/usr/local/lib/swish-e/spider.pl
err: External program failed to return required headers Path-Name:
.
 

Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:bill@tothept.com
web:    http://www.tothept.com
Received on Thu Jun 24 21:15:43 2004