Previewing 4.2c - plein de fichiers Magick-xxxxxx

cancel
Showing results for 
Search instead for 
Did you mean: 
legaulois
Active Member

Previewing 4.2c - plein de fichiers Magick-xxxxxx

Bonjour,

je teste actuellement la version 4.2c sur un 2008r2.

Tout est installé correctement dans un répertoire Alfresco sur mon disque d:

Deux problèmes :

1) le previewing de documents Office ne fonctionne pas (==> impossible de charger la prévisualiation). Quelqu'un a t'il rencontré le problème en 4.2.c ? j'ai suivi une info sur un forum qui disait d'augmenter certaines variables ==> http://injustfiveminutes.wordpress.com/2012/11/28/docx-pptx-document-preview-fails-on-alfresco-4-2-c...

mais rien n'y fait tjrs pas de preview

2) à la racine de mon disque D: ce sont créés une triclée de fichiers intitulés : magick-xxxxxx (fichier imagemagick ???)

D'où sortent ces fichiers et qu'en faire ? s'ils sont nécessaires, y a t'il une variable à setter pour les mettre à un autre endroit ?

Merci pour les réponses et très bonne année à tous Smiley Happy
4 Replies
rguinot
Customer

Re: Previewing 4.2c - plein de fichiers Magick-xxxxxx

Bonjour,

Concernant le point 1, il serait d'utile d'activer le debug sur les transformations afin de savoir ce qui ne fonctionne pas. Voir http://wiki.alfresco.com/wiki/Content_Transformation_Debug

Concernant le point 2, cela semble être un problème spécifique aux environnements windows, déja remonté ici : https://issues.alfresco.com/jira/browse/ALF-17076.
Un contournement consistera a copier le fichier webapps/alfresco/WEB-INF/classes/alfresco/subsystems/thirdparty/default/imagemagick-transform-context.xml dans shared/classes/alfresco/extension/custom-imagemagick-transform-context.xml et à y ajouter une entrée pour MAGICK_TMPDIR dans la liste des process properties. Voir le lien indiqué pour + de détails.
legaulois
Active Member

Re: Previewing 4.2c - plein de fichiers Magick-xxxxxx

Bonjour Rguinot,

merci pour vos infos :

j'ai activé les logs de débug et en voici le contenu :

L'erreur de transformation est bien présente, de là à dire pourquoi :s

Pour le deuxième problème avec les fichiers Magick je vais suivre le tracker du Jira.

Si vous avez une piste pour le prob de preview Smiley Happy

Merci déjà et meilleurs voeux par la même occase.

 2013-01-07 19:34:47,455  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-80-exec-13] Exception from executeScript - redirecting to status template error: 00070001 Wrapped Exception (with status template): 00070190 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 00070189 Content conversion failed: 
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://2013/1/7/19/34/714681e7-6f9b-4d1c-b972-51859db13228.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=4096, pageLimit=-1, readLimitTimeMs=-1}
org.springframework.extensions.webscripts.WebScriptException: 00070001 Wrapped Exception (with status template): 00070190 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 00070189 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://2013/1/7/19/34/714681e7-6f9b-4d1c-b972-51859db13228.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=4096, pageLimit=-1, readLimitTimeMs=-1}
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:212)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:433)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:533)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:349)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.alfresco.scripts.ScriptException: 00070190 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 00070189 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://2013/1/7/19/34/714681e7-6f9b-4d1c-b972-51859db13228.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=4096, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:202)
   at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:156)
   … 28 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070189 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://2013/1/7/19/34/714681e7-6f9b-4d1c-b972-51859db13228.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=4096, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:625)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy52.transform(Unknown Source)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine.render(AbstractTransformationRenderingEngine.java:126)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeRenditionImpl(AbstractRenderingEngine.java:501)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:425)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:408)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:407)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:369)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:241)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:822)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:723)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:557)
   at sun.reflect.GeneratedMethodAccessor566.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy40.executeAction(Unknown Source)
   at org.alfresco.repo.rendition.RenditionServiceImpl.executeRenditionAction(RenditionServiceImpl.java:336)
   at org.alfresco.repo.rendition.RenditionServiceImpl.render(RenditionServiceImpl.java:199)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnailNode(ThumbnailServiceImpl.java:591)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.access$000(ThumbnailServiceImpl.java:67)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:265)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:262)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:261)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:225)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy119.createThumbnail(Unknown Source)
   at org.alfresco.repo.jscript.ScriptNode.createThumbnail(ScriptNode.java:2835)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
   at org.mozilla.javascript.gen.c12._c1(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:80)
   at org.mozilla.javascript.gen.c12.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c12._c0(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:121)
   at org.mozilla.javascript.gen.c12.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c12.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.gen.c12.exec(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:492)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:198)
   … 33 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070188 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_docx_1733478270646620651.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:486)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 125 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070187 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ComplexContentTransformer_7860089044577711555.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/2e687f7b-387e-46e4-b177-ad0324537451, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.transform.FailoverContentTransformer.transformInternal(FailoverContentTransformer.java:201)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 127 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 00070186 Unsuported transformation attempted:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ComplexContentTransformer_7860089044577711555.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.checkTransformable(AbstractContentTransformer2.java:176)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:232)
   … 129 more
legaulois
Active Member

Re: Previewing 4.2c - plein de fichiers Magick-xxxxxx

Du neuf,

Bon visiblement,

Je viens de changer les paths d'accès par défaut dans le fichier de config à certains composants :

#img.root=D:\\Alfresco\\imagemagick
#img.coders=${img.root}\\modules\\coders
#img.config=${img.root}\\config
#img.gslib=${img.root}\\lib
#img.exe=${img.root}\\convert.exe
img.root=D:/Alfresco/imagemagick
img.coders=${img.root}/modules/coders
img.config=${img.root}/config
img.gslib=${img.root}/lib
img.exe=${img.root}/convert.exe

Par contre, j'ai tjrs pas de "thumbnails" qui s'affiche devant les fichiers dans la document library.

Et certaines transformations fonctionnent (celles dont la taille de fichier est inférieure à 1Mo) pour les autres y a toujours un problème. Je me dis que ça doit être une valeur à augmenter.

Voici toujours le log :

Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070699 Content conversion failed: 
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://2013/1/7/19/53/2a98688e-e672-4d31-b98a-2621d5aa1668.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/8dde0019-a8c5-4192-a438-82a29781994f, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=4096, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:625)
   at sun.reflect.GeneratedMethodAccessor800.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy52.transform(Unknown Source)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine.render(AbstractTransformationRenderingEngine.java:126)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeRenditionImpl(AbstractRenderingEngine.java:501)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:425)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:408)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:407)
   at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:369)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:241)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:822)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:723)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:557)
   at sun.reflect.GeneratedMethodAccessor676.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy40.executeAction(Unknown Source)
   at org.alfresco.repo.rendition.RenditionServiceImpl.executeRenditionAction(RenditionServiceImpl.java:336)
   at org.alfresco.repo.rendition.RenditionServiceImpl.render(RenditionServiceImpl.java:199)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnailNode(ThumbnailServiceImpl.java:591)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.access$000(ThumbnailServiceImpl.java:67)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:265)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:262)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:261)
   at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:225)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy119.createThumbnail(Unknown Source)
   at org.alfresco.repo.jscript.ScriptNode.createThumbnail(ScriptNode.java:2835)
   at sun.reflect.GeneratedMethodAccessor730.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
   at org.mozilla.javascript.gen.c8._c1(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:80)
   at org.mozilla.javascript.gen.c8.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c8._c0(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:121)
   at org.mozilla.javascript.gen.c8.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c8.call(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.mozilla.javascript.gen.c8.exec(file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:492)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:198)
   … 33 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070698 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_docx_4528669727496566290.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/8dde0019-a8c5-4192-a438-82a29781994f, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:486)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 123 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 00070697 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ComplexContentTransformer_3140588083351970510.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/3171d733-08c7-450a-beb9-ca12d7112c44, contentWriterNodeRef=workspace://SpacesStore/8dde0019-a8c5-4192-a438-82a29781994f, sourceContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=-1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.transform.FailoverContentTransformer.transformInternal(FailoverContentTransformer.java:201)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 125 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 00070696 Unsuported transformation attempted:
   reader: ContentAccessor[ contentUrl=store://2012/12/30/23/10/c6539a75-a4a8-4e5b-a1d8-5a5e7103b861.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1469299, encoding=UTF-8, locale=fr_BE]
   writer: ContentAccessor[ contentUrl=store://D:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ComplexContentTransformer_3140588083351970510.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fr]
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.checkTransformable(AbstractContentTransformer2.java:176)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:232)
   … 127 more
legaulois
Active Member

Re: Previewing 4.2c - plein de fichiers Magick-xxxxxx

Bon je me réponds tout seul du coup, les infos que j'avais pechées sur le site dans mon premier post, spécifiait des valeurs de tailles limites pour les conversions et donc ça vient probablement de là.

Par contre pour les thumbnails, toute suggestion est la bienvenue Smiley Happy

Merci