[Image-SIG] Help: Converting PIL to Tkinter image objects crashes python

Tom Baldwin tbaldwin at uoregon.edu
Fri Jul 10 01:31:55 CEST 2009

Thanks, Fredrik.

If 1.1.6 is from 2006 then trying 1.1.7 code sounds like a very good idea. I
wasn't sure how to set up the individual tkImaging module which you linked,
so I downloaded and built the entire recent beta release, 1.1.7b1.

I confirmed that python is seeing the new version:
>>>import Image

However, my reproducer.py test script still fails in the same way as before.

Whatever is going on must have slipped past any of the updates in the beta
release, I guess.


On Thu, Jul 9, 2009 at 3:44 PM, Fredrik Lundh <fredrik at pythonware.com>wrote:

> On Thu, Jul 9, 2009 at 11:50 PM, Tom Baldwin<tbaldwin at uoregon.edu> wrote:
> > A python-help volunteer suggested downgrading my Tcl/Tk installation from
> > 8.5 to 8.4, which seems a little weird, since 8.5 has been stable since
> > December 2007.
> 1.1.6 was released in december 2006, and core Python didn't switch to
> 8.5 until release 2.6 in late 2008 (iirc).
> > (Also, downgrading things using Macports is so complicated
> > that I haven't succeeding in doing it yet.) He directed me to this list
> for
> > more knowledgeable help.
> >
> > Can anyone with PIL familiarity tell me what might be causing this error?
> Or
> > say if there is any reason to believe that Tcl 8.4 might be more
> compatible?
> Instead of downgrading the Tcl/Tk install, you could try updating to
> the 1.1.7 trunk version of Tk/tkImaging.c module, available from:
>    http://hg.effbot.org/pil-2009-raclette/raw/tip/Tk/tkImaging.c
> There's been a couple of tweaks related to 8.4/8.5 compatibility; not
> sure if they affect your specific case, but since you're building from
> source, it shouldn't be that hard for you test this.
> </F>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090709/a004227b/attachment-0001.htm>

More information about the Image-SIG mailing list