Page 1 of 1
Preview porblem in OpenKM 5.0
PostPosted:Wed Dec 22, 2010 10:34 am
by ibrahim
Hi,
In the current OpenKM 5.0 demo version, am not able to getting the preview of the doc/docx/xls/xlsx/txt etc files.yet am getting the preview of pdf,jpg files. The screen shot of the problem is attached.
Moreover I had uploaded a word document which is encoded in UTF-8, still that file also not getting in the preview.
Can you give me a clarification for this?
By, Ibrahim.
Re: Preview porblem in OpenKM 5.0
PostPosted:Wed Dec 22, 2010 1:55 pm
by andi.teodorescu
Do you have OpenOffice installed?
I have this problem for DOCX and TXT.
Also JPEG is not working either..
Re: Preview porblem in OpenKM 5.0
PostPosted:Wed Dec 22, 2010 7:40 pm
by jllort
Problably your problem is what's explained by andi, also take a look at server.log to see the error.
Re: Preview porblem in OpenKM 5.0
PostPosted:Thu Dec 23, 2010 6:31 am
by ibrahim
Hi,
Am asking about the issue in OpenKM demo. In the demo itself the preview is not showing properly.
Re: Preview porblem in OpenKM 5.0
PostPosted:Thu Dec 23, 2010 7:06 am
by jllort
In demo we've got older open office installed, and some newer docx can not be previewed by that older version. It's a problem on our installation we know, but due OS version etc... we've not upgraded no newer open office version.
Re: Preview porblem in OpenKM 5.0
PostPosted:Thu Dec 23, 2010 3:40 pm
by nightskull
Hi, I have run a version of Debian 5 on OpenKM RC1. Here, all files are displayed in the preview. *.docx, *.txt Files go.
docs:
txt:
After reinstalling version 5.0, the files are no longer shown.
It does this error message:
In my opinion, the error must lie in the new version 5.0 because I found the paths of jboss-4.2.3.GA just rename.
path von /opt in Debian5:
regards
Michael
Re: Preview porblem in OpenKM 5.0
PostPosted:Fri Dec 24, 2010 11:10 pm
by jllort
it's a change on OpenKM.cfg parameter, now parameters to openoffice are
Code: Select allsystem.openoffice.path=/usr/lib/openoffice
system.openoffice.tasks=5
system.openoffice.port=2222
Re: Preview porblem in OpenKM 5.0
PostPosted:Mon Jan 03, 2011 3:32 am
by stevenong_2006
Hi,
I have the same problem, and later I found out what wrong...
1. Here is the way I set the 'system.openoffice.path' in the 'OpenKM.cfg' previously:
system.openoffice.path="C:/bin/OpenOffice.org 3"
system.openoffice.tasks=5
system.openoffice.port=2222
...
I found out (by the hard way) that the EJB which calling openoffice to do the doc2pdf conversion didn't take the double quotes too well so I removed the quotes, i.e.,
system.openoffice.path=C:/bin/OpenOffice.org 3
2. Since I have firewall, I just open port 2222 (I don't know if it is necessary, I still need to test what will happen if I close the port)
Hope this will help.
Steven
Re: Preview porblem in OpenKM 5.0
PostPosted:Tue Jan 04, 2011 7:14 pm
by pavila
Port 2222 should be accesible from localhost. Firewalls usually prevent conextions from other machines, not from localhost. You can try a telnet localhost 2222 to see if connects.
We are working on some improvements in document conversion. You can download a nightbuild of the next OpenKM 5.0.1 release at
http://integration.openkm.com/5.0/OpenKM.war. I recommend to use in a fresh installation because is not production ready. Tell us if the document conversion works better in this build.