[Image-SIG] Question on PIL

Christian Klein chris@schwer.bewaff.net
Thu, 12 Jul 2001 09:55:35 +0200


Hello,

I have some problems with PIL.
I try to draw an ecard (quite like the amazon ecards, and no, I do NOT like ecards :),
but it does not work:

http://schwer.bewaff.net/pil/pil-bt.html shows a cgibt backtrace
http://schwer.bewaff.net/pil/ecard.py is the code.

My _imaging.so is linked to:
        libjpeg.so.62 => /mc/usr/lib/libjpeg.so.62 (0x40038000)
        libc.so.6 => /lib/libc.so.6 (0x40058000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

My Setup.in contains:

*shared*

_imaging  _imaging.c decode.c encode.c map.c display.c outline.c path.c \
        -IlibImaging libImaging/libImaging.a \
# *** IJG JPEG library (libjpeg) location
        -I/mc/usr/include -L/mc/usr/lib -ljpeg \
# *** ZLIB (libz) location
        -I/mc/usr/include -L/mc/usr/lib -lz

the exception is an:
IOError: decoder zip not available
      args = ('decoder zip not available',) 
      errno = None 
      filename = None 
      strerror = None   

regards,
chris