Public bug reported:

PNG loading fails for some/all(?) PNG files with the error message
'IOError: cannot identify image file'

The reason for that seems to be that there's a new check like this in a
few chunk handlers:

  self.check_text_memory(len(v))

At this point, len is already used an a number value passed in as
parameter (see PngImagePlugin.py:311 in chunk_tEXt) so the builtin
function len gets shadowed. The call therefore results in a TypeError:

  TypeError: 'int' object is not callable

Package version is
   python-imaging 2.3.0-1ubuntu3.2 on Ubuntu Trusty Tahr.

** Affects: pillow (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/1628351

Title:
  PNG loading degraded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pillow/+bug/1628351/+subscriptions

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

Reply via email to