[Bug 1173704] Re: PILcompat needs to add PngImagePlugin

CANTE Pierre pierrecante at cegetel.net
Mon May 27 18:52:52 UTC 2013


Hello, here, tThe package raring-proposed is efficient, patch was
updated and works !

-- 
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:
  Fix Released
Status in “python-imaging” package in Ubuntu:
  Fix Released
Status in “phatch” source package in Raring:
  Fix Committed
Status in “python-imaging” source package in Raring:
  Fix Committed
Status in “phatch” source package in Saucy:
  Fix Released
Status in “python-imaging” source package in Saucy:
  Fix Released
Status in “phatch” package in Debian:
  Fix Committed

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