[Zope-dev] Zope 2.7.0 and Pythom Image Library

Tor Oskar Wilhelmsen toroskar at chello.no
Mon Jul 5 02:27:47 EDT 2004


Hi
I'm trying to get the PIL(last version on python 2.3)  working with Zope, but it seems that it's not working.

I use the code:
 file = StringIO.StringIO(data)
 im = Image.open(file)
 im.show()

 where data is datafrom a blob in a db. This code is working outside Zope, but at once when i try to make it a product in Zope, I get this error:

IOError: cannot identify image file 


Does anyone know what's wrong or what to do to make this work?

Thanks for all help!


Regards
Tor Oskar Wilhelmsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20040705/7cbcaffa/attachment.htm


More information about the Zope-Dev mailing list