سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top