[Image-SIG] core dump

William Baxter bbaxter at wadsworth.org
Wed Jun 18 18:54:53 EDT 2003


Hi.

I've been trying to install Imaging-1.1.4 on IRIX64. It complained that
Tk_FindPhoto had too many arguments. I noticed in some older message
boards that the opposite used to be the case! Anyway, I changed
    photo = Tk_FindPhoto(interp, argv[1]);
to
    photo = Tk_FindPhoto(argv[1]);
and it compiled and I can import Image, ImageTk

But it doesn't work:
>>> from Tkinter import *
>>> import Image, ImageTk
>>> filename = 'lena.gif'
>>> im = Image.open(filename)
>>> root = Tk()
>>> import sys
>>> root.title(filename)
''
>>> image = ImageTk.PhotoImage(im)
Bus error (core dumped)


Is this related to the change I made?

Thanks,
Bill Baxter



More information about the Image-SIG mailing list