On Wed, Mar 27, 2013 at 3:38 PM, Kevin Buckley <[log in to unmask]> wrote:


$ echo $KAPPA_DIR
/opt/Starlink/20120913/star-kapuahi/bin/kappa
$
$ display device=xw $KAPPA_DIR/comwest
!! %PGPLOT - /gwm: cannot create GWM window
!! Problems opening workstation
!  DISPLAY: Failed to display an image of a one- or two-dimensional data set.
!  Application exit status FACERR__NOFAC, error 232622650
!     (fac=1501,messid=327) no facility message file
!  device=xw /opt/Starlink/20120913/star-kapuahi/bin/kappa/comwest
$


There are actually two errors here.

First is the inability of the GWM window to be created. A simpler test for this is to run the xmake command. It is in /star/bin.

Second is the error in the error reporting. FACERR__NOFAC indicates that the EMS library can't locate the error code look up files. These are all sitting in ${STARLINK_DIR}/help/fac_*_err (in this case fac_1501_err). EMS attempts to find the error files either by looking at an EMS_PATH environment variable (which we don't ever set it seems) or else scanning through PATH looking for a ../help/fac_1501_err file. I imagine this means that $STARLINK_DIR/bin is not in your PATH?

It may be that both your problems relate to the path.

-- 
Tim Jenness
---- Starlink User Support list For list configuration, including subscribing to and unsubscribing from the list, see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK