Page 1 of 1

Conversion: Error in preview xls sheet

PostPosted:Sun Jan 08, 2017 12:47 pm
by donkey
Using the grandios OpenKM Version: 6.3.2 (build: 8289) on CentOS 6.8

Everything works perfectly, MS-Word docx preview works very well, but not so for Excel xls/xlsx, even with save as pdf and in preview. I'v installed libreoffice from CentOS base repo.

Conversion: Error in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet to PDF conversion
Code: Select all
Caused by: com.openkm.core.ConversionException: Error converting document: could not load document: okm1515213600888342535.xlsx
        at com.openkm.util.DocConverter.convert(DocConverter.java:279)
        at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:327)
        ... 46 more
Have already tried a couple of workarounds, unfortunately without success!

SOLVED: Conversion: Error in preview xls sheet

PostPosted:Sun Jan 08, 2017 1:23 pm
by donkey
Heureka I SOLVED

it was need the libreoffice-filters package they contains libreoffice-xsltfilter

# yum -y install libreoffice-filters

The following packages are installed in dependency check.

libreoffice-core.x86_64
libreoffice-draw.x86_64
libreoffice-filters.x86_64
libreoffice-graphicfilter.x86_64
libreoffice-headless.x86_64
libreoffice-impress.x86_64
libreoffice-math.x86_64
libreoffice-opensymbol-fonts.noarch
libreoffice-pdfimport.x86_64
libreoffice-pyuno.x86_64
libreoffice-sdk.x86_64
libreoffice-ure.x86_64
libreoffice-writer.x86_64
libreoffice-xsltfilter.x86_64

well of course without X11 UI it's ran perfectly and performant on a text-based engine in using mysql database

Re: Conversion: Error in preview xls sheet

PostPosted:Mon Jan 09, 2017 8:33 am
by jllort
We will take note about it.