[Zope] Incorporating a Python module for script use

Brian Sullivan briansullivan at coursesbywire.com
Mon Dec 8 15:08:27 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"?
> 


Yes as indicated in the "PythonScripts" readme I created an
"__init__.py" with the call to "allow_module".




More information about the Zope mailing list