Hello, at the moment I'am working with external python-Methods in Zope. To obtain that the changes in a python file takes effect i have to restart the zope server! Is there a way to avoid restarting zope after changing the content of the python module ? Ralph
On Fri, 16 Feb 2001, Arenz, Ralph wrote:
at the moment I'am working with external python-Methods in Zope. To obtain that the changes in a python file takes effect i have to restart the zope server! Is there a way to avoid restarting zope after changing the content of the python module ?
If Zope is running in debug mode - all changes are automatically noticed and Methods reloaded. If not - just go to the web-representtaion (object) of the Method and enter it. Zope will reload modified Method. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
to "refresh" the contents of an external method there is a button called "edit" in the management view of your external method in zope. just hit that and your method will get refreshed. the only exception to this is when your external method imports another python module and you made changes to that imported python module. this will not be picked up unless you restart zope (debug mode or not). jens on 2/16/01 5:36, Arenz, Ralph at Ralph.Arenz@friatec.de wrote:
Hello,
at the moment I'am working with external python-Methods in Zope. To obtain that the changes in a python file takes effect i have to restart the zope server! Is there a way to avoid restarting zope after changing the content of the python module ?
Ralph
participants (3)
-
Arenz, Ralph -
Jens Vagelpohl -
Oleg Broytmann