Menu

#262 Bug in ServiceProxy._call

open
nobody
zsi (169)
5
2009-01-23
2009-01-23
No

There's a bug in ServiceProxy._call when raising an exception for the wrong number of parameters. (Basically, the parentheses are off.) Here's the exception message:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python\lib\site-packages\ZSI\ServiceProxy.py", line 413, in __call__
return self.parent()._call(self.__name__, *args, **kwargs)
File "C:\Program Files\Python\lib\site-packages\ZSI\ServiceProxy.py", line 149, in _call
str(callinfo.getInParameters(), str(args))))
TypeError: str() takes at most 1 argument (2 given)

Discussion


Log in to post a comment.