[Zope] TypeError: cannot add type "Python Method" to string
Dieter Maurer
dieter@handshake.de
Tue, 11 Dec 2001 21:52:35 +0100
Ronald.Chichester@bakerbotts.com writes:
> ....
I am almost sure that your problem is not in the Python script the code
of which you posted...
I expect it higher above in the call chain of your script,
somewhere where you use the script's results.
Apparently, you try to add a string and a Python Method.
While adding a string to a string will work (--> concatenation)
(maybe this happens in your successful first case), adding
a Python Method to a string will (correctly) fail
(happens in your second case).
Dieter