• Preview not working for all File formats

  • 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.
 #12410  by jllort
 
You're trying to see a video ... which is the file name ... I think is a bug because video is previewed directly without converter option ... put here complete video name.
 #12563  by sathyamoorthyj
 
Hi

I also face the same problem that raths had described. I am using OpenKM 5.1.6 on Windows.
Unlike what raths had mentioned, I do not see a folder called 'other modules' (where Openoffice etc are available) in my installation under jboss folder.

Is it because of the version difference (or)

It is a folder that I should create to install the exe files (after downloading) necessary to preview the various file types such as doc, xls, ppt, pdf, etc.

Thank you in advance,
JS
 #12586  by raths
 
sathyamoorthyj wrote:Hi

I also face the same problem that raths had described. I am using OpenKM 5.1.6 on Windows.
Unlike what raths had mentioned, I do not see a folder called 'other modules' (where Openoffice etc are available) in my installation under jboss folder.
Hi Satyamoorthy

In my jboss folder i manually created othermodules folder and installed and essentila software in that folder and pointed it in Open KM.cfg file to that folder. . My preview is now working :)

Regards
Rathnavel
 #12599  by jllort
 
upgrade to build night at integration.openkm.com solves some problems on preview ( that will be the 5.1.8, actually is stable and solves some bugs on 5.1.7 but we've still decided to not release it ).
 #12698  by sathyamoorthyj
 
Thank you Rathnavel/ jllort.
I did install Openoffice, SWFtools, Imagemagick and made the necessary changes to the configuration through the Administration interface. Now I can preview image, pdf files - but not the MS office files doc,xls,etc.

I get an error "Document URL not provided or invalid" while trying to preview doc, xls files.

Please advise if I am missing something. I use OpenKM 5.1.6 Build 6935.

In case I should migrate to 5.1.7 in order to solve this problem what is the process I need to follow. I have a small repository in use currently.

Thanks in advance
Regards
JS
 #12708  by jllort
 
better if you upgrade to integration.openkm.com that's the latest stable version because this version - future 5.1.8 - solves some preview problems there're in 5.1.7
 #12768  by sathyamoorthyj
 
jllort wrote:better if you upgrade to integration.openkm.com that's the latest stable version because this version - future 5.1.8 - solves some preview problems there're in 5.1.7
Thank you jllort and raths for your assistance.

On Windows 7 after replacing ImageMagick 6.7.3-1Q16 dated 12 Oct 11 with 6.7.3-2 dated 01Nov 11 I could preview the doc and xls files

On Windows 2003 server R2 I had trouble previewind the image files (jpg, png...). installing the latest stable version of Imagemagick 6.7.3.3 seem to solve that problem.

Hope this helps.
regards
JS
 #12830  by chlw
 
Hi all

Had a hard time to get it to work on my Windows Machine :x

Here how I solved the problem:


It is important, that you choose also a directory in cache.home with a String that does NOT contain any white spaces.

So, you might choose
C:\\Progs\\some_path\\cache

and not
C:\\Program Files\\some_path\\cache

The cache directory must contain the sub-directories "swf", "pdf" and "dxf".


Same with the other programs (examples):
  • system.imagemagick.convert String C:\\Progs\\ImageMagick\\convert.exe
  • system.swftools.pdf2swf String C:\\Progs\\SWFTools\\pdf2swf.exe
  • system.openoffice.path String C:\\Progs\\OpenOffice3 (yes, I renamed that to have no spaces; for me it worked...)

Hope that helps some others with the setup.


_
 #12834  by jllort
 
In some cases, as you explain, spaces in windows paths could be a problem. You could try this other way to specify path c:/Program files/etc... I don't know if it solved the problem too. But as you said spaces in windows path - depending OS version - are a tedious problem.
 #12920  by sathyamoorthyj
 
chlw wrote:Hi all

Had a hard time to get it to work on my Windows Machine :x

Here how I solved the problem:


It is important, that you choose also a directory in cache.home with a String that does NOT contain any white spaces.

So, you might choose
C:\\Progs\\some_path\\cache

and not
C:\\Program Files\\some_path\\cache

The cache directory must contain the sub-directories "swf", "pdf" and "dxf".


Same with the other programs (examples):
  • system.imagemagick.convert String C:\\Progs\\ImageMagick\\convert.exe
  • system.swftools.pdf2swf String C:\\Progs\\SWFTools\\pdf2swf.exe
  • system.openoffice.path String C:\\Progs\\OpenOffice3 (yes, I renamed that to have no spaces; for me it worked...)

Hope that helps some others with the setup.


_
Hi chlw

Thank you so much for this valuable input. I had the same problem in converting .doc .xls files to pdf when I installed my OpenKM 5.1.6 on Windows 2003 R2 server.

The main reason was the space in the folder name "OpenOffice.org 3". I did the following:
  • 1. I changed the value for "system.openoffice.path" to E:\OpenKM\Data\jboss-4.2.3.GA\Addons\OpenOffice.org3 (no space before 3).
    2. Shut down the OpenKM.
    3. Then renamed the folder as OpenOffice.org3 by removing space.
    4. Restarted OpenKM.
    5. Preview of .doc, .xls worked !!! :D
Hope this is useful for Window 2003 users.

Regards
JS

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.