[pyngl-talk] New version 1.5.0_beta: can't create pdf, newpdf or ps file

Mary Haley haley at ucar.edu
Sat Dec 27 09:45:27 MST 2014


Hi Karin,

I'm sorry I missed this one.  I've been in and out with a bad cold and had
three trips in one month.

Did you ever get this to work?

--Mary


On Thu, Dec 18, 2014 at 4:29 AM, Karin Meier-Fleischer <
meier-fleischer at dkrz.de> wrote:

> Hi,
>
> I'm trying to output the plot to ps or pdf, but ps, pdf and newpdf failed,
> eps and epsi creates an correct output file.
>
> Using ps the output file is of size 0.
>
> The mac os x program preview returns an error message that the file is
> corrupted. The pdf output file gives the following error message when
> opened with ImageMagicks display program:
>
>    **** Error: Cannot find a 'startxref' anywhere in the file.
>    **** Warning:  An error occurred while reading an XREF table.
>    **** The file has been damaged.  This may have been caused
>    **** by a problem while converting or transfering the file.
>    **** Ghostscript will attempt to recover the data.
>    **** Error:  Trailer is not found.
>    No pages will be processed (FirstPage > LastPage).
>
>    **** This file had errors that were repaired or ignored.
>    **** Please notify the author of the software that produced this
>    **** file that it does not conform to Adobe's published PDF
>    **** specification.
>
> display: Postscript delegate failed `py_NCL_cont_fill_map.pdf': No such
> file or directory @ error/pdf.c/ReadPDFImage/713.
>
>
> Using newpdf gives the following error message running the python script
>
> warning:open_wks: Invalid workstation type, must be 'x11', 'ncgm', 'ps',
> 'png', 'pdf', or 'svg'
>
> fatal:_NhlCreate:This object must have a Workstation Ancestor
> fatal:_NhlCreate:This object must have a Workstation Ancestor
> fatal:NhlGetValues:PID #-4 is invalid
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:NhlAddOverlay: invalid base plot id
> fatal:Invalid plot ID=-4 passed to NhlGetBB
> fatal:NhlGetValues:PID #-4 is invalid
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:NhlDraw: Invalid Layer Id: -4
> fatal:Unable to update Workstation with PID#0
> fatal:Unable to clear Workstation with PID#0
>
> Any idea?
>
> Bye,
> Karin
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20141227/81824c82/attachment-0001.html 


More information about the pyngl-talk mailing list