Comment 4 for bug 1179376

Revision history for this message
Malek Ghantous (malektronic) wrote : Re: [Bug 1179376] Re: eps files created by matplotlib stump evince
  • epstest.py Edit (129 bytes, application/octet-stream; name="epstest.py")
  • sine.eps Edit (101.8 KiB, application/postscript; name="sine.eps")

I've attached a short python file that's supposed to generate a sine
curve, and the output file I get is attached. By removing the "end"
command on line 1497 of the eps file everything works, otherwise it
throws up the errors and doesn't display. gv shows up a different
bunch of errors, though it does display the image:

----
Error: /dictstackunderflow in --end--GPL Ghostscript 9.07:
Unrecoverable error, exit code 1

Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1916
1 3 %oparray_pop 1915 1 3 %oparray_pop --nostringval--
1899 1 3 %oparray_pop 1787 1 3 %oparray_pop
--nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push
--nostringval--
Dictionary stack:
   --dict:1170/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 104278
----