Zope import PythonScript.standard unauthorized
nospam at freeworld.fr
Thu Dec 11 17:46:20 CET 2003
I've just insalled Zope to test a web application by thirdy part ....
well .... it's very embarrassing cause I'm not able to
see it at work because of Zope ..... (yeah... I'm really newbie :( )
I found out that the problem is in Products/PythonScript permission.
To test them, in the ZMI, I created this script and then I tested it
# Example code:
from Products.PythonScripts.standard import html_quote, urlencode
OUTPUT DU TEST
Zope has encountered an error while publishing this resource.
Error Type: ImportError
Error Value: import of "urlencode" from "Products.PythonScripts.standard" is
In Zope Bible they say there is a trick to escape this control
using "External Methods", but it should be another way
because the application I have to test doesn't use them at all ...
any useful suggestion ..........?
Thank you very
Zope = Zope 2.5.1
More information about the Python-list