[Zope] Persistence Module Confustion

D. Bickle dbickle at uvic.ca
Thu Feb 12 12:02:50 EST 2004


Actually I sorted this out. I didn't realize there was a MailHost option
in the pull down menu ;| As far as loading modules go I have been able to
solve this problem by creating my own custom Product and setting the
security declarations in __init__.py.

I am still having a problem importing a Python module I created containing
some class objects. I placed the module in the Products directory
and modified the __init__.py module accordingly. I've tried adding both
allow_module(<module_name>) and allow_class(<class_name>) to the __init__
file. Both don't seem to work even after restarting zope.

Any ideas?

Thanks

On Thu, 12 Feb 2004, Lennart Regebro wrote:

> From: "D. Bickle" <dbickle at uvic.ca>
> > I am trying to import the MailHost module that has dependencies with the
> > Persistence module. The interpreter complains that it cannot load the
> > Persistence modules When I examine the package there is no content or
> > modules.
>
> When does this happen?
>
> Are you trying to import MailHost "manually" outside Zope, or is it you Zope
> instance that complains?
>
>



More information about the Zope mailing list