Problem with Etherpad file import/export

In Etherpad when you click to export a Word .doc or .pdf file you get the error:

Error message: “Unsupported file type:.. Etherpad can only import txt, html, rtf, doc, and docx files.”

Cause: Openoffice is not running or Etherpad not properly configured.

Solution: Add the below to your Etherpad start up script before you start the Etherpad VM.

/usr/bin/soffice.bin -headless -nofirststartwizard -accept=”socket,host=localhost,port=8100;urp;StarOffice.Service &”

Check the following files exist in the instrastructure/lib folder:

activation.jar

cos.jar

dnsjava-2.0.6.jar

jetty-sslengine-6.1.20.jar

juh.jar

ridl.jar

tagsoup-1.2.jar

c3p0-0.9.1.2.jar

derby-10.5.1.1.jar java_uno.jar

jetty-util-6.1.20.jar

jurt.jar

mysql-connector-java-5.1.10.jar

sanselan-0.94aj.jar

unoil.jar

commons-lang-2.4.jar

derbytools.jar

jetty-6.1.20.jar

json.jar

mail.jar

rhino-js-1.7r1.jar

servlet-api-2.5-20081211.jar

yuicompressor-2.4-appjet.jar

You need to modify execution.scala and importexport.scala – See this document

Notes:

Check your etherpad.localdev-default.properties, you should have:

etherpad.soffice = /usr/bin/soffice

Also check during bin/rebuildjar.sh clearcache you don’t get any errors.

I recommend following this guide here if you haven’t yet..

This was resolved in a discussion found here (sorry it’s a lengthy discussion)

2 thoughts on “Problem with Etherpad file import/export

  1. Thanks for the great set of notes you’ve provided (I’ve spent a few hours scouring all of your Etherpad entries)!

    One thing to note; I’d originally followed the instructions on installing Etherpad from Pauleira’s site (http://pauleira.com/13/installing-etherpad/), and just noticed that several of the library files required were missing when I grabbed the source to compile.

    I took a look at the latest repository, and saw comments that some had removed them, and that they were re-added. So if you can’t see those libraries under infrastructure/lib/, you can located them by downloading them from: http://github.com/ether/pad/tree/master/infrastructure/lib/

    Just a helpful hint to save someone some time, hopefully!

Leave a Reply

Your email address will not be published. Required fields are marked *