Question

I've installed document-viewer on Plone. When I upoad a document I receive this error:

Exception in thread "main" java.lang.IllegalStateException: officeHome doesn't exist or is not a directory: 
    at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:165)
    at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)

My openoffice installation is in /opt/openoffice4 I'm using docsplit v 0.6.4

how can I solve this?

Was it helpful?

Solution

As I've read on JODConverter configuration here,

"/opt/openoffice.org3"
"/opt/libreoffice"
"/usr/lib/openoffice"
"/usr/lib/libreoffice" 

so, I've created a symbolic link:

ln -s <path OpenOffice installation> <path required>

solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top