argh! doing it the way i'm supposed to? i don't have time for that! i've got perfectly good "banging my head against a wall while ignoring the door right next to me" to do!
thanks again for the help :). -----Original Message----- From: Chris Withers [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 2:45 AM To: Pete Taylor Cc: '[email protected]' Subject: Re: [Zope] Product creation difficulty 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 CONFIDENTIAL NOTICE: This email including any attachments, contains confidential information belonging to the sender. It may also be privileged or otherwise protected by work product immunity or other legal rules. This information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this emailed information is strictly prohibited. If you have received this email in error, please immediately notify us by reply email of the error and then delete this email immediately. _______________________________________________ Zope maillist - [email protected] 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 )
