title: Python PIL, Image. Error after image.load()
body: <p>I'm trying to load my .jpg file and it raises error, but if I try it again, it's ok! Why??</p>
  
  <p>My code and error:</p>
  
  <pre><code>&gt;&gt;&gt; import Image
  &gt;&gt;&gt; im1 = Image.open('/tmp/test.jpg')
  &gt;&gt;&gt; im1.load()
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib64/python2.7/site-packages/PIL/ImageFile.py", line 201, in load
  raise IOError("image file is truncated (%d bytes not processed)" % len(b))
  IOError: image file is truncated (0 bytes not processed)
  &gt;&gt;&gt; im1.load()
  &lt;PixelAccess object at 0x7feffc2a1170&gt;
  &gt;&gt;&gt;
  </code></pre>
  
  <p>Thank you!</p>