[Python-apps-team] Bug#759146: [phatch] Phatch doesn't work with python-imaging and python-pil 2.5.1-x or 2.5.3-x

Magnus Berg norespons at burgsvik.se
Sun Aug 24 19:43:00 UTC 2014


Package: phatch
Version: 0.2.7.1-3
Severity: grave

--- Please enter the report below this line. ---

After upgrading to python-imaging 2.5.1-x or or 2.5.3-x and python-pil 2.5.1-x or or 2.5.3-x I got this message from Phatch when I try to process pictures:
"'NoneType' object has no attribute 'mode'
Traceback (most recent call last):
  File "/usr/share/phatch/phatch/core/api.py", line 493, in get_photo
    photo = pil.Photo(info_file, info_not_file)
  File "/usr/share/phatch/phatch/core/pil.py", line 471, in __init__
    layer.image)
  File "/usr/share/phatch/phatch/core/pil.py", line 175, in __init__
    if image == None:
  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'"

Downgrade to python-imaging 2.4.0-2 and python-pil 2.4.0-2 make Phatch work again.


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.14-2-amd64

Debian Release: jessie/sid
  500 unstable        http.debian.net 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-==============
python:any           (>= 2.7.5-5~) | 
phatch-cli           (= 0.2.7.1-3) | 0.2.7.1-3
xdg-utils                          | 1.1.0~rc1+git20111210-7.1
python-wxgtk2.8                    | 2.8.12.1+dfsg2-2
python-wxversion                   | 3.0.0.0+dfsg-4


Package's Recommends field is empty.

Suggests      (Version) | Installed
=======================-+-===========
blender                 | 
inkscape                | 



More information about the Python-apps-team mailing list