cancel
Showing results for 
Search instead for 
Did you mean: 

OpenOffice transformation fails for some power point files

billk
Champ in-the-making
Champ in-the-making
CentOS 4.3
OpenOffice 2.0.0
Alfresco 1.2.1
MySQL 4.1.12
Java 1.5.0_06

I tried to transform a powerpoint presentation and got this in the UI:

Please correct the errors below then click Finish.

    * A system error happened during the operation: Transaction didn't commit: Content conversion failed: reader: ContentAccessor[ contentUrl=store://2006/5/24/16/7fb0b023-eb69-11da-b4e8-e34612fa0543.bin, mimetype=application/vnd.powerpoint, size=245752, encoding=UTF-8] writer: ContentAccessor[ contentUrl=store://2006/5/24/16/7fef66d5-eb69-11da-b4e8-e34612fa0543.bin, mimetype=application/pdf, size=0, encoding=UTF-8] options: {}

There are a ton of messages in the log, but here is the first set at least:
16:01:19,016 WARN  [bean.repository.Repository] Metadata extraction failed:
   reader: ContentAccessor[ contentUrl=store:///opt/alfresco/tomcat/temp/Alfresco/alfresco45447.upload, mimetype=application/vnd.powerpoint, size=245752, encoding=UTF-8]
   extracter: org.alfresco.repo.content.metadata.OfficeMetadataExtracter@1ea9b6e
May 24, 2006 4:01:27 PM net.sf.joott.uno.DocumentConverter convert
SEVERE: conversion failed; source = "file:///opt/alfresco/tomcat/temp/Alfresco/UnoContentTransformer45448.ppt"; destination = "file:///opt/alfresco/tomcat/temp/Alfresco/UnoContentTransformer45449.pdf"; filterProperties = "{FilterName=impress_pdf_Export}"java.io.FileNotFoundException: could not open source document: file:///opt/alfresco/tomcat/temp/Alfresco/UnoContentTransformer45448.ppt
16:01:27,536 ERROR [content.transform.AbstractContentTransformer] Content writer not closed by transformer:
   writer: ContentAccessor[ contentUrl=store://2006/5/24/16/749356d7-eb68-11da-b4e8-e34612fa0543.bin, mimetype=application/pdf, size=0, encoding=UTF-8]
   transformer: UnoContentTransformer[ average=8927ms]
16:01:27,551 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'composite-action'.
org.alfresco.service.cmr.repository.ContentIOException: Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2006/5/24/16/740ee495-eb68-11da-b4e8-e34612fa0543.bin, mimetype=application/vnd.powerpoint, size=245752, encoding=UTF-8]
   writer: ContentAccessor[ contentUrl=store://2006/5/24/16/749356d7-eb68-11da-b4e8-e34612fa0543.bin, mimetype=application/pdf, size=0, encoding=UTF-8]
   options: {}
   at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:250)
   at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:206)
   at org.alfresco.repo.content.RoutingContentService.transform(RoutingContentService.java:371)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

I saw the post about using OO 2.0.0.  I had a hard time finding anyone who had it, so hopefully I have the correct version of it.  Let me know what may be causing this.
2 REPLIES 2

lgr
Champ in-the-making
Champ in-the-making
Hi,

I've got the same issue with OO 2.0.2 (french version) and Alfresco 1.3.0dev.
(transaction didn't commit exception and the same tons of messages like "could not open source document"). It happens with any type of document. xls, doc, txt, html.

I've not looked further in diagnosing the issue yet.

Laurent.

billk
Champ in-the-making
Champ in-the-making
I have only seen this in some forums, but you can't use OO 2.0.2 as the transformations are all broken.  Supposedly they will be corrected in version 2.0.3, so the advice given was to use 2.0.0 in the interim.  However, it looks like that is not a 100% solution either….