[11:15:21] <aclark> wiredfool: hey, yeah i'm trying to figure that out myself
[11:16:05] <aclark> wiredfool: i have to fix the py3 tests first i think there is some pull request waiting… then back to the few tests that fail on travis but not local
[16:12:57] <wiredfool> I'm going to dial the logging up to 11, and add a few more asserts in my save test.
[16:13:34] <wiredfool> They say that they're running a 32bit ubuntu 12.04 instance, but it looks like we're actually getting a 64bit instance.
[16:14:12] <wiredfool> I'll spin up one of those to see if I can replicate their issues here
[17:47:56] <wiredfool> I've got a pair of vms, one is 12.04/x86, one is 12.04/x64. The write errors only show up in the 64 bit version. Also, there's some jpeg errors that only show up in the 64 bit version.
[18:05:22] <wiredfool> the write error is definately a 64 bit problem
[18:06:41] <wiredfool> thre read error on lena_g4, the 128px version, is not a 64bit issue
[18:07:06] <wiredfool> (also, wtf, debian is using tifflib 3.9.5, and it's reporting as 4.3.4)
[20:25:14] <wiredfool> I've narrowed it to this warning: encode.c:731:2: warning: passing argument 2 of ‘PyDict_Next’ from incompatible pointer type [enabled by default]
[20:25:55] <wiredfool> (which, appears to be incorrect, as it's getting a Py_ssize_t, it's just not realizing it. )
[20:26:21] <wiredfool> That's listed as a change in the docs, and that it could cause problems on 64 bit systems
[20:26:53] <wiredfool> And the code there doesn't properly step through the dict, where it does on 32bit
[20:27:09] <wiredfool> and I've confirmed that there are the correct items in the dict
[20:31:04] <wiredfool> using a for loop over the key list and the value list works correctly though.
[20:43:14] <wiredfool> ok, fix is in for the find_library_file issue
[21:48:09] <aclark> wiredfool: ok this is "normal" right: IOError: decoder group4 not available
[21:48:19] <aclark> i.e. my jpeglib is too old, or something?
[22:16:50] <wiredfool> ok, give it a shot, I've taken out what look like redundant redefines
[22:26:24] <aclark> wiredfool: much better! down to one test failure: https://gist.github.com/aclark4life/5156958
[22:26:35] <aclark> (thanks for working on all this btw)
[22:31:24] <wiredfool> did you have to compile your pythons to have them link against the right sdk?
[22:31:54] <wiredfool> that one test failure is 'expected' in that it's happening here and I need to dig farther on it
[22:32:55] <aclark> wiredfool: ok cool, so ok to merge then? I'll probably turn that test off until it's fixed
[22:34:02] <aclark> wiredfool: re: compile, sort of. On OS X I install XCode which has a compiler which I then use to compile all my Pythons (with this: https://github.com/collective/buildout.python)
[22:34:53] <wiredfool> I'm asking because I don't have the 10.6 sdk here, and that's what the distributed pythons need to compile stuff
[22:35:13] <wiredfool> actually, it's probably on the snow leopard laptop...
[22:37:25] <wiredfool> Merging is ok now, with that disabled test. The other thing you might want to disable is the tracing on the tiff c-level stuff.
[22:37:38] <wiredfool> It's this commit: https://github.com/wiredfool/Pillow/commit/35ce34a5faeca68f4253938d5f96039679179a92
[22:39:08] <wiredfool> I've been maintaining some form of this patch for 5 years or more. It'll be good to get it into the base library
[22:39:36] <wiredfool> I should probably build pillow on windows for a smoke test
[22:59:51] <aclark> wiredfool: oops, 2.7 has an issue: decode.c:417:5: warning: implicit declaration of function 'TRACE' is invalid in C99 [-Wimplicit-function-declaration]
[23:00:13] <aclark> decode.c:448:11: warning: implicit declaration of function 'ImagingLibTiffInit' is invalid in C99 [-Wimplicit-function-declaration]
[23:00:14] <wiredfool> did you uncomment the blank trace #define
[23:00:17] <aclark> if (! ImagingLibTiffInit(&decoder->state, compression, fp)) {
[23:28:24] <aclark> wiredfool: Anything I can do to avoid (vs understanding why) ?
[23:28:43] <wiredfool> dunno, I'm trying to get a working build on osx now
[23:28:44] <aclark> I guess it's on OS X issue… decode.c:417:5: warning: implicit declaration of function 'TRACE' is invalid in C99 [-Wimplicit-function-declaration]
[23:30:19] <wiredfool> and that means that for some reason, there's a disconnect between the header and the file that's being compiled, since it's defined in that header
[23:31:12] <aclark> wiredfool: oh, decode.c doesn't include Tiff.h? :-)
[23:49:05] <aclark> wiredfool: where did Tiff.h come from? I don't see it here: https://bitbucket.org/effbot/pil-2009-raclette/src/cd403356263f039a4a48a1111c7f5cc38686e481/libImaging?at=default
[23:50:03] <wiredfool> It's a new file from the g4 patch. Previously all the tiff stuff (such as it was) was done in python