-
Notifications
You must be signed in to change notification settings - Fork 39
Getting org.ghost4j.GhostscriptException: Cannot initialize Ghostscript interpreter. Error code is -13 #62
Comments
GS can not be initialize, on production only you say?
Everything installed and permissions set?
|
Thanks 4F2E4A2E, for the quick response. Update:By enabling debug mode, I can found following errors from my code...
(OS: ubuntu 16) Any ideas?? Thanks in advance. |
What about the permission of the application you’re running?
|
It has same access level. 'sudo' |
@mananshah88 Could you please let us know how you've enabled debug mode in Ghost4j? I am getting the same exception "Cannot initialize Ghostscript interpreter". But the Error code is -15 instead of -100. I am setting parameters for debugging but it doesn't seem to work. Thanks in advance. |
@kvadlamani sorry its a very old thread. So i do not remember exactly. There are others as well. You can get it from here: https://www.ghostscript.com/doc/current/Use.htm#Environment_variables (13. Debugging section) |
@mananshah88 Thanks for the reply. Unfortunately, none of the debug options worked for me. This is the code I am trying to execute:
and I am getting the exception:
|
Hi,
I am facing a weird problem. My code works on my machine but not on production. :D :D :D
Ghostscript: 9.18 (2015-10-05)
Ghostscript4j : 1.0.1
jna: 4.1.0
( all versions are same on local machine as well as on production.)
I am trying to create thumbnail from the PDF file.
Here is my code:
The error I got on my production is:
Can anyone gives me any direction?
The text was updated successfully, but these errors were encountered: