Bug#1052652: ghostscript: eps2write fails on test file
retitle 1052652 ghostscript: eps2write fails with -sPageList=1
thanks
> Running
> gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
> on 10.01.2~dfsg-1 (and older) versions works as expected, but fails
> with the following output on 10.02.0~dfsg-2:
>
> $ gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
> GPL Ghostscript 10.02.0 (2023-09-13)
> Copyright (C) 2023 Artifex Software, Inc. All rights reserved.
> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
> see the file COPYING for details.
> Error: /undefined in --runpdf--
> Operand stack: --nostringval-- 1 ( **** Error: PDF interpreter encountered an error processing the file.\n)
> Execution stack: %interp_exit .runexec2 --nostringval-- runpdf --nostringval-- 2 %stopped_push --nostringval-- runpdf runpdf false 1 %stopped_push 1944 1 3 %oparray_pop 1943 1 3 %oparray_pop 1928 1 3 %oparray_pop 1929 1 3 %oparray_pop runpdf
> Dictionary stack: --dict:752/1123(ro)(G)-- --dict:0/20(G)-- --dict:86/200(L)-- --dict:7/10(L)--
> Current allocation mode is local
> GPL Ghostscript 10.02.0: Unrecoverable error, exit code 1
> By trial-and-error I found out, that removing the option
> "-sPageList=1" avoids the error, but this may result in other side
> effects in fig2dev, since the above command only wants to convert the
> first page of the document.
It seems, that for my needs, I can replace
-sPageList=1
by
-dFirstPage=1 -dLastPage=1
which should do the same, but does not fail with the new ghostscript
version.
Anyway, both variants are still mentioned in the documentation
(https://ghostscript.readthedocs.io/en/gs10.02.0/Use.html), so they
should work as before, so this is still an important bug in the new
ghostscript version.
Greetings
Roland
Reply to: