[Zope] import of "aq_base" from "Acquisition" is unauthorized.
You are not allowed to access 'aq_base' in this context
robert
robert at redcor.ch
Fri Mar 18 03:48:48 EST 2005
KLEIN Stéphane wrote:
> I've add "from Acquisition import aq_base" in python script in
> "portal_skins/custom/"
>
> When I test a page, I've this error :
>
> import of "aq_base" from "Acquisition" is unauthorized. You are not
> allowed to access 'aq_base' in this context
>
> Why this ? How to resolve it ?
>
> I search information about it in Zope Api and Google, I found nothing :(
>
> Thanks for your help,
> Stéphane
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
use aq_explicit insted of aq_base. This is allowed within python script
wheras aq_base is not.
Robert
More information about the Zope
mailing list