AnsweredAssumed Answered

Problem with document preview

Question asked by jaakkoo on Aug 24, 2009
Latest reply on Dec 21, 2012 by ankurkhandelwal
Hello again,

I'm trying to configure Alfresco 3.2 Community edition on Ubuntu 9.04 Server. I've solved most of my problems, but there's still some minor things that i need to get working. The document preview is one those, and i just can't nowhere with it at the moment. Swftools and ImageMagick are on the newest versions (compiled from source), and OpenOffice.org is on version 3.0.1. I'm not sure what i've done wrong, but the flashplayer loads fine and works well with jpg's etc. The problem is with .doc/.docx and .pdf files. If i try to preview .pdf files the beachball just keeps spinning and if i try to view .doc/.docx the flashplayer just tells me that "the preview couldn't be loaded from the server".

Here's the error from alfresco.log -file:


09:14:17,299 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript -
redirecting to status template error: 07240016 Wrapped Exception (with status template): 07
240015 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in cla
sspath store file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/w
ebscripts)': 07240014 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03
d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document
, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/9/14/1530a0ac-f032-47da-abc6-f63d44
4b3ea0.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@d54304
org.alfresco.web.scripts.WebScriptException: 07240016 Wrapped Exception (with status templat
e): 07240015 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (
in classpath store file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templ
ates/webscripts)': 07240014 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03
d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document
, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/9/14/1530a0ac-f032-47da-abc6-f63d44
4b3ea0.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@d54304
        at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScrip
t.java:613)
.
.
.
…and much more

Outcomes