ZShellCLI and potential external method problem in Zope 2.3.2
Hi, I've tried to run Andy McKay's ZShellCLI, and all I can say is: It's Very Nice ! (tm) However before running it successfully I encountered a problem, because he had modified my ZShell external method to add a parameter to it and Zope seemed to be unable to detect this modification even when restarting it (tried several times). In fact I just replaced my zshell.py file with his one and restarted Zope, but this didn't work because I always received 'too many parameters' errors. I had to delete the ZShell external method from the ZMI, then recreate it and it worked fine then. is it normal ? Is it a known Zope (2.3.2) problem ? thanks in advance. Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome Fac de Medecine de Nice http://wwwmed.unice.fr Tel: (+33) 4 93 37 76 30 Fax: (+33) 4 93 53 15 15 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE
To get Zope to update (i.e. refresh) an external method, you have to click the Save Changes button in the ZMI. I don't thing restarting Zope is sufficient. -- Loren
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerome Alet Sent: Wednesday, June 13, 2001 07:14 To: zope@zope.org Subject: [Zope] ZShellCLI and potential external method problem in Zope 2.3.2
Hi,
I've tried to run Andy McKay's ZShellCLI, and all I can say is:
It's Very Nice ! (tm)
However before running it successfully I encountered a problem, because he had modified my ZShell external method to add a parameter to it and Zope seemed to be unable to detect this modification even when restarting it (tried several times).
In fact I just replaced my zshell.py file with his one and restarted Zope, but this didn't work because I always received 'too many parameters' errors.
I had to delete the ZShell external method from the ZMI, then recreate it and it worked fine then.
is it normal ?
Is it a known Zope (2.3.2) problem ?
thanks in advance.
Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome Fac de Medecine de Nice http://wwwmed.unice.fr Tel: (+33) 4 93 37 76 30 Fax: (+33) 4 93 53 15 15 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Wed, Jun 13, 2001 at 11:07:05AM -0700, Loren Stafford wrote:
To get Zope to update (i.e. refresh) an external method, you have to click the Save Changes button in the ZMI. I don't thing restarting Zope is sufficient.
OK, now I understand... I restarted Zope all the time and it was sufficient because my external method itself didn't change, but the code it calls internally changed. Thanks a lot ! PS: I've just discovered the "Save changes" button , thanks to your message ! bye, Jerome Alet
participants (2)
-
Jerome Alet -
Loren Stafford