This problems seems to be only in 2.6.X but not in 2.5 and not in 2.7. I filed a collector issue for this problem since it affects the usage of the standard module both in ZPT and PythonScripts. -aj --On Donnerstag, 17. April 2003 21:03 Uhr +0200 Dieter Maurer <dieter@handshake.de> wrote:
volker.wend@efgbsh.de wrote at 2003-4-17 15:36 +0200:
any Idea what goes wrong ?
Site Error An error was encountered while publishing this resource.
Error Type: ImportError Error Value: import of "html_quote" from "Products.PythonScripts.standard" > is unauthorized. The container has no security assertions. Access to > 'html_quote' of (module 'Products.PythonScripts.standard' from 'C:\Program > Files\Zope\lib\python\Products\PythonScripts\standard.py') denied.
Funny!
Looks as if there were some problem earlier when "standard" was imported for the first time. The "security.apply" comes at the end of "standard.py" (and only it makes the security declaration active). When it is not reached, there will be no active security declaration.
Do you see anything suspicious in the log file (--> doc/LOGGING.txt).
Dieter
_______________________________________________ Zope maillist - Zope@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 )