Posscript Delegate fails

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
nils@iqweb.se
Posts: 7
Joined: 2013-12-20T01:39:42-07:00
Authentication code: 6789

Posscript Delegate fails

Post by nils@iqweb.se »

Hi, try to convert pdf to images but get this Postscript delegates error. It worked on my Unix dev server but not in my Windows production server:
PostscriptDelegateFailed `D:\Inetpub\wwwroot\IQPagerTest/app/webroot/book/pdf/iqpager@1390226822.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/678
Error: An Internal Error Has Occurred.
Stack Trace
APP\Controller\SettingsController.php line 645 → Imagick->__construct(string)
[internal function] → SettingsController->pdfupload()
CORE\Cake\Controller\Controller.php line 485 → ReflectionMethod->invokeArgs(SettingsController, array)
CORE\Cake\Routing\Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
CORE\Cake\Routing\Dispatcher.php line 161 → Dispatcher->_invoke(SettingsController, CakeRequest, CakeResponse)
APP\webroot\index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)

Thanks for help finding the error
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Posscript Delegate fails

Post by fmw42 »

It looks like you may not have Ghostscript installed (or Imagick cannot find it)

What version of IM?

Does

convert -version

list gs or gslib.

Or

convert -list configure

and look at the line starting with Delegates
nils@iqweb.se
Posts: 7
Joined: 2013-12-20T01:39:42-07:00
Authentication code: 6789

Re: Posscript Delegate fails

Post by nils@iqweb.se »

We have
ImageMagick 6.8.0-7 2012-11-23 Q16 http://www.imagemagick.org
and Ghostscript is installed on the server
Nils
nils@iqweb.se
Posts: 7
Joined: 2013-12-20T01:39:42-07:00
Authentication code: 6789

Re: Posscript Delegate fails

Post by nils@iqweb.se »

GhostScript is installed in c:program files
it is gs9.10
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Posscript Delegate fails

Post by fmw42 »

But does Imagick, PHP and Imagemagick see it?
nils@iqweb.se
Posts: 7
Joined: 2013-12-20T01:39:42-07:00
Authentication code: 6789

Re: Posscript Delegate fails

Post by nils@iqweb.se »

Hi,
Do I need a specific setting in Imagick,

Nils
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Posscript Delegate fails

Post by fmw42 »

Sorry, I know little about configuring Imagick. But search the archives (top right on this page). Seems like this issue has been reported and answered in other posts.
nils@iqweb.se
Posts: 7
Joined: 2013-12-20T01:39:42-07:00
Authentication code: 6789

Re: Posscript Delegate fails

Post by nils@iqweb.se »

Thanks for theinfo and it was solving my problem. GREAT
Post Reply