6.0.0-beta1
11/8/25

[#1011] Ariel generated PDF files do not display
Summary Ariel generated PDF files do not display
Queue IMP
Queue Version 3.2.7
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester Frank.Swasey (at) uvm (dot) edu
Created 12/23/2004 (7625 days ago)
Due
Updated 02/03/2005 (7583 days ago)
Assigned 01/14/2005 (7603 days ago)
Resolved 02/03/2005 (7583 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/03/2005 08:30:21 PM Chuck Hagenbuch Comment #20
State ⇒ Resolved
Reply to this comment
I'm going to close this for now. Michael's theory is as close as I 
think we're going to get.
02/01/2005 08:03:14 PM Michael Slusarz Comment #19 Reply to this comment
I remember that I once had a PHP/c-client combination that had a 
broken quoted-printable decoding function (imap_qprint).  Decoding a 
q-p file using imap_qprint() vs. a PHP based solution resulted in two 
different outputs.  Upgrading PHP and/or c-client fixed it for me.



In Horde 3.0, the QP decoding is done by PHP code so that could be why 
noone using 3.0 is seeing this problem (and explains why this works 
for some in 2.x but not others).
01/20/2005 11:24:41 PM Jan Schneider Comment #18 Reply to this comment
I don't think so, because I tested it with IMP 3 and it worked fine.
01/20/2005 07:51:05 PM Chuck Hagenbuch Comment #17 Reply to this comment
It is possible that this is something that IMP 3 simply doesn't handle 
well and that IMP 4 does. The MIME code is much improved and pretty 
much rewritten for Horde 3/IMP 4. I'd recommend trying it.
01/20/2005 07:08:09 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #16 Reply to this comment
I have just realized what is happening.



The PDF document was attached with the following headers:



Content-Type: application/pdf

Content-Disposition: attachment; filename=DOCUMENT.PDF

Content-Transfer-Encoding: quoted-printable



and when it is downloaded, the quoted-printable encoding is not being 
converted back into a binary file.  If the document is saved from a 
mail client other than imp, it is converted back into a binary file 
from the quoted-printable format.  If the file is mailed with an 
encoding of base64, it is properly converted back to a binary file 
when it is downloaded from imp.



Have we configured something wrong and your test imp is doing the 
translation from quoted-printable back to a binary stream when the 
file is downloaded?
01/19/2005 04:54:58 PM Chuck Hagenbuch Comment #15
State ⇒ Stalled
Reply to this comment
I'm not sure what else we can do on this one.
01/15/2005 04:52:02 AM Chuck Hagenbuch Comment #14 Reply to this comment
it works fine for me.
01/14/2005 01:57:00 PM Jan Schneider Comment #13 Reply to this comment
This question was to the other developers.
01/14/2005 01:52:33 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #12 Reply to this comment
No, I'm dealing with an issue in our UVM footprints system that 
everyone who is receiving these messages from the Ariel system in our 
College of Medicine is unable to read them via our Horde/Imp 
installation.



So far the consistency of the report is that people using desktop imap 
clients are able to view the PDF file, but people who are using 
Horde/Imp (our installation at webmail.uvm.edu) are unable to view the 
PDF file because it gets translated when it is downloaded -- the OS 
and browser do not seem to matter.



Frank
01/14/2005 01:39:25 PM Jan Schneider Comment #11
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Reply to this comment
Does this message work for everybody else?
01/14/2005 01:38:54 PM Jan Schneider Comment #10
Version ⇒ 3.2.7
Reply to this comment
Then I don't know what else to tell you.
01/14/2005 01:33:52 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #9 Reply to this comment
I'm told we updated Horde to 2.2.7
01/14/2005 01:02:12 PM Jan Schneider Comment #8 Reply to this comment
Did you also update to the latest Horde 2 version?
01/14/2005 12:16:45 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #7 Reply to this comment
Ouch.  We have patched our version of IMP to 3.2.7.  However, I'm 
still unable to view this file (in  the original message) using 
Firefox 1.0.  Is there something I need to check in my mime settings?   
Is there something that was changed that would not have been included 
in the patch deck to get from 3.2.5 to 3.2.7?
01/12/2005 04:36:36 PM Jan Schneider Comment #6 Reply to this comment
I can view and download this PDF fine with both the latest IMP3 and 
IMP4 versions and Firefox.
01/12/2005 04:17:11 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #5
New Attachment: Ariel_message_text.eml Download
Reply to this comment
Oops... Sorry about that.  Sure, I can do that too.  Here it is.
01/12/2005 03:47:56 PM Jan Schneider Comment #4 Reply to this comment
I didn't mean the PDF file, I was talking about the *message source*.
01/12/2005 03:35:55 PM Frank (dot) Swasey (at) uvm (dot) edu Comment #3
New Attachment: DOCUMENT.PDF Download
Reply to this comment
Sure... Here's one of the files generated by Ariel.



The strange thing I found this morning is that saving the file (out of 
the original message) with Thunderbird and then creating a new message 
and attaching that file in Thunderbird, that the new message will 
properly display the PDF file from webmail...  I thought that was 
broken as well before, but I can't find any proof I tested it.



So, I'm not sure this how to test this anymore...
01/11/2005 11:39:14 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Can you upload the message source of such a message?
12/23/2004 11:20:24 AM Frank (dot) Swasey (at) uvm (dot) edu Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ Ariel generated PDF files do not display
Type ⇒ Bug
Reply to this comment
One of our major colleges has installed the Ariel program from 
Infotrieve.com to generate PDF documents.  The problem is that these 
PDF documents are damaged when they are viewed or downloaded from the 
IMP interface because they are being translated into a mime printable 
format (hex 0D is replaced by the ascii string =0D, etc).  PDF files 
generated by Openoffice are displayed just fine.



Using a standard mail client program (such as Thunderbird), one is 
able to view and save the PDF files without this translation happening 
to the Ariel generated files.



IMP shows the pdf.gif for both types of PDF files, but the download 
process seems to be very different.  This has been tested with Firefox 
on Fedora Core 3, MacOS X 10.3.7, Windows XP/SP2, also with Mozilla 
1.7 on RedHat 9 and IE on Windows XP.  And it always translates the 
Ariel generated PDF into a "damaged file" according to acrobat, xpdf, 
ggv, and MacOS X's preview.



Has anyone figured out how to provide support for the files Ariel is 
generating or is a newer version of IMP needed?



Thanks

Saved Queries