[Image-SIG] Re: PIL 1.1.4

Fredrik Lundh fredrik at pythonware.com
Sun Dec 12 20:06:18 CET 2004


Alexey Melchakov wrote:

> I meet this exception while wew using PIL:

> "/home/bragit-www/local/lib/python2.3/site-packages/PIL/OleFileIO.py", line 279, in open
>     self.loadfat(header)
>   File "/home/bragit-www/local/lib/python2.3/site-packages/PIL/OleFileIO.py", line 298, in loadfat
>     if ix == 0xFFFFFFFEL or x == 0xFFFFFFFFL:
> NameError: global name 'x' is not defined

it's a known bug (it has been fixed in 1.1.5), and the fix looks exactly
like your suggestion.

    http://effbot.org/zone/pil-errata-114.htm#pil132

thanks /F 





More information about the Image-SIG mailing list