Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: HTML Attachment Translation

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default HTML Attachment Translation

    I set Zimbra to translate attachments to HTML for viewing, and am now recieving this error:

    Error occurred during document conversion

    * Reason: com.zimbra.cs.convert.ConversionException: Conversion error


    when attempting to open a PDF file.

    Is the feature not intended for use yet?

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    It is ready and should work(I assume your using the Network version, since this is not a feature in the OSS version). There should be a convertd.log file that may have more info. Do you see anything in there?

  3. #3
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default

    Code:
    2005-11-21 17:43:00,591 DEBUG [Convertd-1] [] TransformationHandler - filename= att971392.jpg
    2005-11-21 17:43:00,601 WARN  [Convertd-1] [] VerityEngine - Verity filter error
    com.verity.api.filter.FilterException: Error loading shared library kvfilter.
            at com.verity.api.filter.Filter.getStreamDocFormatInfo(Native Method)
            at com.verity.api.filter.Filter.getDocFormatInfo(Unknown Source)
            at com.zimbra.cs.convertd.VerityEngine.extract(VerityEngine.java:233)
            at com.zimbra.cs.convertd.TransformationHandler.doTextExtraction(TransformationHandler.java:194)
            at com.zimbra.cs.convertd.TransformationHandler.processCommand(TransformationHandler.java:102)
            at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:230)
            at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:197)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:595)
    2005-11-21 17:43:00,603 DEBUG [Convertd-1] [] VerityEngine - deleted /opt/zimbra/convertd/inprocessing/8lylREPq27qMS+tlFxawJ7S0c6c=_3
    2005-11-21 17:43:00,607 DEBUG [Convertd-1] [] TransformationHandler - processing command (x) from client at remote port 38961
    2005-11-21 17:43:00,608 DEBUG [Convertd-1] [] TransformationHandler - filename= att971393.gif
    2005-11-21 17:43:00,608 INFO  [Convertd-1] [] VerityEngine - filtering document out-of-process: 8lylREPq27qMS+tlFxawJ7S0c6c=_4
    2005-11-21 17:43:16,378 INFO  [main] [] TransformationServer/7047 - Convertd is ready

    and

    Code:
    2005-11-21 17:42:59,485 DEBUG [Convertd-2] [] TransformationHandler - processing command (x) from
    client at remote port 38957
    2005-11-21 17:42:59,497 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: ,Nr9ND9pZ8eBi9+hxpqJbpDquvI=_2
    2005-11-21 17:42:59,497 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: 74twdNPLBSuMRdq9bp1iesW7sRk=_2
    2005-11-21 17:42:59,497 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: o4o6R1bnMI4wtEJJWsaG8jdxeSI=_1.2
    2005-11-21 17:42:59,497 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: HNVTcrN3LybeyCRr4XLitjo2yvo=_1.2
    2005-11-21 17:42:59,497 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: wt8A83mg3wmat+pmHVmuemoj4zA=_2
    2005-11-21 17:42:59,498 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: 8lylREPq27qMS+tlFxawJ7S0c6c=_4
    2005-11-21 17:42:59,498 INFO  [Convertd-2] [] VerityEngine - found unfinished doc whose hash is: J3W3s,daLPr0x0njU3v1fnKtTFM=_2
    2005-11-21 17:42:59,502 DEBUG [Convertd-2] [] TransformationHandler - filename=
    2005-11-21 17:42:59,512 WARN  [Convertd-2] [] VerityEngine - Verity filter error
    com.verity.api.filter.FilterException: Error loading shared library kvfilter.
            at com.verity.api.filter.Filter.getStreamDocFormatInfo(Native Method)
            at com.verity.api.filter.Filter.getDocFormatInfo(Unknown Source)
            at com.zimbra.cs.convertd.VerityEngine.extract(VerityEngine.java:233)
            at com.zimbra.cs.convertd.TransformationHandler.doTextExtraction(TransformationHandler.java:194)
            at com.zimbra.cs.convertd.TransformationHandler.processCommand(TransformationHandler.java:102)
            at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:230)
            at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:197)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:595)

    several lines above that there are a bunch of lines like


    "Transformation Handler - Processing Command (^H) from client at remote port"

    over and over, with a different character (it looks like an escaped control code) in the parenthesis.

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Think some C++ libs are missing. Can you try installing these pkgs:

    compat-libstdc++-296
    compat-libstdc++-33

    You can use up2date

  5. #5
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default working

    Thanks, that solved the problem.


    the PDF conversion isn't "perfect" though; and it would be helpful to be able to still download the files. a context menu maybe?

    by not perfect, it seems that some font and style changes cause overlapping in the HTML.

  6. #6
    Join Date
    Sep 2005
    Posts
    1
    Rep Power
    10

    Default pdf rendering

    PDF rendering is performed by Verity software from our third party partner. We'll work with them to enhance it in their future releases.

  7. #7
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default Having trouble with convertd again.

    I'm getting the following classNotFoundException whenver i try to view an attachment:

    Code:
     MimeHandler - loadHandler caught exception
    java.lang.ClassNotFoundException: com.zimbra.cs.mime.handler.DefaultHandler
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at com.zimbra.cs.extension.ExtensionUtil.loadClass(ExtensionUtil.java:123)
            at com.zimbra.cs.mime.MimeHandler.loadHandler(MimeHandler.java:158)
            at com.zimbra.cs.mime.MimeHandler.getMimeHandler(MimeHandler.java:115)
            at com.zimbra.cs.service.ConversionServlet.sendbackConvertedDoc(ConversionServlet.java:210)
            at com.zimbra.cs.service.ConversionServlet.doGet(ConversionServlet.java:110)
            at com.zimbra.cs.extension.ExtensionDispatcherServlet.service(ExtensionDispatcherServlet.java:104)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:464)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
            at com.zimbra.cs.service.formatter.NativeFormatter.handleMessagePart(NativeFormatter.java:115)
            at com.zimbra.cs.service.formatter.NativeFormatter.handleMessage(NativeFormatter.java:86)
            at com.zimbra.cs.service.formatter.NativeFormatter.format(NativeFormatter.java:69)
            at com.zimbra.cs.service.UserServlet.doAuthGet(UserServlet.java:308)
            at com.zimbra.cs.service.UserServlet.doGet(UserServlet.java:231)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:152)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)
    thats got to be weird.. right?

  8. #8
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Did you make sure these are installed?

    http://www.zimbra.com/forums/showpos...40&postcount=4

    Also make sure convertd server is running.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default

    yeah, this is the same machine that was working before. I'm getting quite a bit of classdefnotfound exceptions, all on the cs.mime.defaulthandler and cs.mime.htmlhandler classes..

    cs.convertd.TransformationServer is running.

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default mime problems

    This is in the network version, I take it? Was this machine upgraded at any time?

    Can you tell me what's in /opt/zimbra/lib/ext?

    Can you do an ls -l of /opt/zimbra/openldap/etc/openldap/zimbra_mimehandlers.ldif?

Similar Threads

  1. Turning off attachment html conversion
    By neilmc in forum Administrators
    Replies: 4
    Last Post: 05-24-2007, 09:19 AM
  2. Tomcat error opening html email attachment
    By psalm121 in forum Administrators
    Replies: 6
    Last Post: 10-09-2006, 03:40 AM
  3. Zimbra 4 - Japanese translation
    By CJ.deb in forum I18N/L10N - Translations
    Replies: 1
    Last Post: 09-05-2006, 03:23 PM
  4. Replies: 4
    Last Post: 08-07-2006, 12:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •