Hi,

I need to import "Microsoft Office Word 2003 XML" files in Nuxeo from Files tab 
so they can be indexed (the primary file is a TIFF image). 
But MSOffice2Text converter throw the following exception:

12:03:17,782 ERROR [BinaryTextListener] Error during MSOffice2Text conversion
org.nuxeo.ecm.core.convert.api.ConversionException: Error during MSOffice2Text 
conversion
        at 
org.nuxeo.ecm.core.convert.plugins.text.extractors.MSOffice2TextConverter.convert(MSOffice2TextConverter.java:59)
        at 
org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:171)
        at 
org.nuxeo.ecm.core.convert.plugins.text.extractors.FullTextConverter.convert(FullTextConverter.java:72)
        at 
org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:171)
        at 
org.nuxeo.ecm.core.storage.sql.coremodel.BinaryTextListener.blobsToText(BinaryTextListener.java:173)
        at 
org.nuxeo.ecm.core.storage.sql.coremodel.BinaryTextListener.handleEvent(BinaryTextListener.java:140)
        at 
org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$Job.run(AsyncEventExecutor.java:137)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
java.lang.IllegalArgumentException. message: Your InputStream was neither an 
OLE2 stream, nor an OOXML stream
        at 
org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:88)
        at 
org.nuxeo.ecm.core.convert.plugins.text.extractors.MSOffice2TextConverter.convert(MSOffice2TextConverter.java:47)
        ... 9 more

How can I work-around this issue?

Thanks,
   Richard.
--
Posted by "richardwilly98" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=4090#12582>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to