Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
6.4-milestone-1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
On a Fedora 20 64bit OS, the /usr/lib folder does not contain the libreoffice folder, as the
org.artofsolving.jodconverter.office.OfficeUtils.getDefaultOfficeHome()
method is wrongfully assuming. That method is what we use in DefaultOfficeServerConfiguration and, as a result, we are unable to determine the default location of the office server on a 64 bit machine.
I have reported the issue upstream: https://code.google.com/p/jodconverter/issues/detail?id=119 but it does not look like that project is not moving anywhere anytime soon.
Here is a similar thread on a remotely-related issue about /usr/lib vs /usr/lib64.
The problem is upstream, in the jodconverter dependency, but we can still fix it our selves by looking into more locations than jodconverter does, this time considering 64bit linux systems. Funnily enough, they did consider Windows 64 bit systems, but left out Linux.
We need to improve the default locations detection algorithm, until it is fixed upstream.
I see we already use a custom build of jodconverter that fixes some problems, we might as well add yet another fix.
Attachments
Issue Links
- depends on
-
XWIKI-15031 Move to sbraconnier's JODConverter
- Closed
- relates to
-
XWIKI-9380 Fail to start LibreOffice 4.1+ on Mac
- Closed
-
XWIKI-12810 Unrendered velocity code if no office server path is set or autodetected
- Closed