Search found 3 matches

by scrwdnet
2017-09-14T00:31:20-07:00
Forum: IMagick
Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
Replies: 3
Views: 5913

Re: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291

It did turn out to be an issue with the server not being able to access GS.

This question was pointed out to me by another developer: https://stackoverflow.com/a/37932296/7468785

The symlink fixed it right away.
by scrwdnet
2017-09-11T02:19:47-07:00
Forum: IMagick
Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
Replies: 3
Views: 5913

Re: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291

I'm addition to this running:

Code: Select all

shell_exec("gs -v")
Prints out the correct GhostScript details etc, so it doesn't seem to be an issue with GS not being available to NGINX. :/

Thanks
by scrwdnet
2017-09-11T02:10:07-07:00
Forum: IMagick
Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
Replies: 3
Views: 5913

Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291

I'm getting the above error when I try to run the below line of code: new Imagick("/Users/scrwdnet/Desktop/DEVELOPMENT/Safe/system/storage/medialibrary/temp/8Y1yyIbiUjuPAjcVIbYpGByEYCpCBahB/RW0tlWRLbO4lasmJ.pdf"); When I run exactly the same line through the command line (php -a) it works fine, the ...