ImportError: No module named Image

Bug #1113515 reported by Fernando Miguel
This bug report is a duplicate of:  Bug #1112496: python-imaging broken in raring. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phatch (Ubuntu)
New
Undecided
Unassigned
python-imaging (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ phatch
Traceback (most recent call last):
  File "/usr/bin/phatch", line 16, in <module>
    main(config_paths, app_file = __file__)
  File "/usr/share/phatch/phatch/app.py", line 203, in main
    from core.settings import create_settings
  File "/usr/share/phatch/phatch/core/settings.py", line 23, in <module>
    from pil import IMAGE_READ_EXTENSIONS
  File "/usr/share/phatch/phatch/core/pil.py", line 33, in <module>
    import Image
ImportError: No module named Image

$ apt-cache policy phatch
phatch:
  Installed: 0.2.7.1-1
  Candidate: 0.2.7.1-1
  Version table:
 *** 0.2.7.1-1 0
        500 http://mirrors.fe.up.pt/pub/ubuntu/ raring/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: phatch 0.2.7.1-1
ProcVersionSignature: Ubuntu 3.8.0-3.7-generic 3.8.0-rc5
Uname: Linux 3.8.0-3-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Sat Feb 2 14:35:31 2013
InstallationDate: Installed on 2012-06-10 (236 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120606.2)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: phatch
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

when forced to run with python 3.3
"Sorry, Phatch is only compatible with Python 2.x!"

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

python-imaging was updated recently
-rw-r--r-- 1 root root 299K Jan 31 21:03 python-imaging_1.1.7+1.7.8-1ubuntu1_amd64.deb

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

reverting to python-imaging_1.1.7-4build1_amd64.deb allows phatch to work again

Revision history for this message
Julian Taylor (jtaylor) wrote :

looks like a duplicate of bug 1112496
import PIL.Image works

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.