[Zope] Product creation difficulty

Chris Withers chris at simplistix.co.uk
Fri Apr 8 02:45:19 EDT 2005


Pete Taylor wrote:

> Error Type: Fault
> Error Value: <Fault 1: 'exceptions.Exception:method
> "echo.__roles__.__contains__" is not supported'>

Yeah, that's Zope's security mechanisms kicking in.
Don't use a python script for this code. Remove your allow_module anduse 
an external method, like you're supposed to ;-)

Either that, or build a python product to do what you want, or use the 
one that Michael pointed to :-)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list