[Zope] external method: importing and updating method

Jonathan dev101 at magma.ca
Mon Oct 2 14:01:34 EDT 2006

----- Original Message ----- 
From: "Alan" <alanwilter at gmail.com>
To: <zope at zope.org>
Sent: Monday, October 02, 2006 1:48 PM
Subject: [Zope] external method: importing and updating method

> Hi List!
> In my external method I have something like this:
> ...
> sys.path.insert(0, CCPNPYTHON)
> from memops.general.Io import loadXmlProjectFile
> ...
> the problem I am facing now it that if I update my memops stuff (which
> is found in CCPNPYTHON path) it seems not to be being updated in Zope,
> because Zope is still using the old version. (If I run outside Zope,
> the code works).

I have encountered this problem before, and the quick-fix was to restart 
Zope (from the ZMI - Control Panel).



More information about the Zope mailing list