comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » error with cgPS_Close Program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
error with cgPS_Close Program [message #94601] Thu, 20 July 2017 13:41 Go to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear

;;********************************************************** ******************
Message from the cgPS_Close Program:
The requested raster operation cannot be completed unless ImageMagick is installed.
The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
about converting PostScript intermediate files to raster files via ImageMagick.
;;********************************************************** ******************
Re: error with cgPS_Close Program [message #94602 is a reply to message #94601] Fri, 21 July 2017 09:02 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>
> ;;********************************************************** ******************
> Message from the cgPS_Close Program:
> The requested raster operation cannot be completed unless ImageMagick is installed.
> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
> about converting PostScript intermediate files to raster files via ImageMagick.
> ;;********************************************************** ******************


My problem is how can define ImageMagick path in my cshrc, I tried

setenv PATH /opt/local/bin/convert/:$PATH

but it does not work.

help me
Re: error with cgPS_Close Program [message #94603 is a reply to message #94602] Fri, 21 July 2017 09:33 Go to previous messageGo to next message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Friday, July 21, 2017 at 6:02:36 PM UTC+2, AGW wrote:

> setenv PATH /opt/local/bin/convert/:$PATH

Try setenv PATH /opt/local/bin:$PATH

regards,
Lajos
Re: error with cgPS_Close Program [message #94604 is a reply to message #94601] Fri, 21 July 2017 12:28 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>
> ;;********************************************************** ******************
> Message from the cgPS_Close Program:
> The requested raster operation cannot be completed unless ImageMagick is installed.
> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
> about converting PostScript intermediate files to raster files via ImageMagick.
> ;;********************************************************** ******************

tanks,

does not work
Re: error with cgPS_Close Program [message #94607 is a reply to message #94601] Sat, 22 July 2017 04:58 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>
> ;;********************************************************** ******************
> Message from the cgPS_Close Program:
> The requested raster operation cannot be completed unless ImageMagick is installed.
> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
> about converting PostScript intermediate files to raster files via ImageMagick.
> ;;********************************************************** ******************

any help
Re: error with cgPS_Close Program [message #94615 is a reply to message #94601] Tue, 25 July 2017 10:44 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>
> ;;********************************************************** ******************
> Message from the cgPS_Close Program:
> The requested raster operation cannot be completed unless ImageMagick is installed.
> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
> about converting PostScript intermediate files to raster files via ImageMagick.
> ;;********************************************************** ******************

IDL> cgPS2Raster, 'IQUVS.ps', /JPEG
% Compiled module: CGPS2RASTER.
% Compiled module: SETDEFAULTVALUE.
% Compiled module: CGROOTNAME.
% Compiled module: PATH_SEP.
% Compiled module: STRSPLIT.
% Compiled module: FILEPATH.
% Compiled module: CGHASIMAGEMAGICK.
% Compiled module: CGERRORMSG.

Traceback Report from CGPS2RASTER:

% CGPS2RASTER: ImageMagick cannot be found on this machine.
% Execution halted at: CGPS2RASTER 416 /coyote/cgps2raster.pro
% $MAIN$
Re: error with cgPS_Close Program [message #94616 is a reply to message #94615] Tue, 25 July 2017 11:09 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
what happens from the Linux prompt when you do?

% which convert

The IDL routines are just spawning to the 'convert' command, which should be in the directory where ImageMagick is installed. Make sure your Linux PATH includes this directory. On my CentOS box I get

% which convert
/usr/bin/convert


On Tuesday, July 25, 2017 at 1:44:35 PM UTC-4, AGW wrote:
> On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
>> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>>
>> ;;********************************************************** ******************
>> Message from the cgPS_Close Program:
>> The requested raster operation cannot be completed unless ImageMagick is installed.
>> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
>> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
>> about converting PostScript intermediate files to raster files via ImageMagick.
>> ;;********************************************************** ******************
>
> IDL> cgPS2Raster, 'IQUVS.ps', /JPEG
> % Compiled module: CGPS2RASTER.
> % Compiled module: SETDEFAULTVALUE.
> % Compiled module: CGROOTNAME.
> % Compiled module: PATH_SEP.
> % Compiled module: STRSPLIT.
> % Compiled module: FILEPATH.
> % Compiled module: CGHASIMAGEMAGICK.
> % Compiled module: CGERRORMSG.
>
> Traceback Report from CGPS2RASTER:
>
> % CGPS2RASTER: ImageMagick cannot be found on this machine.
> % Execution halted at: CGPS2RASTER 416 /coyote/cgps2raster.pro
> % $MAIN$
Re: error with cgPS_Close Program [message #94619 is a reply to message #94601] Tue, 25 July 2017 15:25 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Thursday, July 20, 2017 at 10:42:00 PM UTC+2, AGW wrote:
> I installed ImageMagick on fedora, but when I run program with cgPS_Close this message appear
>
> ;;********************************************************** ******************
> Message from the cgPS_Close Program:
> The requested raster operation cannot be completed unless ImageMagick is installed.
> The requested PostScript file has been saved: /home/agamal/1/4pic.ps.
> Please see http://www.idlcoyote.com/graphics_tips/weboutput.php for details
> about converting PostScript intermediate files to raster files via ImageMagick.
> ;;********************************************************** ******************

/bin/convert
Re: error with cgPS_Close Program [message #94627 is a reply to message #94619] Thu, 27 July 2017 08:12 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Is /bin on the path known to IDL?

IDL> getenv('PATH')
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Counting header lines in a file
Next Topic: Question about the new widget in idl

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:20:11 PDT 2025

Total time taken to generate the page: 0.00503 seconds