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@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?