[Zope] Help with PIL / Photo product
Andrew Lahser
andrew@apl-software.com
Wed, 12 Jan 2000 21:06:34 -0500
Graham,
What is in your __init__.py?
Drew
----- Original Message -----
From: Graham Chiu <anon_emouse@hotmail.com>
To: <zope@zope.org>
Sent: Wednesday, January 12, 2000 5:45 AM
Subject: Re: [Zope] Help with PIL / Photo product
> In article <014a01bf5b16$c31b0800$4b0efea9@home>, Dale Lance
> <d_lance@email.msn.com> writes
> >Now all I have to do is figure out how Photo product works!
>
> I've followed this discussion, and installed the Photo product with PIL
> in the Photo directory.
>
> However, when I add an instance of the Photo product, and try to upload
> a Gif image, I get the following traceback ( ntwks4 )
>
> Error Type: AttributeError
> Error Value: Image
>
>
> Traceback (innermost last):
> File D:\zope2\lib\python\ZPublisher\Publish.py, line 214, in
> publish_module
> File D:\zope2\lib\python\ZPublisher\Publish.py, line 179, in publish
> File D:\zope2\lib\python\Zope\__init__.py, line 202, in
> zpublisher_exception_hook
> (Object: aphoto)
> File D:\zope2\lib\python\ZPublisher\Publish.py, line 165, in publish
> File D:\zope2\lib\python\ZPublisher\mapply.py, line 160, in mapply
> (Object: manage_upload)
> File D:\zope2\lib\python\ZPublisher\Publish.py, line 102, in
> call_object
> (Object: manage_upload)
> File D:\zope2\lib\python\OFS\Image.py, line 248, in manage_upload
> (Object: aphoto)
> File d:\zope2\lib\python\Products\Photo\Photo.py, line 242, in
> update_data
> (Object: aphoto)
> File d:\zope2\lib\python\Products\Photo\Photo.py, line 272, in
> _generateDisplays
> (Object: aphoto)
> File d:\zope2\lib\python\Products\Photo\Photo.py, line 282, in
> _generateDisplay
> (Object: aphoto)
> File d:\zope2\lib\python\Products\Photo\Photo.py, line 320, in resize
> AttributeError: (see above)
>
> -------
> Regards, Graham Chiu
> gchiu<at>compkarori.co.nz
> http://www.compkarori.com/dynamo - The Homebuilt Dynamo
> http://www.compkarori.com/dbase - The dBase bulletin
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>