PIL decoder error -2?

Erik Max Francis max at alcyone.com
Tue Aug 14 17:53:57 EDT 2001


I am now getting decoder error -2 whenever I try to load an image in
PIL, regardless of the format or image.  I'm very sure this wasn't
happening before, but honestly can't fathom what has changed.  Here's
the relevant stack trace:

  File "/usr/local/lib/python2.0/site-packages/PIL/Image.py", line 634,
in resize
    self.load()
  File "/usr/local/lib/python2.0/site-packages/PIL/ImageFile.py", line
161, in load
    raise IOError, "decoder error %d when reading image file" % e
IOError: decoder error -2 when reading image file

Any ideas?

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Who, my friend, can scale Heaven?
\__/ _The Epic of Gilgamesh_
    Product's Quake III Arena Tips / http://www.bosskey.net/
 Tips and tricks from the absolute beginner to the Arena Master.



More information about the Python-list mailing list