Issue Type: Improvement Improvement
Affects Versions: 3.2
Assignee: Unassigned
Created: 28/Jul/13 11:16 PM
Description: The problem is described by this thread:
http://dspace.2283337.n4.nabble.com/XPDF-Thumbnail-Creation-td4665862.html

The user got a generic error (java.io.IOException: Unknown failure while transforming file to preview: no image produced. ). It was unclear what went wrong.

In order to better inform the user of what he did wrong, the error message should say "Couldn't filter file %s because XPDF support was requested, but ImageIO JARs were not found. Please, copy jai_core-1.1.2_01.jar and jai_imageio-1.0_01.jar to [dspace]/lib". The error message should be triggered when both "source = ImageIO.read(outf);" [1] returns null and ImageIO is not available.

[1] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/app/mediafilter/XPDF2Thumbnail.java#L249
[2] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/app/mediafilter/XPDF2Thumbnail.java#L26
Project: DSpace
Priority: Minor Minor
Reporter: Ivan Masár
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to