[IMAGE-SIG] ImageTk Problem with PIL-0.3a1

Fredrik Lundh fredrik.lundh@image.combitech.se
Wed, 15 Oct 1997 13:29:32 +0100

>TclError: invalid command name "PyImagingPhoto"

The Tk interface was changed between 0.2 and 0.3; in 0.2,
PIL used a custom Tk image type, in 0.3, it uses a command
instead.  This error seems to indicate that you're still using
the 0.2 interface code.

Make sure to double-check the code you have in tkappinit.c
so it matches the instructions in the 0.3 readme, and rebuild
your _tkinter module.

Cheers /F

PS. In 0.3a1, there's a bogus reference to something called
ImagingCrack. If you get linker problems, just comment away
that call in _imagingmodule.c.

IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org