cancel
Showing results for 
Search instead for 
Did you mean: 

Certain Xls(x) Files Not Previewing

carnold
Champ on-the-rise
Champ on-the-rise
community 4.2c used installer to install on sled 11. Certain xls will not preview. I thought i found xls files will preview but xlsx files would not but that is wrong. The spreadsheets in question that do not preview will open when downloaded and excel used to open them. Anyone seen this?
11 REPLIES 11

carnold
Champ on-the-rise
Champ on-the-rise
Well, i made the global.properties look like this:
# External locations
#————-
ooo.exe=/opt/alfresco/libreoffice/program/soffice
ooo.enabled=true
#jodconverter.officeHome=./OpenOffice.org
jodconverter.officeHome=/opt/alfresco/common/bin/pdf2swf
jodconverter.portNumbers=8101
jodconverter.enabled=true
#img.root=./ImageMagick
img.root=/opt/alfresco/common
#swf.exe=./bin/pdf2swf
swf.exe=/opt/alfresco/common/bin/pdf2swf


and the xls file still does not preview.
I do see some new stuff in the alfresco.log:
08:27:09,690 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Transformers' subsystem, ID: [Transformers, default]
08:27:09,750 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
08:27:09,751 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
08:27:09,751 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
08:27:09,751 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
08:27:09,751 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").
08:27:09,859 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
08:27:12,141 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08050002 Wrapped Exception (with status template): 08050053 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 08050050 Unsupported transformation: transformer.OpenOffice.2Pdf application/vnd.ms-excel to application/pdf
org.springframework.extensions.webscripts.WebScriptException: 08050002 Wrapped Exception (with status template): 08050053 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 08050050 Unsupported transformation: transformer.OpenOffice.2Pdf application/vnd.ms-excel to application/pdf
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)

ddraper
World-Class Innovator
World-Class Innovator
Have you raised an issue yet as Mark previously suggested?