Hi all, 

I'm running into a thumbnails error. I'm trying to create thumbnails for a 
particular collection:

dspace filter-media -i 123456789/12345
>

This works for the vast majority of items. However, about 5% generate a 
pop-up window that Image Magick has stopped working. When you close the pop 
up it generates the error: 

File: filename.pdf.jpg
> ERROR filtering, skipping bitstream:
>
> org.im4java.core.CommandException: org.im4java.core.CommandException: 
> convert.exe: unable to open image `C\:Users\me\my\filepath'\file': No such 
> file or directory @ error/blob.c/OpenBlob/2701.
> org.im4java.core.CommandException: org.im4java.core.CommandException: 
> convert.exe: unable to open image `C\:Users\me\my\filepath\file': No such 
> file or directory @ error/blob.c/OpenBlob/2701.
>         at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
>         at 
> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.getThumbnailFile(ImageMagickThumbnailFilter.java:126)
>         at 
> org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.getDestinationStream(ImageMagickPdfThumbnailFilter.j
> ava:25)
>         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.applyFiltersCollection(MediaFilterManager.java:446)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:357)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         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: convert.exe: unable to open 
> image `C\:Users\me\my\filepath\file'': No such file or directory @ 
> error/blob.c/OpenBlob/2701.
>         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)
>         ... 14 more
>

The error/blob.c/OpenBlob/2701 seems to relate to a permissions issue, but 
since it's successfully creating thumbnails for the majority of other 
files, I seem to have the correct permissions. The file path isn't overly 
long and I'm an administrator on our server. When I repeat the script, it's 
always the same files that generate the error every time. Any idea what 
might be happening here?

Additionally, because it generates the Windows pop-up error, I have to 
manually click "close program" every time for the script to continue. Is 
there a way to get it to fail more gracefully?

Thank you for any help you might have,

Stefana Breitwieser
Digital Archivist
Icahn School of Medicine at Mount Sinai

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e12e99df-0d50-4657-8b9f-de4a420f51fco%40googlegroups.com.

Reply via email to