Opened 10 years ago

Closed 3 years ago

#45240 closed defect (fixed)

py-Pillow @2.6.0 errors on OS X

Reported by: radaroutthere@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: py-Pillow

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Since updating from py34-Pillow@2.5.3 to py34-PIllow@2.6.0, I have experienced problems with Pillow on OS X.

First, _imagingtk.so cannot be found (from PIL import _imagingtk), and second, the shared libraries Pillow uses don't know whether to link to MacPorts' Tk or my system Tk -

Class TKApplication is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
Class TKMenu is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
Class TKContentView is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
Class TKWindow is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.

Having spent some time trying to determine if it is something in the Pillow update itself or in the MacPorts update, I believe it comes down to this change -

browser:trunk/dports/python/py-Pillow/files/patch-setup.py.diff?rev=126001#L96

This modification doesn't appear in the Pillow code as far as I can tell. Can I ask stromnov, what I'm missing here? What was the reasoning behind this change?

Change History (4)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stromnov removed
Description: modified (diff)
Owner: changed from macports-tickets@… to stromnov@…

comment:2 Changed 10 years ago by radaroutthere@…

Thanks for revision 126022! It looks like that solves the _imagingtk problem, and I think that I was wrong about the shared libraries problem. That looks to be just a problem with the environment I was using to test the problem further, and I assumed it was related.

So I think this is fixed now.

comment:3 Changed 9 years ago by petrrr

I guess, this could be closed.

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.