[Zope] Incorporating a Python module for script use

Dieter Maurer dieter at handshake.de
Mon Dec 8 14:26:34 EST 2003


Brian Sullivan wrote at 2003-12-7 12:00 -0500:
> ...
>I have been following ( at least as far as I can tell) the
>instructions provided in the "README.txt" of the "PythonScripts"
>product at "lib/python/Products/PythonScripts/", namely to create a
>new Product directory, add the module, and an "__init__.py" file
>according to the instructions, restart the server.
> ...
> Error type:  Unauthorized
> Error value: The container has no security assertions.  Access to
>'organizeIntoLines' of (module 'DSV.DSV' from
>'F:\WEBSIT~1\lib\python\Products\DSV\DSV.py') denied."
>
>I am guessing it is something simple I have overlooked but I am not
>sure where to go next.

Looks as if you allowed the import but not the use of its content.
Did you use "allow_module"?

-- 
Dieter



More information about the Zope mailing list