Comment 37 for bug 1112496

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1112496] Re: python-imaging broken in raring

On Apr 30, 2013, at 06:59 PM, Jan D wrote:

>Still affects me:
>
>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

We probably need to add a file to the PILcompat directory of the source
package. It would be called PngImagePlugin and would contain:

from PIL.PngImagePlugin import *