Page 1 of 1

Postscript delegate failed [SOLVED]

Posted: 2010-10-29T02:27:07-07:00
by j-x
Hi,

since wednesday I get suddenly following error message when trying to convert pdfs to gif:

Code: Select all

exception 'ImagickException' with message 'Postscript delegate failed `../webroot/files/upl/48.462859f32252c6f0110b5660ef9656f4.doc.pdf': KykD.cache @ pdf.c/ReadPDFImage/634' in .../p_d_f_reader.php:36
Before there wasn't any problem and I didn't change anything about that server.
I ran "convert some.pdf some.gif" which worked for the file above. But I still get the error message.

Has anyone a clue? Thx


convert -list configure

Code: Select all

Path: /usr/local/lib/ImageMagick-6.5.8/config/configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            gcc -std=gnu99
CFLAGS        -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE     ./configure
COPYRIGHT     Copyright (C) 1999-2010 ImageMagick Studio LLC
CPPFLAGS      -I/usr/local/include/ImageMagick
CXX           g++
CXXFLAGS      -pthread
DEFS          -DHAVE_CONFIG_H
DELEGATES     jpeg jng png zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontconfig=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-xml=no
EXEC-PREFIX   /usr/local
HOST          x86_64-unknown-linux-gnu
LDFLAGS       -L/usr/local/lib
LIB_VERSION   0x658
LIB_VERSION_NUMBER 6,5,8,10
LIBS          -lMagickCore -ljpeg -lz -lm -lgomp -lpthread
NAME          ImageMagick
PCFLAGS       -fopenmp
PREFIX        /usr/local
QuantumDepth  16
RELEASE_DATE  2010-01-07
VERSION       6.5.8
WEBSITE       http://www.imagemagick.org

Path: [built-in]

Name          Value
-------------------------------------------------------------------------------
NAME          ImageMagick

Re: Postscript delegate failed

Posted: 2010-10-30T00:40:19-07:00
by j-x
solved!

after looking in the error_log of apache2 i figured out that someone had edited php.ini
so the command "gs" wasn't found anymore
adding a symbolic link in /usr/bin solved the problem