loris-imageserver / loris

Loris IIIF Image Server
Other
208 stars 87 forks source link

Give a proper 'library not found' error instead of timing out #528

Open lguariento opened 3 years ago

lguariento commented 3 years ago

If there is a wrong path under one of the transformation scenarios in loris.conf, or/and if the binaries and libraries are not found, Loris just times out when requesting an image.

E.g.:

[[JP2]]
kdu_expand = '/wrong_path_to/kdu_expand'

This happens when using mod_wsgi and Apache under a Python3 virtual environment.