[Image-SIG] bug in python imaging 1.15

Kilz _ kilzzz at hotmail.com
Thu Apr 20 22:24:34 CEST 2006


Hi
I foound a bug in python imaging 1.15 and would like to pass the info along
The program Comix, a .cbr-.cbz  file reader uses python imaging. 
python-imaging 1.15 causes Comix to crash. I use SuSE and found the bug 
while testing SuSE 10.1 RC1. Novell sugested reporting the info to 
python-imaging. Here is a link to the report I filed with them.
https://bugzilla.novell.com/show_bug.cgi?id=167513

Traceback (most recent call last):
  File "/usr/local/bin/comix", line 9635, in ?
    Comix()
  File "/usr/local/bin/comix", line 9359, in __init__
    self.load_file(path, -2)
  File "/usr/local/bin/comix", line 7627, in load_file
    self.load_thumbnails()
  File "/usr/local/bin/comix", line 7071, in load_thumbnails
    draw.text((0, 0), str(i+1), fill=(255,255,255), font=None)
  File "/usr/lib64/python2.4/site-packages/PIL/ImageDraw.py", line 257, in 
text
    font = self.getfont()
  File "/usr/lib64/python2.4/site-packages/PIL/ImageDraw.py", line 130, in
getfont
    self.font = ImageFont.load_default()
  File "/usr/lib64/python2.4/site-packages/PIL/ImageFont.py", line 337, in
load_default
    ''')), Image.open(StringIO(base64.decodestring('''
  File "/usr/lib64/python2.4/site-packages/PIL/ImageFont.py", line 103, in
_load_pilfont_data
    image.load()
  File "/usr/lib64/python2.4/site-packages/PIL/ImageFile.py", line 180, in 
load
    d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
  File "/usr/lib64/python2.4/site-packages/PIL/Image.py", line 328, in
_getdecoder
    raise IOError("decoder %s not available" % decoder_name)


IOError: decoder zip not available

Hope this helps.
Sam

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



More information about the Image-SIG mailing list