I just installed version 6.6.8-4 on our linux (RHEL 5) compute nodes. It seemed to work fine, and all 48 tests passed when I ran "make check." However, while convert will convert from gif to ps, it will not convert the other way:
rcook@edge83 (dataAndImages): convert paper.ps paper.gif
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
convert: Postscript delegate failed `paper.ps': @ error/ps.c/ReadPSImage/806.
convert: missing an image filename `paper.gif' @ error/convert.c/ConvertImageCommand/2974.
Can someone help me troubleshoot this? Thanks! I'm clueless about the intricacies of ImageMagick configuration. The previous version "just worked." I use an install script and did the same install as before. It seems like a bug in 6.6.8 perhaps. Version 6.5.7, compiled identically, works correctly. 6.6.7 also does not work.
Help!
-- Rich
Help! Cannot convert ps files: delegate failed
-
- Posts: 19
- Joined: 2006-02-16T18:06:32-07:00
- Location: Livermore
-
- Posts: 19
- Joined: 2006-02-16T18:06:32-07:00
- Location: Livermore
Re: Help! Cannot convert ps files: delegate failed
Since lots of people have read this but none are replying, I'm moving it to the Bugs forum. Thanks
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Help! Cannot convert ps files: delegate failed
If you installed from source, then you probably need to install Ghostscript and then re-install IM
type the following
convert -list configure
look at the line starting with DELEGATES. See if it includes gs.
type the following
convert -list configure
look at the line starting with DELEGATES. See if it includes gs.
-
- Posts: 19
- Joined: 2006-02-16T18:06:32-07:00
- Location: Livermore
Re: Help! Cannot convert ps files: delegate failed
Interesting, so gs is not in delegates for 6.6.8, but is for 6.4.9. I'm compiling with the same flags on the same machine. I cannot see what is different, other than the configure script for 6.6.8 sets --with-gslib=no, but for 6.4.9 it sets --with-gslib=yes. Ghostscript is definitely installed; it's the same machine in both cases. If I manually set --with-gslib=yes on the configure line for 6.6.8, it fails in make check.fmw42 wrote:If you installed from source, then you probably need to install Ghostscript and then re-install IM
type the following
convert -list configure
look at the line starting with DELEGATES. See if it includes gs.
So the question is: why does 6.4.9 on the same machine act differently that 6.6.8? Why does 6.4.9 see our ghostscript and 6.6.8 does not?
Here is part of the output for the 6.6.8 configure script:
-------------------------------------------------------------
checking for Ghostscript...
checking for Ghostscript version... 8.15.2
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... pam
checking for gs mono device... pbmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
-
- Posts: 19
- Joined: 2006-02-16T18:06:32-07:00
- Location: Livermore
Re: Help! Cannot convert ps files: delegate failed
Forgot one detail. So after configuring version 6.6.8 with --with-gslib=yes, and installing even though "make check" fails, I now see this:
rcook@edge84 (ImageMagick-6.6.8-4): convert -list configure | grep DELEG
DELEGATES bzlib fftw fontconfig freetype gs gvc jpeg jng jp2 lcms mpeg png rsvg tiff x11 xml wmf zlib
rcook@edge84 (ImageMagick-6.6.8-4): convert ~/dataAndImages/paper.ps paper.pdf
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
convert: Postscript delegate failed `/g/g0/rcook/dataAndImages/paper.ps': @ error/ps.c/ReadPSImage/806.
convert: missing an image filename `paper.pdf' @ error/convert.c/ConvertImageCommand/2974.
rcook@edge84 (ImageMagick-6.6.8-4): convert -list configure | grep DELEG
DELEGATES bzlib fftw fontconfig freetype gs gvc jpeg jng jp2 lcms mpeg png rsvg tiff x11 xml wmf zlib
rcook@edge84 (ImageMagick-6.6.8-4): convert ~/dataAndImages/paper.ps paper.pdf
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
convert: Postscript delegate failed `/g/g0/rcook/dataAndImages/paper.ps': @ error/ps.c/ReadPSImage/806.
convert: missing an image filename `paper.pdf' @ error/convert.c/ConvertImageCommand/2974.
-
- Posts: 19
- Joined: 2006-02-16T18:06:32-07:00
- Location: Livermore
Re: Help! Cannot convert ps files: delegate failed
I see the problem. It looks like version 6.6.8 wants a newer version of ghostscript, and fails with the old version. Version 6.4.9 seems ok with the older ghostcript. Mystery solved.
Thanks!
Thanks!