[Image-SIG] help with PIL version 1.1.6
Thanh N. Tran
thanhn.tran at amd.com
Fri Jun 29 03:18:05 CEST 2007
Hi:
I try to build PIL version 1.1.6 with python version 2.5, gcc version 4.1.1
My build system is RHEL 3, 64-bit
My build was ok but when I ran the selftest, I got the following error
message.
Can you tell me what is wrong?
Thanks,
-Thanh
python2.5 selftest.py
*****************************************************************
Failure in example: im = Image.new("1", (128, 128)) # monochrome
from line #3 of selftest.testimage
Exception raised:
Traceback (most recent call last):
File "./doctest.py", line 499, in _run_examples_inner
exec compile(source, "<string>", "single") in globs
File "<string>", line 1, in <module>
File "PIL/Image.py", line 1710, in new
return Image()._new(core.fill(mode, size, color))
File "PIL/Image.py", line 451, in _new
new.mode = im.mode
AttributeError: 'ImagingCore' object has no attribute 'mode'
Segmentation fault
--
Email: thanhn.tran at amd.com
Watt: (800) 538-8450 X45467
Phone: (408) 749 5467
Thanh Nhat Tran - MPDCA - AMD
More information about the Image-SIG
mailing list