[Zope] Name Clashing between Zope and PIL

Andy Smith andy.smith@iname.com
Thu, 11 Feb 1999 10:39:57 -0500


Yeah, I had the same problem and 'packaging' PIL looks like the best
solution.

You might need to import any image converters you need in the __init__.py
file. For instance I had to import GifImagePlugin in my __init__.py in order
to create GIFs in Zope.

Cheers,

A.


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Arpad
> Kiss
> Sent: Thursday, February 11, 1999 4:51 AM
> To: sonntag@lion-ag.de; Zope Mailing List
> Subject: Re: [Zope] Name Clashing between Zope and PIL
>
>
> Hi,
> I'm developing a Chart product based on PIL. I created a 'my
> site'/lib/python/PIL softlink and in the PIL directory I put an empty
> __init__.py, then I could issue: import PIL.ImageFile.
> Cheers,
> Arpad
> -----Original Message-----
> From: Christian Sonntag <sonntag@lion-ag.de>
> To: Zope Mailing List <zope@zope.org>
> Date: Thursday, February 11, 1999 9:18 AM
> Subject: [Zope] Name Clashing between Zope and PIL
>
>
> >Hello,
> >
> >
> >There seems to be a name-clashing between zope and PIL library,
> namely the
> >module 'ImageFile'.
> >Did someone encoutner this problem, and how is the suggested way of
> >solving it?
> >
> >Cheers
> >Christian
> >
> >
> >
> >_______________________________________________
> >Zope maillist  -  Zope@zope.org
> >http://www.zope.org/mailman/listinfo/zope
> >
> >
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>