He folks, I verified now, that the following lines in the standard.py caused my problems: --> 'restructured_text', from DocumentTemplate.DT_Var import special_formats, \ whole_dollars, dollars_and_cents, structured_text, sql_quote, \ html_quote, url_quote, url_quote_plus, newline_to_br, thousands_commas, \ url_unquote, url_unquote_plus, restructured_text ---------------------------------^ I installed the restructured Text Module. I didn't check after each installed product if all sites were working and I did not realize that the standard.py module got changed. So I got into that trouble.... http://www.zope.org/Members/ajung/reStructuredText/ Anyway now it works almost as before. Volker -----Original Message----- From: Andreas Jung [mailto:andreas@andreas-jung.com] Sent: Freitag, 18. April 2003 11:06 To: Dieter Maurer; volker.wend@efgbsh.de Cc: zope@zope.org Subject: Re: [Zope] Python Script Error 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 )