Ghostscript 10 might be too new...
by denydias from LinuxQuestions.org on (#6EV7V)
ghostscript-10.02.0 update in Thu Sep 14 02:38:14 UTC 2023 -current changelog is charging its price.
PDF files being interpreted for ages by GS now returns this:
Code:$> /usr/bin/gs -sDEVICE=pdfwrite -sPageList=2 -sOutputFile=split.pdf test.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-- 2 ( **** 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 1This is most likely caused by its new C PDF interpreter which is now the only one, as the old PostScript interpreter was removed in this new 10.02.0 release.
Yes, PDF files can be fixed, but it will also takes time as there are tons of it in the world. Personally, I think the PDFI move from Artifex was quite messy, but this out of the scope here.
Maybe GS 10 can live in testing for a while and we stick with 9 for a bit more time. At the very least, let GS 9 lives in testing or extra so people have some time to fix their GS workflow.
For now, I will just downgrade to ghostscript-9.56.1 and pin it a little longer. The changes on 10 are far from trivial and debugging GS is quite a demanding task.
PS: ghostscript-10.01.2 also works fine. I mentioned ghostscript-9.56.1 above because v9 will never have the PostScript PDF interpreter entirely removed.
PDF files being interpreted for ages by GS now returns this:
Code:$> /usr/bin/gs -sDEVICE=pdfwrite -sPageList=2 -sOutputFile=split.pdf test.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-- 2 ( **** 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 1This is most likely caused by its new C PDF interpreter which is now the only one, as the old PostScript interpreter was removed in this new 10.02.0 release.
Yes, PDF files can be fixed, but it will also takes time as there are tons of it in the world. Personally, I think the PDFI move from Artifex was quite messy, but this out of the scope here.
Maybe GS 10 can live in testing for a while and we stick with 9 for a bit more time. At the very least, let GS 9 lives in testing or extra so people have some time to fix their GS workflow.
For now, I will just downgrade to ghostscript-9.56.1 and pin it a little longer. The changes on 10 are far from trivial and debugging GS is quite a demanding task.
PS: ghostscript-10.01.2 also works fine. I mentioned ghostscript-9.56.1 above because v9 will never have the PostScript PDF interpreter entirely removed.