Re: [Zope-dev] Refresh makes all imported modules = None

2002-06-02 Thread Adrian Hungate
I've seen this under 2.5.0, but I don't recall seeing it under 2.3.x or 2.4.x Adrian... -- Adrian Hungate EMail: [EMAIL PROTECTED] Web: http://www.haqa.co.uk All programs evolve until they can send email. Except Microsoft Exchange. -- alt.sysadmin.recovery - Original Message -

Re: [Zope-dev] Refresh makes all imported modules = None

2002-06-02 Thread Lennart Regebro
From: Adrian Hungate [EMAIL PROTECTED] I've seen this under 2.5.0, but I don't recall seeing it under 2.3.x or 2.4.x Any ideas to why it's happening? (I'm using Zope 2.5.1). ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Refresh makes all imported modules = None

2002-06-02 Thread William Trenker
Lennart Regebro wrote: Suddenly when I refresh products it seems that all imported modules in the refreshed product are set to None, because after a refresh, anything I try to do always ends up with an error message like None has no attribute foobar or None is not callable, I get this problem

[Zope-dev] Dynamically add an external method at startup

2002-06-02 Thread Emile van Sebille
I'm trying to exploit a product's initialize method and have it add external methods to a zope installation. What I've cobbled together so far is: import Zope import ZODB from Products.ExternalMethod.ExternalMethod import ExternalMethod import OFS def addExternalMethod(self, id, title, module,