Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#252 Exception while parsing AnyStrict

v2.0
open
nobody
zsi (169)
5
2008-09-28
2008-09-28
Dhiraj Hegde
No

I get the following exception when parsing a response from a web services server. Unfortunately, I don't have the exact message from the server (hard to reproduce the message), but the exception seems to suggest an issue in the ZSI code, so hopefully the stack trace is sufficient.

("_AnyStrict instance has no attribute 'kwargs'",)
File "C:\workspace\2.0\packages\NetSuite\components\netsuite\codegen\NetSuiteService_services.py", line 39, in login
response = self.binding.Receive(loginResponse.typecode)
File "C:\Python25\lib\site-packages\ZSI\client.py", line 525, in Receive
return _Binding.Receive(self, replytype, **kw)
File "C:\Python25\lib\site-packages\ZSI\client.py", line 451, in Receive
msg = FaultFromFaultMessage(self.ps)
File "C:\Python25\lib\site-packages\ZSI\fault.py", line 253, in FaultFromFaultMessage
pyobj = ps.Parse(FaultType.typecode)
File "C:\Python25\lib\site-packages\ZSI\parse.py", line 326, in Parse
return how.parse(self.body_root, self)
File "C:\Python25\lib\site-packages\ZSI\TCcompound.py", line 201, in parse
value = what.parse(c_elt, ps)
File "C:\Python25\lib\site-packages\ZSI\TCcompound.py", line 242, in parse
value = any.parse(c_elt, ps)
File "C:\Python25\lib\site-packages\ZSI\TC.py", line 1455, in parse
pyobj = what.parse(elt, ps)
File "C:\Python25\lib\site-packages\ZSI\TC.py", line 574, in parse
return self.parse_into_dict_or_list(elt, ps)
File "C:\Python25\lib\site-packages\ZSI\TC.py", line 543, in parse_into_dict_or_list
v.append((str(c_elt.localName), self.__class__(**self.kwargs).parse(c_elt, ps)))

Discussion