<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">Dear all,</span></span><div><br></div><div>I just installed successfully zope2.11.0 on my mac.</div><div>I'm having a problem with importing some products. For instance ZMySQLDA (v. 2.0.8) gives me this error:</div><div><br></div><div><div>------</div><div>2008-06-21T12:37:30 ERROR Application Couldn't install ZMySQLDA</div><div>Traceback (most recent call last):</div><div>  File "/Applications/zope211/lib/python/OFS/Application.py", line 758, in install_product</div><div>    global_dict, global_dict, silly)</div><div>  File "/Applications/zope211/instance1/Products/ZMySQLDA/__init__.py", line 91, in ?</div><div>    import DA</div><div>  File "/Applications/zope211/instance1/Products/ZMySQLDA/DA.py", line 155, in ?</div><div>    misc_={'conn': ImageFile(</div><div>  File "/usr/local/lib/python2.4/site-packages/PIL/ImageFile.py", line 74, in __init__</div><div>    self.fp = open(fp, "rb")</div><div>IOError: [Errno 2] No such file or directory: 'Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif'</div><div>------</div></div><div><br></div><div>After a google search I found this: <a href="http://dev.x3ng.com.br/browser/Recria/buildout/patches/zmysqlda-imagefile.patch?rev=2386&amp;format=txt">http://dev.x3ng.com.br/browser/Recria/buildout/patches/zmysqlda-imagefile.patch?rev=2386&amp;format=txt</a></div><div><br></div><div>It looks like the problem is related to PIL and after applying the patch (-from ImageFile import ImageFile +from Globals import ImageFile) everything works just fine.</div><div><br></div><div>The question is: why this problem doesn't happen with zope2.10.5? I have the same setup... same python, same PIL. Applying the patch to the products doesn't look like a good school.</div><div>Do you have any suggestion?</div><div><br></div><div>Your help is much appreciated,</div><div><br></div><div>Giampiero</div><div><br></div><div><br></div><br></body></html>