Ghostscript errors

209 views
Skip to first unread message

Bill T

unread,
Mar 16, 2017, 1:38:14 PM3/16/17
to DSpace Technical Support
Hi all!

I have recently loaded a bunch of new pdfs, and a large percentage of them throw an error I have never seen when going through the media filter for thumbnail generation.  I can extract text and view the files, but I cannot get a thumb.

My ghoscript version is 8.70 and imagemagick is 6.7.2-7

Has anybody seen this before, and if so any ideas on how to fix it??

Thanks a million!

File: UMDStatesman (1963-11-22).pdf.jpg
Error: /undefined in findresource
Operand stack:
   --dict:8/17(L)--   C2_0   1   --dict:5/5(L)--   --dict:5/5(L)--   Arial   --dict:11/12(ro)(G)--   --nostringval--   CIDFontObject   --dict:7/7(L)--   --dict:7/7(L)--   Adobe-Identity
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %loop_continue
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--   --dict:106/127(ro)(G)--   --dict:286/300(ro)(G)--   --dict:22/25(L)--   --dict:4/6(L)--   --dict:26/40(L)--
Current allocation mode is local
Last OS error: 2
ERROR filtering, skipping bitstream:

Item Handle: 10792/1488
Bundle Name: ORIGINAL
File Size: 18840697
Checksum: e6206bad36aa2adc253add9d239a702c (MD5)
Asset Store: 0
org.im4java.core.CommandException: org.im4java.core.CommandException: GPL Ghostscript 8.70: Unrecoverable error, exit code 1
org.im4java.core.CommandException: org.im4java.core.CommandException: GPL Ghostscript 8.70: Unrecoverable error, exit code 1
at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
at org.dspace.app.mediafilter.ImageMagickThumbnailFilter.getImageFile(ImageMagickThumbnailFilter.java:145)
at org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.getDestinationStream(ImageMagickPdfThumbnailFilter.java:24)
at org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:734)
at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:550)
at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:500)
at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:468)
at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:360)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
Caused by: org.im4java.core.CommandException: GPL Ghostscript 8.70: Unrecoverable error, exit code 1
at org.im4java.core.ImageCommand.finished(ImageCommand.java:253)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:314)
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
... 13 more

mohi...@umd.edu

unread,
May 3, 2017, 10:44:16 AM5/3/17
to DSpace Technical Support
Hello Bill,

This seems to be a bug in Ghostscript that was fixed in v9.00. See: https://bugs.ghostscript.com/show_bug.cgi?id=691289

Regards
Mohamed
University of Maryland Libraries
Reply all
Reply to author
Forward
0 new messages