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

Thread: HTML Attachment Translation

  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
    Dec 2005
    Posts
    53
    Rep Power
    10

    Default Availability of original attachment?

    If you check "translate attachments for viewing", is there any way to retrieve and save the original attachment? We would like to allow people to view the attachments in Zimbra using html, but then save the actual document. A spreadsheet is much less functional as html.

    Somewhat related, if you do not check "translate attachments for viewing", are the attachments still indexed? Thanks.

    Richard

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

    Default

    Quote Originally Posted by Richard
    If you check "translate attachments for viewing", is there any way to retrieve and save the original attachment? We would like to allow people to view the attachments in Zimbra using html, but then save the actual document. A spreadsheet is much less functional as html.

    Somewhat related, if you do not check "translate attachments for viewing", are the attachments still indexed? Thanks.

    Richard
    Currently we don't expose the original (although it should still be saved). Seems like we need an additional choice here. Since one use case covered by the original design is to prevent raw attachments from getting to end users.

    Yes the attachments are indexed in all cases.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    10

    Default

    We are planning on adding the ability to view attachments in HTML in the default case. i.e., you could download a word doc or view it as HTML (as long as the admin hasn't turned on view all attachments in HTML).

  10. #10
    Join Date
    Dec 2005
    Posts
    53
    Rep Power
    10

    Default

    Quote Originally Posted by schemers
    We are planning on adding the ability to view attachments in HTML in the default case. i.e., you could download a word doc or view it as HTML (as long as the admin hasn't turned on view all attachments in HTML).
    Thanks. That would be precisely what we were looking for.

    Richard

Similar Threads

  1. Turning off attachment html conversion
    By neilmc in forum Administrators
    Replies: 4
    Last Post: 05-24-2007, 10:19 AM
  2. Tomcat error opening html email attachment
    By psalm121 in forum Administrators
    Replies: 6
    Last Post: 10-09-2006, 04:40 AM
  3. Zimbra 4 - Japanese translation
    By CJ.deb in forum I18N/L10N - Translations
    Replies: 1
    Last Post: 09-05-2006, 04:23 PM
  4. Replies: 4
    Last Post: 08-07-2006, 01: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
  •