cancel
Showing results for 
Search instead for 
Did you mean: 

Thumbnailing unregular issue (after PDF transformation)

flefoll
Champ in-the-making
Champ in-the-making
Hi,

On a fresh new Ubuntu installation, with ultimate Imagemagick version (in /usr/local and found…)

Using the following debug key :
log4j.logger.org.alfresco.repo.content.thumbnail=debug
log4j.logger.org.alfresco.repo.content.transform=debug
log4j.logger.org.alfresco.repo.thumbnail=debug
log4j.logger.org.alfresco.util.exec=debug

I can just see that :
17:09:53,598 DEBUG [org.alfresco.repo.thumbnail.ThumbnailServiceImpl] Getting thumbnail by name (nodeRef=workspace://SpacesStore/5fb867b2-dafe-4432-a93b-24d03d9e3c8d; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=doclib)
17:09:53,601 DEBUG [org.alfresco.repo.thumbnail.ThumbnailServiceImpl] Creating thumbnail (node=workspace://SpacesStore/5fb867b2-dafe-4432-a93b-24d03d9e3c8d; contentProperty={http://www.alfresco.org/model/content/1.0}content; mimetype=image/png
17:09:53,601 DEBUG [org.alfresco.repo.thumbnail.ThumbnailServiceImpl] Getting thumbnail by name (nodeRef=workspace://SpacesStore/5fb867b2-dafe-4432-a93b-24d03d9e3c8d; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=doclib)
17:09:53,620 DEBUG [org.alfresco.repo.content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/msword
   target mimetype: image/png
   transformers: [ComplexContentTransformer[ average=10000ms]]
17:09:53,620 DEBUG [org.alfresco.repo.content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/msword
   target mimetype: image/png
   transformers: [ComplexContentTransformer[ average=10000ms]]
17:09:53,676 DEBUG [org.alfresco.repo.content.transform.AbstractContentTransformer2] Completed transformation:
   reader: ContentAccessor[ contentUrl=store://2009/5/8/11/17/fca7c849-6163-4d6d-89d3-43f2e1bbc637.bin, mimetype=application/msword, size=26112, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store:///opt/app/rubis/temp/Alfresco/ComplextTransformer_intermediate_doc_2635998207396670954.pdf, mimetype=application/pdf, size=81822, encoding=UTF-8, locale=en_US]
   options: org.alfresco.repo.content.transform.magick.ImageTransformationOptions@74537453
   transformer: OpenOfficeContentTransformer[ average=402ms]
17:09:53,677 INFO  [org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter] Creation of thumbnail 'doclib' failed

Indeed the PDF visualization is ok, but as visible in the log, the thumbnail doesn't work…

It's strange, command line, using the very same "convert" binary, I can convert any PDF into JPG/PNG….

Does somebody have an idea of how troubleshoot that ?

Thanks in advance,

Francois
1 REPLY 1

nadaoneal
Champ in-the-making
Champ in-the-making
It looks like other people have had luck downgrading ImageMagick - see this thread. (This fix didn't work for me, but good luck.