[Zope] Python Script Error

volker.wend@efgbsh.de volker.wend@efgbsh.de
Thu, 17 Apr 2003 16:09:55 +0200


Sorry, I forgot the call stack:

------
2003-04-17T15:32:29 ERROR(200) SiteError
http://wxxxxxxxxxxxxxxxxxxichten/nav.htm
Traceback (innermost last):
  File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 98, in
publish
  File C:\Program Files\Zope\lib\python\ZPublisher\mapply.py, line 88, in
mapply
    (Object: nav.htm)
  File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 39, in
call_object
    (Object: nav.htm)
  File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
252, in __call__
    (Object: nav.htm)
  File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
283, in _bindAndExec
    (Object: nav.htm)
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\ZopePageTemplate.py, line 228,
in _exec
    (Object: nav.htm)
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\PageTemplate.py, line 95, in
pt_render
    (Object: nav.htm)
  File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 200, in
__call__
  File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 244, in
interpret
  File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 473, in
do_setLocal_tal
  File C:\Program Files\Zope\lib\python\Products\PageTemplates\TALES.py,
line 217, in evaluate
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 206, in
__call__
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 201, in
_eval
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 100, in
render
    (Object: aufbrueche4nav.py)
  File C:\Program
Files\Zope\lib\python\Products\PageTemplates\ZRPythonExpr.py, line 74, in
call_with_ns
    (Object: __render_with_namespace__)
  File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
266, in __render_with_namespace__
    (Object: aufbrueche4nav.py)
  File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
283, in _bindAndExec
    (Object: aufbrueche4nav.py)
  File C:\Program
Files\Zope\lib\python\Products\PythonScripts\PythonScript.py, line 315, in
_exec
    (Object: aufbrueche4nav.py)
  File Script (Python), line 2, in aufbrueche4nav.py
  File C:\Program Files\Zope\lib\python\AccessControl\ZopeGuards.py, line
149, in guarded_import
ImportError: 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.


Thanks for any sugesstions....

Volker Wend



-----Original Message-----
From: volker.wend@efgbsh.de [mailto:volker.wend@efgbsh.de] 
Sent: Donnerstag, 17. April 2003 15:37
To: zope@zope.org
Subject: [Zope] Python Script Error


He Folks,

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.



Volker Wend

_______________________________________________
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 )