cancel
Showing results for 
Search instead for 
Did you mean: 

Office document thumbnails,preview not showing

gmccullough
Champ on-the-rise
Champ on-the-rise
Yes, another post on this subject.  I've searched, tried many configs but can't get the office documents to work.  Pdf thumbnails/previews work ok.

Version 3.4.d
OpenSuse 11.something x64

conversions from command line work properly, in fact, the startup tests work fine.  I verified the temp file is created, and I can break it by changing the config to point to invalid values and see the log file entries that the imagemagick conversion failed.

However, office documents do not have thumbnails, and preview says: This document can't be previewed. with a link to download.

I can't find any errors in the log files, have turned on some extra logging per the wiki docs, but still I can't track down the issue.  I hope someone can please point me in the right direction, trying to push this out this week.

thanks,
gene
2 REPLIES 2

gmccullough
Champ on-the-rise
Champ on-the-rise
Got some debug logging working, and now I can see this in my log file:
13:43:00,002  DEBUG [openoffice.connection.SocketOpenOfficeConnection] connecting
13:43:01,738 User:admin WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@7ec3145b]
13:43:01,738 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/png
   transformers: []
13:43:01,739 User:admin WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on org.alfresco.repo.content.transform.swf.SWFTransformationOptions@7f8e2a23
13:43:01,739 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: application/x-shockwave-flash
   transformers: []
13:43:01,739 User:admin WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@a8c63fd]
13:43:01,739 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/png
   transformers: []
13:43:01,740 User:admin WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@6f87c74]
13:43:01,740 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/jpeg
   transformers: []
13:43:01,741 User:admin WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@23b2a73f]
13:43:01,741 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/png
   transformers: []
13:43:03,492 User:System WARN  [content.transform.ComplexContentTransformer] Unable to set override Transformation Option includeContents on ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@4c47a353]
13:43:03,492 User:System DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/png
   transformers: []

Tried to setup a rule on a folder to do a transform, and it gave me the error message about not able to find application/vnd.openxmlformats-officedocument.wordprocessingml.document
I think that's where I'll investigate now…

gmccullough
Champ on-the-rise
Champ on-the-rise
Ok, I have this working now, at least doc and docx files are getting thumbnails and a preview image.  WOO HOO!

The fix???  I disabled IPV6 on the server.

I saw that the soffice process was running, and I tried to connect via telnet localhost 8100
That gave me a connection refused on ::1:
Not too familiar with IPV6, but that looked alot like it.
so, i tried telnet 127.0.0.1 8100, and viola! connection

something to do with resolution of localhost, so I just disabled ipv6 (who uses that anyway?!? lol) :wink:

Thanks for anyone that looked, hope this helps someone
gene