[Image-SIG] Bus Error

Denis Fan denis.fan@dcs.warwick.ac.uk
Tue, 15 Oct 2002 14:22:25 +0100


I have installed Python Imaging Library into my sun's work station. To
make sure that PIL is working properly, I have run the "test.py"
within the package and seems to get all the tests right.

I can also imported Image and ImageTk successfully in Python, but when I
tried to do the task below, problem came:

im = Image.open(photo.gif)
photo = ImageTk.PhotoImage(im)
----> in the process of creating photo ... Bus Error (core dumped)
appear ....

even though I tried
im = Image.open(photo.gif)
tkim = ImageTk.PhotoImage(im.mode, im.size)
tkim.paste(ImageEnhance.Contrast(im).enhance(2.67))
----> in the process  ... Bus Error (core dumped) appear ....

why? Did I do something wrong with the installation?

Denis

--