Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

PDF v. > 1.5 make search_lucene fails #9

Closed
butonic opened this issue Feb 11, 2014 · 2 comments
Closed

PDF v. > 1.5 make search_lucene fails #9

butonic opened this issue Feb 11, 2014 · 2 comments

Comments

@butonic
Copy link
Contributor

butonic commented Feb 11, 2014

Issue by AntoineVe from Friday Sep 27, 2013 at 08:38 GMT
Originally opened as owncloud-archive/apps#1386


When parsing some PDF files, search_lucene can't handle it and return error that make background jobs fails.
It's an upstream know error with Zend PDF support.
Maybe add a rule to ignore those files ?

Workaround : convert all PDF to 1.4 (e.g. pdf2ps + ps2pdf14)

log :
{"app":"PHP","message":"Only variables should be passed by reference at /srv/http/owncloud/apps/search_lucene/lib/indexer.php#163","level":2,"time":"2013-09-27T07:59:50+00:00"}
{"app":"PHP","message":"Cross-reference streams are not supported yet. at /srv/http/owncloud/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php#318","level":4,"time":"2013-09-27T07:59:50+00:00"}

@butonic
Copy link
Contributor Author

butonic commented Feb 11, 2014

Comment by fritzmg from Tuesday Nov 05, 2013 at 07:33 GMT


Same problem here, it makes the cronjob fail ( https://forum.owncloud.org/viewtopic.php?f=23&t=17254&p=47470#p47470 ).

@butonic
Copy link
Contributor Author

butonic commented Aug 15, 2014

v0.6.0 uses a different parser

@butonic butonic closed this as completed Aug 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant