• Preview Problem (Windows)

  • 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.
 #19575  by raiko
 
My OpenKM v6.2.1 is installed on Windows XP, and I am having problem of previewing files except PDFs. These are the errors:

When viewing TIFF:
Code: Select all
Conversion: Error: May not be a PDF file (continuing anyway) Error: PDF file is damaged - attempting to reconstruct xref table... Error: Couldn't find trailer dictionary Error: Couldn't read xref table
and when viewing text files:
Code: Select all
Conversion: Error in text/plain to PDF conversion
Based on this wiki. These are the config:
Code: Select all
system.imagemagick.convert	String 	C:\openkm\ImageMagick\convert.exe 
system.openoffice.path	String 	C:\OpenKm\OpenOffice\program
system.swftools.pdf2swf	String 	C:\OpenKM\tomcat\bin\pdf2swf.exe -T 9 -f ${fileIn} -o ${fileOut}
*Edit 2012-12-1*
Also ref to http://forum.openkm.com/viewtopic.php?f=4&t=8343. Try to download an .OTD as PDF, but not succeeded.

Thanks for your help!
Last edited by raiko on Sun Dec 02, 2012 12:04 pm, edited 1 time in total.
 #19585  by raiko
 
This topic describe similar situation. However, it doesn't seem to be a solution there.

Now I am suspecting is OpenOffice's problem, I have also tired LibreOffice. Also, tried different office path, e.g.
- C:\OpenKm\OpenOffice\
- C:\OpenKm\OpenOffice\program
- C:\OpenKm\OpenOffice\program\soffice.bin

but still no luck!

Thanks for your help again!
 #19604  by jllort
 
Did you installed openoffice at C:\OpenKm\OpenOffice\ or copyed files there ? because is strange installation path. For my experience seems libreoffice actually goes more fine than openoffice.
 #19611  by raiko
 
I installed there to avoid path with space (just in case).

Anyway, the problem solved by added soffice.bin into Windows Firewall. However, I still can't view TIFF (jpg, pdf, odt, txt are working). This is the error message:
Code: Select all
Conversion: Error: May not be a PDF file (continuing anyway) Error: PDF file is damaged - attempting to reconstruct xref table... Error: Couldn't find trailer dictionary Error: Couldn't read xref table

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.