[Zope] Incorporating a Python module for script use
Dieter Maurer
dieter at handshake.de
Tue Dec 9 14:01:52 EST 2003
Brian Sullivan wrote at 2003-12-8 15:08 -0500:
>> > 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".
Did your "allow_module" allowed "Products.DSV.DSV" (and not
only "Products.DSV")?
--
Dieter
More information about the Zope
mailing list