Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-2005, 01:27 PM
Special Member
 
Posts: 135
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?
Reply With Quote
  #2 (permalink)  
Old 11-21-2005, 02:48 PM
Zimbra Employee
 
Posts: 4,792
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?
Reply With Quote
  #3 (permalink)  
Old 11-21-2005, 02:52 PM
Special Member
 
Posts: 135
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.
Reply With Quote
  #4 (permalink)  
Old 11-21-2005, 11:30 PM
Zimbra Employee
 
Posts: 4,792
Default

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

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

You can use up2date
Reply With Quote
  #5 (permalink)  
Old 11-22-2005, 08:10 AM
Special Member
 
Posts: 135
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.
Reply With Quote
  #6 (permalink)  
Old 11-22-2005, 10:55 AM
Starter Member
 
Posts: 1
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.
Reply With Quote
  #7 (permalink)  
Old 12-22-2005, 12:42 PM
Senior Member
 
Posts: 53
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
Reply With Quote
  #8 (permalink)  
Old 12-22-2005, 02:31 PM
Zimbra Employee
 
Posts: 4,792
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 12-22-2005, 04:29 PM
Zimbra Employee
 
Posts: 228
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).
Reply With Quote
  #10 (permalink)  
Old 12-22-2005, 10:31 PM
Senior Member
 
Posts: 53
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.