Re: Error : ctrans : FATAL - Could not process CGM element.

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 16 Nov 2006 13:23:26 -0700 (MST)

On Thu, 16 Nov 2006, Sivannarayana Dhulipudi wrote:

>
> Hi ,<?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
>
>
>
> Installed NCAR Graphics Graphics on Windows XP. I had tried to test
> sample Fortran graphic program, but I got below error message. Please
> suggest me how to resolve this issue.
>
>
>
> $ ncargex cpex08 -clean
>
> NCAR Graphics Fortran Example <cpex08>
>
> Copying cpex08.f
>
> Copying cpexcc.f
>
> Compiling and linking...
> g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/X11R6/lib
> -lncarg -ln
> carg_gks -lncarg_c -lXpm -lX11 -lXext
>
> Executing <cpex08>...
> PLOT TITLE WAS EXAMPLE 8
> INTEGER WORKSPACE USED 120
> REAL WORKSPACE USED 400
> AREA MAP SPACE USED 93270
>
> Metafile file is named cpex08.ncgm.
>
>
> CSAMTOP02_at_csamtop02 /usr/local
> $ ctrans -d X11 cpex08.ncgm
> ctrans: FATAL - Could not process CGM element(class=0, id=1, name="Begin
> Metafil
> e") [ XOpenDisplay(0:0) ]
>
> CSAMTOP02_at_csamtop02 /usr/local

Hi Siva,

It looks like your X11 DISPLAY environment variable might not be set
correctly. Try setting it to :0.0 and see if that works. This is
usually done in one of your dot files (.cshrc, .bashrc, or .login).

--Mary

>
>
>
> Thanks & Regards
>
> Siva (Dhulipudi Sivannarayana)
>
> Senior Analyst Programmer.
>
> Computer Science Corporation Ltd
>
> Singapore -470708
>
>
>
>
>
> --------------------------------------------------------------------------------
> --------------------------------------------------------------------------------
> ----------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use
> of e-mail for such purpose.
> --------------------------------------------------------------------------------
> --------------------------------------------------------------------------------
> ----------------
>
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Thu Nov 16 2006 - 13:23:26 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 16 2006 - 13:33:45 MST