• Conversion: Error in preview xls sheet

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42957  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!
Last edited by donkey on Sun Jan 08, 2017 1:45 pm, edited 1 time in total.
 #42958  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.