Should cope with 'tesseract' without '--list-langs' support
Brought to you by:
tobias-elze
$ strace -f -s9999999999 pdfsandwich -verbose ouputfile.pdf 2>&1 | grep -E '(list-lang|eng)'
[pid 3934] execve("/bin/sh", ["/bin/sh", "-c", "tesseract --list-langs 2>&1"], [/ 43 vars /]) = 0
[pid 3935] execve("/usr/bin/tesseract", ["tesseract", "--list-langs"], [/ 43 vars /]) = 0
write(2, "Fatal error: exception Failure(\"Language eng not supported by tesseract. Make sure that the respective tesseract language package is installed.\n\")\n", 147Fatal error: exception Failure("Language eng not supported by tesseract. Make sure that the respective tesseract language package is installed.
fixed in version 0.1.4