[Zope] External method woes Zope 2.5.1 - no parameters being passed into external method - works fine with a refresh
Thu, 6 Jun 2002 13:27:18 -0400
this is solved in CVS and will appear in 2.6. you may take the fixed
ExternalMethod.py module from CVS and use that::
On Thursday, June 6, 2002, at 11:55 , Sean McGrath wrote:
> I download a fresh Zope 2.5.1 for Windows.
> I create an external method "foo".
> def foo (self, REQUEST, RESPONSE):
> return "Hello World."
> I register it with id "foo".
> First invocation of /foo gives me:
> Error Type: TypeError
> Error Value: foo() takes exactly 3 arguments (0 given)
> I hit refresh and all is well!
> Occasionally but unpredictably, the problem
> re-occurs but disappears again for a while when I hit refresh.
> Browser is IE 6.
> Does this scenario ring any bells with anyone?
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )