[Thread Prev][Thread Next][Index]

Re: [ferret_users] probem running ferret -batch



Hello,
"Key has been revoked" is not a Ferret error message. I believe that is a message coming from elsewhere; are your scripts going out and executing system commands?  It seems to me that an error condition has been triggered, and that's got Ferret's graphics in a bad state.

Try a simple example; run Ferret in batch mode and save a postscript file, with a simple script that just draws a plot.
> echo "plot/i=1:10 i" > my_batch.jnl
> ferret -batch my_ps.ps -script my_batch.jnl
Ansley

On 11/15/2013 3:41 PM, Ulrich Jacques Diasso wrote:
Dear ferreters,
Trying to save .ps figures, I got a complain from ubuntu 13.10 after typing:
ferret -batch figure_name.ps -script my_Script.jnl

 Cached data cleared from memory
**ERROR: ../../Figures/PR.2021-2050_1970-2000.ps: Key has been revoked
 *** NOTE: Cannot cancel window when in batch mode
 *** NOTE: Cannot create new windows when batch mode set
gdeactivatews()    3 GKS not in proper state: GKS shall be in the state WSAC
gactivatews()    6 GKS not in proper state: GKS shall be either in the state WSOP or in the state WSAC
ginqwsconntype()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gsetwswindow()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gescsetdcsize()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gupdatews()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
 **ERROR: required program command has not been given: graphical output device isnt ready
CONTOUR/FILL /pal=brown_blue/nolabel/nokey/lev=(-Inf)(-22,22,4)(Inf) var9
Command file, command group, or REPEAT execution aborted
STOP -script mode, ERROR RUNNING SCRIPT statement executed
 Cached data cleared from memory
**ERROR: ../../Figures/TAS.2021-2050_1970-2000.ps: Key has been revoked
 *** NOTE: Cannot cancel window when in batch mode
 *** NOTE: Cannot create new windows when batch mode set
gdeactivatews()    3 GKS not in proper state: GKS shall be in the state WSAC
gactivatews()    6 GKS not in proper state: GKS shall be either in the state WSOP or in the state WSAC
ginqwsconntype()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gsetwswindow()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gescsetdcsize()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gupdatews()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
 **ERROR: required program command has not been given: graphical output device isnt ready
CONTOUR/FILL /pal=orange_red/nolabel/nokey/lev=(-Inf)(0,2,0.2)(Inf) var9
Command file, command group, or REPEAT execution aborted
STOP -script mode, ERROR RUNNING SCRIPT statement executed
 Cached data cleared from memory
**ERROR: ../../Figures/TASMIN.2021-2050_1970-2000.ps: Key has been revoked
 *** NOTE: Cannot cancel window when in batch mode
 *** NOTE: Cannot create new windows when batch mode set
gdeactivatews()    3 GKS not in proper state: GKS shall be in the state WSAC
gactivatews()    6 GKS not in proper state: GKS shall be either in the state WSOP or in the state WSAC
ginqwsconntype()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gsetwswindow()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gescsetdcsize()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gupdatews()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
 **ERROR: required program command has not been given: graphical output device isnt ready
CONTOUR/FILL /pal=orange_red/nolabel/nokey/lev=(-Inf)(0,2,0.2)(Inf) var9
Command file, command group, or REPEAT execution aborted
STOP -script mode, ERROR RUNNING SCRIPT statement executed
 Cached data cleared from memory
**ERROR: ../../Figures/TASMAX.2021-2050_1970-2000.ps: Key has been revoked
 *** NOTE: Cannot cancel window when in batch mode
 *** NOTE: Cannot create new windows when batch mode set
gdeactivatews()    3 GKS not in proper state: GKS shall be in the state WSAC
gactivatews()    6 GKS not in proper state: GKS shall be either in the state WSOP or in the state WSAC
ginqwsconntype()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gsetwswindow()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gescsetdcsize()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
gupdatews()    7 GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
 **ERROR: required program command has not been given: graphical output device isnt ready
CONTOUR/FILL /pal=orange_red/nolabel/nokey/lev=(-Inf)(0,2,0.2)(Inf) var9
Command file, command group, or REPEAT execution aborted
STOP -script mode, ERROR RUNNING SCRIPT statement executed


Thanks for helping
Cheers
Ulrich


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement