Error In Application Vnd Oasis Opendocument Text To Pdf Conversion
running it is time now for configuring the preview stuff. For preview of different types of documents (PDF, images, office documents) we need different tools. PDF preview For the PDF preview we need some prerequisites sudo apt-get install zlib1g-dev libjpeg-dev libfreetype6-dev libgif-dev Afterwards we need to build a new version of pdf2swf from source: wget http://www.swftools.org/swftools-0.9.2.tar.gz
tar -xvzf swftools-0.9.2.tar.gz
cd swftools-0.9.2
./configure
make
make install After installing the swftools we need to configure OpenKM to use the just built version. For this we set the config parameter system.swftools.pdf2swf to the just installed version of pdf2swf (the one delivered with OpenKM does not work on the ODROID) For the preview of PDFs that should be all what is necessary. Preview of images This is the most easy part of the previews. For this we just need to install imagemagick apt-get install imagemagick and configure the system.imagemagick.convert parameter to the correct path Image previews should work now. Preview of office dcocuments After the first two easy parts the hardest part is still remaining. For preview of office documents to work we need… … office So just install it by doing a apt-get install libreoffice If it was that easy it would be nice. But it is not… Took me some time to figure out why it is not working but finally I found a solution. Via the catalina.log I found out that the OfficeManager was stopped. There were logentries like the following for every try: 2015-07-21 10:19:30,815 [http-bio-0.0.0.0-8080-exec-7] ERROR com.openkm.servlet.frontend.DocumentServlet- 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:330)
at com.openkm.servlet.frontend.DocumentServlet.convertToPdf(DocumentServlet.java:941)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.user.server.rpc.RP
You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places > Alfresco ECM > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 2 Replies Latest reply on May 9, 2014 6:52 PM by mxc Transformer from ODT (open doucment format) to PDF Error mxc Apr 27, 2014 12:54 PM Hi https://cameacross.wordpress.com/2015/12/03/configuring-preview-in-openkm/ all,When I try and convert form an odt file to pdf using the API
ContentWriter writer = contentService.getTempWriter();
ContentTransformer transformer = contentService.getTransformer(reader.getMimetype(), MimetypeMap.MIMETYPE_PDF);
….
transformer.transform(reader, writer);
I get this error. limits:
claimed mime type: application/vnd.oasis.opendocument.text
detected mime type: application/zipI know odt is just a zip file but its https://community.alfresco.com/thread/208250-transformer-from-odt-open-doucment-format-to-pdf-error mimetype should be part of the ziped info. Looks like the transformer is auto-detecting the mimetype incorrectly. Anyone else had this problem? 28Views Categories: Customization Tags: none (add) repositoryContent tagged with repository, repository servicesContent tagged with repository services This content has been marked as final. Show 2 replies Re: Transformer from ODT (open doucment format) to PDF Error kaynezhang Apr 28, 2014 4:04 AM (in response to mxc) Alfresco will try to use the transformer that is capable of transforming the content in your specified source mimetype(application/vnd.oasis.opendocument.text) to the your specified target mimetype(MimetypeMap.MIMETYPE_PD).If any exception is thrown during transforming process using the transformer,alfresco will use Tika to detect the document.If the mimetype detected by tika is not the same as your reader.getMimetype(),it will report something like
claimed mime type: ****
detected mime type: ****
So please check the following two things:1.Why the transformation using
information on the ODT and PDF file extensions. Step 1Select files or URL to convert(up to 50MB - want more ?) Choose Files... or drag and drop http://www.zamzar.com/convert/odt-to-pdf/ files Step 2Choose the format to convert to:Step 3Enter your email address to receive http://forum.thecus.com/archive/index.php?thread-5559-2.html converted files: Step 4Convert your file now (agree to our Terms ?)Drop your files here File extension.odt CategoryDocument File DescriptionOpen Office of which ODT is part of was developed by Sun Microsystems around twenty years ago. The software is open source and is seen as a viable free alternative to Microsoft's Office suite of products. error in Open Office opens most Microsoft document formats and is is provided as a free download, without restrictions on license. The writer application which produces ODT files is the word processing element of Open Office. Actions ODT to PDF - Convert file nowView other document file formats Technical DetailsThe Open Document Format is an open standard developed by Sun Microsystems under the guidance of OASIS (The Organization for the Advancement error in application of Structured Information Standards). Originally the OpenDocument format was XML based and had at it's root, it now takes the form of a zip file much like Microsoft's DOCX format and takes advantage of the ZIP's compression technology to reduce the overall file size. Writer documents take the form of .odt and .fodt. Associated programs Microsoft Office 2007Microsoft Office 2010OpenOffice Writer Developed by Sun Microsystems MIME type application/vnd.oasis.opendocument.textapplication/x-vnd.oasis.opendocument.text Useful links Convert ODT file Convert ODT file Using Zamzar it is possible to convert ODT files to a variety of other formats:odt to doc (Microsoft Word Document)odt to html (Hypertext Markup Language)odt to html4 (Hypertext Markup Language)odt to html5 (Hypertext Markup Language)odt to mp3 (Compressed audio file)odt to pdf (Portable Document Format)odt to png (Portable Network Graphic)odt to ps (PostScript)odt to txt (Text Document)ODT to PDF - Convert file now English | Français | Español | Italiano | Pyccĸий | Deutsch File extension.pdf CategoryDocument File DescriptionPDF is a file format developed by Adobe Systems for representing documents in a manner that is separate from the original operating system, application or hardware from where it was originally created. A PDF file can be any length, contain any number of fonts and images and is design
our content. View the full version with proper formatting. Pages: 1 2 3 angelus196906-28-2013, 01:08 AM Hello, Qoolbox Wrote:updated to 6.2.4 Will try it later today....... Tried it. It will install and start correctly now. But when I try to preview a document (PDF) the program generates to following error: "Conversion: IO exception executing command:" It doesn't say which command. Of course, no preview is shown...... [Edit] I guess the problem lies with the component called 'flexpaper'. Since this is responsible for document viewing. Regards, Angelo angelus196906-28-2013, 01:43 AM Tried with an ODT file. The error while trying to open a preview is now: "Conversion: Error in application/vnd.oasis.opendocument.text to PDF conversion" Regards, Angelo angelus196906-28-2013, 01:43 AM Tried with an ODT file. The error while trying to open a preview is now: "Conversion: Error in application/vnd.oasis.opendocument.text to PDF conversion" Regards, Angelo Guardian10-23-2014, 11:53 PM Tried to install module with OracleJRE7 installed. No luck. Can I have installed both JRE6 and JRE7 simultaneously? Guardian10-23-2014, 11:53 PM Tried to install module with OracleJRE7 installed. No luck. Can I have installed both JRE6 and JRE7 simultaneously? Qoolbox10-24-2014, 12:45 AM yes both can work side by side Qoolbox10-24-2014, 12:45 AM yes both can work side by side Qoolbox10-26-2014, 09:02 PM Updated to last version Pro and CE version both available (x64) no dependencies, openJDK7 embedded Have Fun, Qoolbox10-26-2014, 09:02 PM Updated to last version Pro and CE version both available (x64) no dependencies, openJDK7 embedded Have Fun, Qoolbox10-26-2014, 10:02 PM x86 version added Pages: 1 2 3 I Love Thecus > Modules > Third party modules > [ OpenKM PRO/CE] [ 6.4.14] Document Management System Powered By MyBB, © 2002-2016 MyBB Group