Public bug reported:

>>> from PIL import Image
>>> i = Image.open("/home/matthew/Pictures/IMG_0187.JPG")
>>> i._getexif()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/PIL/JpegImagePlugin.py", line 381, in 
_getexif
    for key, value in info.items():
  File "/usr/lib/python2.7/_abcoll.py", line 369, in items
    return [(key, self[key]) for key in self]
RuntimeError: dictionary changed size during iteration

On my system, the above python code worked until about a week or so ago,
now it results in a RuntimeError.

** Affects: python-imaging (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1116683

Title:
  _getexif() -> RuntimeError: dictionary changed size during iteration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1116683/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to