Bob Ippolito wrote:

> % python selftest.py
> *****************************************************************
> Failure in example: d.line((0, 0, 128, 128), fill=128)
> from line #84 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 ?
>   File "PIL/ImageDraw.py", line 199, in line
>     self.draw.draw_lines(xy, ink, width)
> TypeError: function takes exactly 2 arguments (3 given)

looks like PIL's picking up an old _imaging module.

try importing _imaging from the Python prompt, and check what the __file__
attribute points to.

</F> 



_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to