Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hmm… Off the top of my head, I’m not sure how non-ASCII characters would be handled when being passed to Ghostscript. That may not be interpreted correctly.

    In the DG Settings (Dashboard -> Settings -> Document Gallery), can you please enable logging in the Advanced tab, purge all existing thumbnails in the Thumbnail Management tab, then view the gallery where these documents are included. If you could report any non-Detail log entries present after performing these actions that would be useful.

    Additionally, are you using IMagick or Ghostscript? Or both?

    I’ll do some local testing with the PDFs provided and will post an update if I find any useful information.

    -Dan

    Thread Starter intrelis

    (@intrelis)

    Sorry for the late reply. I’m using only IMagick, my server’s not configured for Ghostscript.

    (DG_Thumber::getImagickThumbnail) Failed to open file in Imagick: Postscript delegate failed /home/www/bratskalubov.com/www/wp-content/uploads/2015/04/April2015.pdf: No such file or directory
    DG_Thumber::getImagickThumbnail) Failed to open file in Imagick: Postscript delegate failed /home/www/bratskalubov.com/www/wp-content/uploads/2015/04/May2015.pdf: No such file or directory

    It’s the same. Some PDFs don’t generate thumbs, others the default.

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi intrelis,

    It sounds like your IMagick is incorrectly configured — something along the lines of this issue: https://stackoverflow.com/questions/10455985/issue-with-imagick-and-also-with-phmagick-postscript-delegate-failed-no-such. Based on what I’m seeing, your install is claiming to be able to handle Postscript files, but doesn’t actually have its dependencies (or in the case of the link above, may not know where its dependency is).

    Unfortunately there is not a whole lot I can do at this point besides recommend that you speak with your host.

    Sorry I can’t be of more help ??

    -Dan

    Thread Starter intrelis

    (@intrelis)

    And I assume, that if I want to use Ghostscript, I’d have to do the same, contact my host? In either case, what should I tell them?

    Thanks for answering so quickly!

    Plugin Author Dan Rossiter

    (@danrossiter)

    Yeah, unfortunately both would require speaking with your host.

    With Ghostscript, the issue is either that a Ghostscript executable is not available, it is in a non-standard location where DG can’t find it, or your PHP is not configured to allow running exec(). You can rule out the last option if on the Advanced tab you don’t have an error message at the top of the page. What you need to ask your host is is Ghostscript installed (and where its executable is located) and, if you weren’t able to rule out the third item above, whether they allow enabling of exec().

    With IMagick, it’s a bit more challenging to track down what is wrong. I would simply link your host to this support thread or to the Stackoverflow link above.

    If after initial contact with your host you have any more questions, please feel free to ask and I’ll provide whatever help I can.

    -Dan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnails generation’ is closed to new replies.