Page 1 of 1

text/plain preview problem

PostPosted:Fri May 02, 2014 1:32 am
by aramesh
I know this has been discussed before but those threads have not helped me\
I am running OpenKM 6.2.5 build 8109

As suggested in the other threads
I have made changes to the configurations as follows
system.openoffice.path [C:\Program Files\LibreOffice 4\
system.openoffice.port 2002
system.openoffice.tasks 200
system.pdf.force.ocr Inactive
system.swftools.pdf2swf C:\Program Files\SWFTools\pdf2swf.exe -T 9 -f ${fileIn} -o ${fileOut}

and I am getting the following errors

Thanks in advance.
:|
Code: Select all
014-05-01 21:15:04,122 [http-bio-0.0.0.0-8080-exec-6] ERROR com.openkm.servlet.frontend.ConverterServlet - Error in text/plain to P
DF conversion
com.openkm.core.ConversionException: Error in text/plain to PDF conversion
        at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:248)
        at com.openkm.servlet.frontend.ConverterServlet.toPDF(ConverterServlet.java:221)
        at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:273)
        at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:144)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

Re: text/plain preview problem

PostPosted:Fri May 02, 2014 2:22 am
by omnicron
Is openoffice running? I dont use the windows for openkm but 6.2.5 in linux will run openoffice as a service that I can see in the task lists and see listening on the correct port. I would check for that first. Does it only do it for .txt and not .doc or other similar files? Do .pdf view properly?

Re: text/plain preview problem

PostPosted:Sat May 03, 2014 4:18 pm
by jllort
The error is clear, can not convert documento to pdf
Code: Select all
com.openkm.core.ConversionException: Error in text/plain to PDF conversion
at com.openkm.util.DocConverter.doc2pdf
As says omnicron you've not well configured soffice service, take a look here http://wiki.openkm.com/index.php/Previsualization