Hi to everybody,
I'm running OpenKM 6.2 under Ubuntu Linux 12.04. This is the Java version I'm using:
I've set up OpenKM via "Administration > Configuration", the relevant settings are the following:
Note that I'm able to solve at least the first problem (previewing PDF hangs the system forever) by change system.previewer from flexpaper to zviewer. But the other two problems still remain.
Has any of you some ideas about where I might look for hints? The log file has not helped me in spotting the cause of the problem.
Thanks very much,
Maurizio.
I'm running OpenKM 6.2 under Ubuntu Linux 12.04. This is the Java version I'm using:
Code: Select all
With this configuration OpenKM runs fine, but there are two problems with my current configuration:$ java -version
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
- Previewing PDF files takes forever and does not show anything
- Previewing OpenOffice files produces the following 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 - The button "Download as PDF" saves a file with extension .pdf which is however a Shockwave Flash file:
Code: Select all
$ file lspe_sbf_scientific_requirements.pdf lspe_sbf_scientific_requirements.pdf: Macromedia Flash data (compressed), version 6
I've set up OpenKM via "Administration > Configuration", the relevant settings are the following:
Code: Select all
I had to manually fill the entry "system.swftools.pdf2swf" because it was empty, it took me some time to understand how to format it (I had to dig into OpenKM's source code to discover fileIn and fileOut - is this documented somewhere in the wiki?). I installed LibreOffice using Ubuntu's apt-get, and the executable is indeed /usr/lib/libreoffice/program/soffice.bin. Also, running pdf2swf from the command line using the full path above is ok.system.previewer=flexpaper
system.openoffice.path="/usr/lib/libreoffice/"
system.openoffice.port=2002
system.openoffice.tasks=200
system.swftools.pdf2swf="/opt/tomcat/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}"
Note that I'm able to solve at least the first problem (previewing PDF hangs the system forever) by change system.previewer from flexpaper to zviewer. But the other two problems still remain.
Has any of you some ideas about where I might look for hints? The log file has not helped me in spotting the cause of the problem.
Thanks very much,
Maurizio.
Attachments
OpenKM log file
(157.83 KiB) Downloaded 343 times
(157.83 KiB) Downloaded 343 times
