Page 1 of 1

Problem reading cgm with 6.3.6-8

Posted: 2007-11-06T09:42:49-07:00
by tsdineen
I am getting an error trying to read a cgm file with the 6.3.6 version on linux.

display ~/data/file.cgm

returns:

***FATAL ERROR: CGMmain [140] Cannot open file (Input file: <.cgm)
display: Delegate failed `"ralcgm" -d ps -oC < "%i" > "%o" 2>/dev/null'.
display: unable to open image `/tmp/magick-XXfTVbFU': No such file or directory.
display: UnableToOpenBlob `/tmp/magick-XXfTVbFU': No such file or directory.

This same cmd line works fine with 6.3.3. Also, if a call

ralcgm -d ps -oC < ~/data/file.cgm > ./tmp.ps; display ./tmp.ps

all if fine. Any help would be appreciated.

Re: Problem reading cgm with 6.3.6-8

Posted: 2007-11-06T12:48:54-07:00
by tsdineen
***FATAL ERROR: CGMmain [140] Cannot open file (Input file: <.cgm)
I believe that is a ralcgm error. Ralcgm is in the path and executable as this call
ralcgm -d ps -oC < ~/data/file.cgm > ./tmp.ps; display ./tmp.ps
works fine. Also, display works as expected with the 6.3.3 version. One note that I can see is the constant changing of the delegates file. Could there be a problem in the new code to parse this out of the delegates file and apply it to cgm? I only ask that because of the (Input file: <.cgm) in the error looks like its getting confused.

Re: Problem reading cgm with 6.3.6-8

Posted: 2007-11-06T16:56:06-07:00
by magick
We have a patch in ImageMagick 6.3.6-10 to fix the problem you reported. Thanks.