<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face=Arial color=#000000
size=2>Hi</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>I'm trying to get the PIL(last version on python
2.3) working with Zope, but it seems that it's not working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use the code:</FONT></DIV>
<DIV> file = StringIO.StringIO(data)<BR> im =
Image.open(file)<BR> im.show()</DIV>
<DIV> </DIV>
<DIV> 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:</DIV>
<DIV> </DIV>
<DIV>IOError: cannot identify image file </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Does anyone know what's wrong or what to do to make this work?</DIV>
<DIV> </DIV>
<DIV>Thanks for all help!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Tor Oskar Wilhelmsen</DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>