6.0.0-git
2019-04-24

[#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 2004-12-23 (5235 days ago)
Due
Updated 2005-02-03 (5193 days ago)
Assigned 2005-01-14 (5213 days ago)
Resolved 2005-02-03 (5193 days ago)
Milestone
Patch No

History
2005-02-03 20:30:21 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.
2005-02-01 20:03:14 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).
2005-01-20 23:24:41 Jan Schneider Comment #18 Reply to this comment
I don't think so, because I tested it with IMP 3 and it worked fine.
2005-01-20 19:51:05 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.
2005-01-20 19:08:09 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?
2005-01-19 16:54:58 Chuck Hagenbuch Comment #15
State ⇒ Stalled
Reply to this comment
I'm not sure what else we can do on this one.
2005-01-15 04:52:02 Chuck Hagenbuch Comment #14 Reply to this comment
it works fine for me.
2005-01-14 13:57:00 Jan Schneider Comment #13 Reply to this comment
This question was to the other developers.
2005-01-14 13:52:33 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
2005-01-14 13:39:25 Jan Schneider Comment #11
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Reply to this comment
Does this message work for everybody else?
2005-01-14 13:38:54 Jan Schneider Comment #10
Version ⇒ 3.2.7
Reply to this comment
Then I don't know what else to tell you.
2005-01-14 13:33:52 Frank (dot) Swasey (at) uvm (dot) edu Comment #9 Reply to this comment
I'm told we updated Horde to 2.2.7
2005-01-14 13:02:12 Jan Schneider Comment #8 Reply to this comment
Did you also update to the latest Horde 2 version?
2005-01-14 12:16:45 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?
2005-01-12 16:36:36 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.
2005-01-12 16:17:11 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.
2005-01-12 15:47:56 Jan Schneider Comment #4 Reply to this comment
I didn't mean the PDF file, I was talking about the *message source*.
2005-01-12 15:35:55 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...
2005-01-11 23:39:14 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Can you upload the message source of such a message?
2004-12-23 11:20:24 Frank (dot) Swasey (at) uvm (dot) edu Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ Ariel generated PDF files do not display
Queue ⇒ IMP
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