Hi, @Thomas: In my case, it was Centos 7 with same version (4.3.2.2). With same configuration and JVM but downgrading Libreoffice version to 4.0-4.2 I was unable to reproduce the issue. Maybe something is broken in rpm package? @Vincent: Unfortunately it's not the same issue. I'm using Centos7 for xwiki and my desktop is Linux mint 17 (tried with chromium and firefox)
2014-10-09 18:02 GMT+02:00 Thomas Mortagne <[email protected]>: > Note that I'm using 4.3.2.2 on Ubuntu and it seems to work well for me. > > On Thu, Oct 9, 2014 at 5:28 PM, [email protected] <[email protected]> > wrote: > > > > > > On 9 Oct 2014 at 17:15:33, Jaume Giribert Peraire ( > [email protected](mailto:[email protected])) wrote: > > > >> Ok, finally find the cause of this issue. > >> > >> Seems like office converter does not work with Libreoffice 4.3. I tried > >> Libreoffice 4.0 to 4.2 and everything works fine. Best option is to use > 4.0 > >> because images are imported correctly from doc. > >> > >> Maybe this should be advertised in xwiki install doc. > > > > Yes it should; I’ve added what I know in the Compatibility section on > http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application > > > > I’ve already reported this issue: > > http://jira.xwiki.org/browse/XWIKI-9380 > > > > Is this the issue you’re getting? Are you on mac? > > > > Thanks > > -Vincent > > > >> Kind regards > >> > >> 2014-10-09 14:53 GMT+02:00 Jaume Giribert Peraire > >> : > >> > >> > Hi, > >> > > >> > I have a fresh install of xwiki 6.2.1 (Centos 7, tomcat7). I have > >> > installed and setup Libreoffice 4.3 for document conversion. > Everything is > >> > working fine and xwiki starts libreoffice correctly. > >> > > >> > However, I'm unable to convert any document using the office > importer. I > >> > tried doc, ppt, etc.. with no luck. In catalina.out I get the > following > >> > error: > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > *Caused by: > org.xwiki.officeimporter.converter.OfficeConverterException: > >> > Error while performing conversion. at > >> > > org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:116) > >> > ~[xwiki-platform-legacy-office-importer-6.2.1.jar:na] at > >> > > org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94) > >> > ~[xwiki-platform-legacy-office-importer-6.2.1.jar:na] ... 62 common > >> > frames omittedCaused by: > >> > org.artofsolving.jodconverter.office.OfficeException: could not load > >> > document: test.doc at > >> > > org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:99) > >> > ~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at > >> > > org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59) > >> > ~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at > >> > > org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80) > >> > ~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at > >> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > >> > ~[na:1.7.0_67] at > >> > java.util.concurrent.FutureTask.run(FutureTask.java:262) > ~[na:1.7.0_67] > >> > ... 3 common frames omitted* > >> > > >> > Related to this issue, if I upload a document to a page, the "view" > option > >> > is enable but when I click I get this message and a blank page: > >> > > >> > *$services.officeviewer.view($attachmentReference) * > >> > > >> > Following is the xwiki.properties options enabled: > >> > > >> > > >> > > >> > > >> > > >> > > *openoffice.serverType=0openoffice.serverPort=8100openoffice.autoStart=trueopenoffice.homePath=/opt/libreoffice4.3/* > >> > > >> > And the soffice process: > >> > > >> > *tomcat 11935 11889 0 14:27 ? 00:00:00 > >> > /opt/libreoffice4.3/program/soffice.bin > >> > -accept=socket,host=127.0.0.1,port=8100;urp; > >> > > -env:UserInstallation=file:///var/cache/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100 > >> > -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck > >> > -nologo -norestore* > >> > > >> > I have done this kind of configuration for xwiki 5 and 6.1 using > >> > Libreoffice 4.0 with no problems. Is there anything I'm missing here? > It's > >> > a problem related to this version? > >> > > >> > Kind regards > >> > > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
