谁能解释这个Ghostscript错误信息?

时间:2013-09-19 13:43:47

标签: pdf imagemagick converter ghostscript postscript

我正在抓取目录中每个pdf的缩略图。

$ convert problem.pdf problem.png

我遇到问题PDF会导致以下错误:

Error: /undefined in --run--
Operand stack:
   --dict:1/1(L)--   Nums
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1166/1684(ro)(G)--   --dict:1/20(G)--   --dict:82/200(L)--   --dict:82/200(L)--   --dict:109/127(ro)(G)--   --dict:292/300(ro)(G)--   --dict:25/32(L)--
Current allocation mode is local
GPL Ghostscript 9.07: Unrecoverable error, exit code 1

任何人都可以解释此错误吗?

1 个答案:

答案 0 :(得分:2)

从根本上说,这意味着'出了问题'。除非你是专家拆解PostScript和PDF,否则你可以从中得到所有这些。

然而,这看起来非常像一段时间前修复的错误,你没有说你正在使用哪个版本的Ghostscript但我可以看到你使用的是9.07,当前版本是9.10,我建议你升级。