[cairo] postscript Error: /rangecheck in --xyshow--

Tamas K Papp tpapp at Princeton.EDU
Thu Jan 24 19:52:37 PST 2008


Hi,

gv/evince chokes an a PS file generated by cairo, with the following error message:

---- begin ----
Error: /rangecheck in --xyshow--
Operand stack:
   (\001\002\003\004)   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1909   1   3   %oparray_pop   1908   1   3   %oparray_pop   1892   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1154/1684(ro)(G)--   --dict:0/20(G)--   --dict:103/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

** (evince:21181): WARNING **: Interpreter failed.
Error: /rangecheck in --xyshow--
Operand stack:
   (\001\002\003\004)   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1909   1   3   %oparray_pop   1908   1   3   %oparray_pop   1892   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1154/1684(ro)(G)--   --dict:0/20(G)--   --dict:103/200(L)--
Current allocation mode is local
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

** (evince:21181): WARNING **: Interpreter failed.

** (evince:21181): WARNING **: Interpreter failed.
---- end ----

It works flawlessly for PDF, image and SVG backends.

The cairo commands are called by a graph generator, so I could not
reduce the problem to a set of simple commands (and the source is in
Common Lisp).  But I generated a PDF, a PS and an SVG file which are
attached.  PS files which contain simple things (like some text, or a
rectangle painted some color) render flawlessly in GV.

Any help would be appreciated.  I am using the 1.4.14-1 version of the
libcairo2 Debian package.

Tamas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple1.ps
Type: application/postscript
Size: 35017 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080124/a0e8486a/attachment-0001.ps 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple1.pdf
Type: application/pdf
Size: 15209 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080124/a0e8486a/attachment-0001.pdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple1.svg
Type: image/svg+xml
Size: 15428 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080124/a0e8486a/attachment-0001.svg 


More information about the cairo mailing list