Page 2 of 2
Re: Preview not working for all File formats
PostPosted:Sun Oct 02, 2011 11:35 am
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.
Re: Preview not working for all File formats
PostPosted:Sun Oct 02, 2011 5:24 pm
by pavila
Can you post a link to a video to test? Flash previewer should work for FLV and MP4 videos.
Re: Preview not working for all File formats
PostPosted:Thu Oct 13, 2011 1:17 pm
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
Re: Preview not working for all File formats
PostPosted:Sat Oct 15, 2011 7:58 am
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
Re: Preview not working for all File formats
PostPosted:Sat Oct 15, 2011 6:21 pm
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 ).
Re: Preview not working for all File formats
PostPosted:Mon Oct 24, 2011 12:13 pm
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
Re: Preview not working for all File formats
PostPosted:Mon Oct 24, 2011 5:41 pm
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
Re: Preview not working for all File formats
PostPosted:Mon Oct 31, 2011 11:58 am
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
Re: Preview not working for all File formats
PostPosted:Fri Nov 04, 2011 10:27 pm
by chlw
Hi all
Had a hard time to get it to work on my Windows Machine
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.
_
Re: Preview not working for all File formats
PostPosted:Sun Nov 06, 2011 8:31 am
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.
Re: Preview not working for all File formats
PostPosted:Wed Nov 16, 2011 4:21 am
by sathyamoorthyj
chlw wrote:Hi all
Had a hard time to get it to work on my Windows Machine
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 !!! 
Hope this is useful for Window 2003 users.
Regards
JS