[Zope] Using PIL 'inside' Zope

Andreas Jung lists at zopyx.com
Sun Jun 4 14:36:31 EDT 2006



>   Module AccessControl.ZopeGuards, line 284, in guarded_import
> ImportError: import of "Image" from "PIL" is unauthorized. You are not
> allowed to access 'Image' in this context
>
> Anyway to change this restriction? Is it advisable to change it?
>
>
> PIL works fine when using it via an external method, but this is a bit
> cumbersome for what I need to do.
>

This is a FAQ: -> lib/python/Products/PythonScript/README.txt

-aj

-- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info at zopyx.com - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060604/bf291b92/attachment.bin


More information about the Zope mailing list