On 08/22/2014 05:18 PM, Margarita Manterola wrote:
Package: python-pil
Version: 2.5.1-1
Severity: important
Tags: upstream patch

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "imtools.py", line 170, in round_image
mask = create_rounded_rectangle(image.size, cache, radius, opacity, pos)
File "imtools.py", line 222, in create_rounded_rectangle
paste(rounded_rectangle, element, (x, y))
File "imtools.py", line 862, in paste
if source == mask:
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 576, in __eq__
a = (self.mode == other.mode)
AttributeError: 'NoneType' object has no attribute 'mode'

In pillow, this is fixed in this commit:
https://github.com/python-pillow/Pillow/commit/1aee9bfdef1d73007d8e35ab883c8c936c1da602

I've verified that applying that change makes the example code and the unpatched
cinnamon settings window work correctly.

This was committed on July 5th, but the lastest released version (2.5.3,
uploaded yesterday) still doesn't include that fix.

Since we are so close to the freeze, I think it would be a good idea for the fix
to be manually applied instead of waiting until they release it


(Pillow Maintainer here)

There is a scheduled release of Pillow 2.6 for around Oct 1. It would include the patch for this issue.

We are in the process of assembling a release for the Lena issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760171

We could include the patch for this bug with the Lena release, or we could just roll it in with the scheduled 2.6 release. There are some other patches and features that would make it into that release that might be nice, but I'm unclear as to what the various freeze dates mean around Jessie.

Would a 2.6 release around 2014-10-01 be too late for Jessie? Would pushing that forward a few days matter? Or are you on bugfix changes only at this point?

thanks

eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to