PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Friday the 13th of December, 2013

(Back to #pil overview) (Back to channel listing) (Animate logs)
[13:48:27] <Arfrever> aclark: What is the newest released version of Pillow?
[13:53:18] <aclark> Arfrever: 2.2.1
[13:53:40] <Arfrever> aclark: Who created 2.2.2 tag in https://github.com/python-imaging/Pillow/releases ?
[15:10:30] <TeraJL> is there any way, using pillow, to get the dominant color of an image? like this: http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/?
[15:45:42] <wiredfool1> Arfrever: see https://github.com/python-imaging/Pillow/issues/443#issuecomment-30507397
[15:49:19] <wiredfool1> TeraJL: Not builtin, but I'm sure that all the necessary bits to build/port color-thief are in there. (i.e. quantize, getcolors, or the more low level gatpixel/getdata)
[21:08:27] <aclark> [Arfrever]: wiredfool1 did, why? we're planning a 2.2.2 release
[21:20:30] <aclark> wiredfool1: I can't get my OS X to break, which I'd like to do before releasing 2.2.2 to fix it…
[21:22:11] <wiredfool1> ah
[21:23:12] <aclark> wiredfool1: are we sure your branch is the fix for whatever is broken? :-)
[21:24:56] <wiredfool1> that's a good question. the commit looks right
[21:25:06] <wiredfool1> it's the ft_errors_h one
[21:26:16] <wiredfool1> minus the merge commit, which would pull in all updates to that point
[21:28:47] <aclark> wiredfool1: ah, nice
[21:28:48] <aclark> ok
[21:29:00] <aclark> so i just need to find a broken system somehow then fix it
[21:29:10] <wiredfool1> well my brew system is broken
[21:29:17] <wiredfool1> but that's a more fundamental problem
[21:29:33] <aclark> yeah i just did brew update…
[21:29:41] <aclark> and expected Pillow install to fail
[21:29:41] <wiredfool1> I'm about ready to blow away this machine and install 10.9
[21:29:55] <wiredfool1> did you install master or 2.2.1?
[21:38:56] <wiredfool1> mine is pulling in the system freetype
[21:41:22] <wiredfool1> Ok, disabled the system freetype, when using current brew it goes boom
[21:43:30] <wiredfool1> and still boom
[21:51:48] <wiredfool1> It's picking up the freetype directory, not freetype/includes/freetype2
[21:52:25] <wiredfool1> I'm not sure what is messed there, since brew isn't clean, and there's some sort of older ports system there too
[21:52:48] <aclark> I installed the 2.2.1 release expecting it to break
[21:55:18] <wiredfool1> well, pillow isn't picking up the homebrew freetype at all
[21:56:16] <wiredfool1> related to this: https://github.com/fish2000/Pillow/commit/7b86a74cd419d9e7cc6a259b13b23dc6e56eb758 ?
[22:06:22] <aclark> ah
[22:06:23] <aclark> right
[22:09:39] <aclark> Ah, I see
[22:10:01] <aclark> It works for me because of: /opt/X11/include/freetype2/freetype/freetype.h
[22:10:20] <wiredfool1> yep
[22:10:29] <wiredfool1> oh. opt?
[22:10:45] <aclark> That's where XDarwin gets installed
[22:10:49] <wiredfool1> Mine was in /usr/X11/include
[22:11:14] <aclark> on OS X? Which version? I'm on Mavericks
[22:11:21] <wiredfool1> ah. 10.7
[22:11:30] <aclark> There you go
[22:11:55] <wiredfool1> I'll kick it to maverics soon
[22:14:55] <aclark> May as well merge https://github.com/fish2000/Pillow/commit/7b86a74cd419d9e7cc6a259b13b23dc6e56eb758 then I guess
[22:16:26] <wiredfool1> does that fix it?
[22:16:32] <wiredfool1> for you?
[22:21:04] <aclark> Mine is still not broken, but I now understand why at least. I assume that https://github.com/fish2000/Pillow/commit/7b86a74cd419d9e7cc6a259b13b23dc6e56eb758 is a partial fix and so is https://github.com/python-imaging/Pillow/commit/c6040f618d8f2706a7b46d1cdf37d1a587f9701f
[22:21:25] <aclark> which is why I'm not comfortable releasing until I fully understand what is going on
[22:21:32] <wiredfool1> I understand
[22:21:41] <aclark> Worst case we throw it all in there and ship it with 2.3.0 ;-)
[22:21:49] <wiredfool1> What I don't understand is why yours is working on 2.2.1
[22:22:00] <wiredfool1> at least, why yours is and others aren't
[22:22:14] <aclark> Because not everyone has X11 installed but I do
[22:22:21] <wiredfool1> ah
[22:22:37] <wiredfool1> if only there were osx vms for rent.
[22:23:26] <aclark> Heh
[22:23:37] <wiredfool1> or big endian ones too
[22:24:40] <aclark> Well, there are but probably not cheap
[22:25:15] <aclark> I should use some DC Python rackspace account resources for Pillow…
[22:26:04] <wiredfool1> I likely still have access to a fedora machine
[22:26:23] <wiredfool1> that one was a power7 with 32 cores or something crazy like that
[22:29:39] <aclark> wow
[22:30:22] <wiredfool1> the cores didn't seem fast, but there were a lot of them