Hi,
i am using openkm 5.1.9, successfully integrated with active directory under linyx.
now im trying to preview file but unfotuntly i am strugguling :S
i can only preview PDF file , not not , .doc or imgage o .opt
i installed imagemagick
my configuration file is

i am using openkm 5.1.9, successfully integrated with active directory under linyx.
now im trying to preview file but unfotuntly i am strugguling :S
i can only preview PDF file , not not , .doc or imgage o .opt
i installed imagemagick
Code: Select all
also openoffice with this command line $ sudo apt-get install openoffice.org but it gives me this error
user@OpenKM:~$ convert
Version: ImageMagick 6.6.0-4 2012-04-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP Code: Select all
i installed ghostscript
user@OpenKM:~$ libreoffice
Failed to open displayCode: Select all
i found pdf2swf in /bin but couldn't really locate where are convert , ghostscritp and openoffice !!!basim@OpenKM:~$ ghostscript
GPL Ghostscript 9.04 (2011-08-05)
Copyright (C) 2011 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>
my configuration file is
Code: Select all
im really confused here any help please system.dwg2dxf String
system.ghostscript.ps2pdf String /home/user/openkm/jboss-4.2.3.GA/bin/ps2pdf
system.imagemagick.convert String /home/user/openkm/jboss-4.2.3.GA/bin/convert
system.openoffice.dictionary String
system.openoffice.path String /home/basim/.libreoffice/
system.openoffice.port Integer 2222
system.openoffice.server String
system.openoffice.tasks Integer 5
system.pdf.force.ocr Boolean Inactive
system.previewer String zviewer
system.readonly Boolean Inactive
system.swftools.pdf2swf String /home/basim/openkm/jboss-4.2.3.GA/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}
system.webdav.fix Boolean Inactive
system.webdav.server Boolean Inactive[code]
in this is the error fron the log
[code]ERROR [ConverterServlet] Error in application/vnd.oasis.opendocument.text to PDF conversion
com.openkm.core.ConversionException: Error in application/vnd.oasis.opendocument.text to PDF conversion
at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:311)
at com.openkm.servlet.frontend.ConverterServlet.toPDF(ConverterServlet.java:188)
at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:225)
at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:75)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:66)
at com.openkm.util.DocConverter.convert(DocConverter.java:251)
at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:308)
