[EMAIL PROTECTED] wrote:

> the same code runs fine in python 2.44 but fails with python 2.51
> 
> File "/usr/local/lib/python2.5/site-packages/PIL/Image.py", line 783, in 
> filter
>  filter = filter()
> AttributeError: Kernel instance has no __call__ method
> 
> contact me if you need more info

are you perhaps importing things both from "PIL" and from the path 
itself?  (e.g. mixing "from PIL import Image" with "import Image"?). 
does PIL's installation directory appear in sys.path?

if you cannot make this work, try changing

         if not isinstance(filter, Filter):
             filter = filter()

to

        if type(filter) is type(Filter):
            filter = filter()

in Image.py.

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to