AnsweredAssumed Answered

Thumbnail image does not render.

Question asked by michaelc on May 29, 2013
Latest reply on Jul 23, 2013 by haigda
I have a document folder ( works like the publication folder in the model )
in share the thumbnail and preview work fine.

in my website called ROOT that is a copy of WCMQS the thumbnail and preview fail and don't show.

when the documents were added I found the following error.
What is occurring and how can I fix it, sort of a big deal as the users really want this functionality.
Looks like the ImageMagick is not working as expected.

08:12:25,852 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 04290001 Wrapped Exception (with status template): 04291531 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 04291530 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2013/4/25/13/22/bfcd7487-0e86-48c8-a1c9-9b762f7b7c1b.bin, mimetype=image/x-icon, size=1406, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2013/5/29/8/12/da207b79-93f6-4a06-bb3d-550cca9a40f2.bin, mimetype=image/png, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/f4ec7574-e6e8-41c0-9584-7e67d7a04ffE, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], sourceContentProperty=null, includeEmbedded=false, imageCropOptions=null, commandOptions=, imageAutoOrient=true}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=1, readLimitTimeMs=-1}
org.springframework.extensions.webscripts.WebScriptException: 04290001 Wrapped Exception (with status template): 04291531 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 04291530 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2013/4/25/13/22/bfcd7487-0e86-48c8-a1c9-9b762f7b7c1b.bin, mimetype=image/x-icon, size=1406, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2013/5/29/8/12/da207b79-93f6-4a06-bb3d-550cca9a40f2.bin, mimetype=image/png, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/f4ec7574-e6e8-41c0-9584-7e67d7a04ffE, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], sourceContentProperty=null, includeEmbedded=false, imageCropOptions=null, commandOptions=, imageAutoOrient=true}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=1, readLimitTimeMs=-1}
—————
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 04291529 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    /opt/alfresco-4.2.c/common/bin/convert /opt/alfresco-4.2.c/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_8071519720839593508.bin[0] -auto-orient -resize "100x100>" /opt/alfresco-4.2.c/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_5612769669871049360.png
   succeeded:  false
   exit code:  1
   out:       
   err:        .convert.bin: no decode delegate for this image format `/opt/alfresco-4.2.c/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_8071519720839593508.bin' @ constitute.c/ReadImage/503.

Outcomes