[reportlab-users] Re: pdf's corrupted when emailed, possible solution included

Matej Pivoluska reportlab-users@reportlab.com
Fri, 23 Apr 2004 09:02:17 +0200

I encountered similar problem (one year ago) with pdf file corruption. When=
used Reportlab with WxPython, the end of file was incomplete (seems like so=
buffer wasn't writen complete to file.) The file was smaller abot 4-8=20
bytes(?) than generated the same way, when WxPython wasn't used.


D=F2a Piatok 23 Apr=EDl 2004 08:06 Remy C. Cool nap=EDsal(a):
> On Thursday 22 April 2004 18:21, Andy Robinson wrote:
> > > i have the same problem. we generate our pdf on the server with
> > > reportlab and send it *immediatly* to the customer. but there are
> > > always some customers who complains that the pdf is corrupted!
> >
> > The only idea I can suggest here is to generate a zip
> > file with a PDF inside it - Python can do this easily.
> >
> > I've been emailing MIME attachments with PDFs from Outlook
> > for years and never heard of a problem.  If people can
> > prove certain mail transfer packages corrupt PDFs, it
> > would be good to know that...
> Sending pdf's (generated with ReportLab) from kMail (KDE) gave me
> corruption problems on several occasions. Because I had little time
> to investigate, the PDF's had to get to the publishers' before the
> dead-line, I have no clue as to why this corruption occured.
> I will do some testing with kMail and outlook when we enter the test
> phase of integrating a PDF generator with our CRM application.
> Remy
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users