[reportlab-users] Windows Reportlab Problem

Andy Robinson andy at reportlab.com
Thu Feb 10 02:37:42 EST 2005


> Hi,
>     I've encountered a problem generating PDF files on windows with
> reportlab..
>     It seems that reportlab sometimes generates PDF files that are invalid
> in some way.
>     Acrobat gives the following error:
>
>     "There was a problem opening this document.  The file is damaged and
> could not be repaired."
>

This happens when line endings in the file (sometimes some
parts) are wrong and the binary indexes are slightly out;
but I have not seen it for years and work on Windows
every day.  Can you describe which Acrobat Reader you
use and also show us a script and the output which does
it?

Also, are you using the _rl_accel extension module? Because
we and all our customers always use this, it's possible
we have failed to spot a problem in cases where it is not
used.

thanks,

Andy Robinson



More information about the reportlab-users mailing list