Regression: PIL.Image.split() does not load data before reference

Bug #635263 reported by Charles Duffy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-imaging (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-imaging

This issue was introduced in PIL 1.1.7, reported upstream at http://code.activestate.com/lists/python-image-sig/5994/, and ultimately resolved using the patch at http://hg.effbot.org/pil-2009-raclette/changeset/fb7ce579f5f9

$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL.Image
>>> PIL.Image.open('/usr/share/pixmaps/faces/dice.jpg').split()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PIL/Image.py", line 1497, in split
    if self.im.bands == 1:
AttributeError: 'NoneType' object has no attribute 'bands'

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-imaging 1.1.7-1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Fri Sep 10 14:58:40 2010
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: python-imaging

Revision history for this message
Charles Duffy (cduffy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.