Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF thumbnail derivatives are failing maybe due to GhostScript #4

Closed
aOelschlager opened this issue Aug 7, 2024 · 1 comment
Closed

Comments

@aOelschlager
Copy link

I'm using the isle-buildkit tag 3.3.0 and pdf thumbnails derviatives are failing with this message:
houdini-1 | [2024-08-05T17:09:03.005463+00:00] app.INFO: Convert request. [] [] houdini-1 | [2024-08-05T17:09:03.007852+00:00] app.INFO: Imagemagick Command: {"cmd":"convert pdf:-[0] -thumbnail 100x100 png:-"} [] houdini-1 | [2024-08-05T17:09:05.403012+00:00] app.ERROR: Process exited with non-zero code. {"exit_code":-1,"stderr":""} [] houdini-1 | [2024-08-05T17:09:05.403158+00:00] app.ERROR: RuntimeException: {"exception":"[object] (RuntimeException(code: 500): at /var/www/crayfish/Houdini/vendor/islandora/crayfish-commons/CmdExecuteService.php:122)"} [] houdini-1 | 172.18.0.16 - - [05/Aug/2024:17:09:05 +0000] "GET /convert HTTP/1.1" 500 5 "-" "Apache-HttpClient/4.5.13 (Java/17.0.10)" "-"

I tested out that convert command from the Houdini container and it gave this error message:
convert my_pdf.pdf[0] -thumbnail 100x100 my_pdf.png
Illegal instruction (core dumped)

I found this bug with ghostscript that gives that same error but I do not know if it's related to the problem I'm seeing: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517

Full slack discussion about this issue: https://islandora.slack.com/archives/C019U12D44Q/p1722878784071129

@aOelschlager
Copy link
Author

isle-buildkit tag 3.4.0 fixed this issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant