[reportlab-users] bugs

Robin Becker reportlab-users@reportlab.com
Thu, 5 Feb 2004 18:30:30 +0000


In article <40227E87.1090205@innuendo.de>, Ulrich Schreiner
<ulrich.schreiner@innuendo.de> writes

Thanks for the patches I've added them into the CVS tree.

I don't see why you can't use PIL?
Can you not import PIL directly using Python to see if there's something
wrong?

>hi,
>
>i upgraded to version 1.19 and now i cannot use PIL and images any more. 
>i have to patch "pdfgen/pdfimages.py" and add "import sys"
>
>otherwise you get:
>...\reportlab\pdfgen\pdfimages.py", line 137, in getImageData
>    if sys.platform[0:4] == 'java':
>NameError: global name 'sys' is not defined
>
>another bug: when using the "<u>" tag in a paragraph, you get an error. 
>change the line 342 in paragraph.py
>
>from
>
>    text = join(tx.lines[i][1])
>to
>    text = join(tx.XtraState.lines[i][1])
>
>
>perhaps someone could patch the library sources ...
>
>cu
></usc>
>
>_______________________________________________
>reportlab-users mailing list
>reportlab-users@reportlab.com
>http://two.pairlist.net/mailman/listinfo/reportlab-users
>

-- 
Robin Becker