Fredrik Lundh wrote:
> can you try changing the except clause around line 153 from
here's an "official" patch:
Index: PIL/ImageFile.py
===================================================================
--- PIL/ImageFile.py (revision 2929)
+++ PIL/ImageFile.py (working copy)
@@ -149,7 +149,7 @@
self.map, self.size, d, e, o, a
)
readonly = 1
- except (AttributeError, IOError, ImportError):
+ except (AttributeError, EnvironmentError, ImportError):
self.map = None
self.load_prepare()
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig