[Bug 1173704] Re: PILcompat needs to add PngImagePlugin

Launchpad Bug Tracker 1173704 at bugs.launchpad.net
Wed May 22 20:04:26 UTC 2013


This bug was fixed in the package python-imaging - 1.1.7+2.0.0-1ubuntu1

---------------
python-imaging (1.1.7+2.0.0-1ubuntu1) saucy; urgency=low

  * Add PngImagePlugin.py to PILcompat directory.  (LP: #1173704)
 -- Barry Warsaw <barry at ubuntu.com>   Wed, 22 May 2013 14:35:06 -0400

** Changed in: python-imaging (Ubuntu Saucy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-imaging in Ubuntu.
https://bugs.launchpad.net/bugs/1173704

Title:
  PILcompat needs to add PngImagePlugin

Status in “phatch” package in Ubuntu:
  In Progress
Status in “python-imaging” package in Ubuntu:
  Fix Released
Status in “phatch” source package in Raring:
  In Progress
Status in “python-imaging” source package in Raring:
  In Progress
Status in “phatch” source package in Saucy:
  In Progress
Status in “python-imaging” source package in Saucy:
  Fix Released

Bug description:
  [Impact]
  Package which use the old PIL.pth compatibility API will not be able to import PngImagePlugin because it is not provided in the python-imaging-compat package.

  [Test Case]
  $ apt-get install -fy python-imaging-compat
  $ python -c "import PngImagePlugin"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: No module named PngImagePlugin

  [Regression Potential]
  None

  It's not possible to start phatch in raring.
  phatch chrashes at starting.

  problem type
  crash

  tittle
  phatch crashed with importError in /usr/share/phatch/phatch/lib/thumbnail.py: No module named PngImagePlugin

  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 39, in <module>
      from lib import openImage
    File "/usr/share/phatch/phatch/lib/openImage.py", line 25, in <module>
      import thumbnail
    File "/usr/share/phatch/phatch/lib/thumbnail.py", line 62, in <module>
      import PngImagePlugin
  ImportError: No module named PngImagePlugin

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




More information about the foundations-bugs mailing list