<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fredrik Lundh wrote:
<blockquote cite="mideks2vq$l16$1@sea.gmane.org" type="cite">
<pre wrap="">Fredrik Lundh wrote:
</pre>
<blockquote type="cite">
<pre wrap="">can you try changing the except clause around line 153 from
</pre>
</blockquote>
<pre wrap=""><!---->
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 - <a class="moz-txt-link-abbreviated" href="mailto:Image-SIG@python.org">Image-SIG@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/image-sig">http://mail.python.org/mailman/listinfo/image-sig</a>
</pre>
</blockquote>
Hi Fredrik,<br>
<br>
I'd like to confirm that the patch does indeed work, and I can access
and read the data as expected.<br>
<br>
Thanks and best regards,<br>
<br>
Cameron.
</body>
</html>