[Zope] Python Script Error

Dieter Maurer dieter@handshake.de
Thu, 17 Apr 2003 21:03:37 +0200


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