Page 1 of 1

Preview Problem (Windows)

PostPosted:Fri Nov 30, 2012 7:47 am
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!

Re: Preview Problem (Windows)

PostPosted:Fri Nov 30, 2012 9:19 pm
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!

Re: Preview Problem (Windows)

PostPosted:Sat Dec 01, 2012 6:21 pm
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.

Re: Preview Problem (Windows)

PostPosted:Sun Dec 02, 2012 7:09 am
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

Re: Preview Problem (Windows)

PostPosted:Tue Dec 04, 2012 11:35 am
by shaardu

Re: Preview Problem (Windows)

PostPosted:Tue Dec 04, 2012 7:03 pm
by raiko
Thanks shaardu!