[Image-SIG] Re: ANN: PIL 1.1.5 beta 3 (february 8, 2005)

Fredrik Lundh fredrik at pythonware.com
Tue Feb 8 22:14:48 CET 2005


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> 





More information about the Image-SIG mailing list