kiorky / SOAPpy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

type error

waldpest opened this issue · comments

Hi,

When I try to use your soappy basic example I have this error :

File "/usr/local/lib/python3.5/dist-packages/SOAPpy/Server.py", line 230, in do_POST
parseSOAPRPC(data, header = 1, body = 1, attrs = 1, ignore_ext=self.ignore_ext)
File "/usr/local/lib/python3.5/dist-packages/SOAPpy/Parser.py", line 1102, in parseSOAPRPC
t = _parseSOAP(xml_str, rules = rules, ignore_ext=ignore_ext)
File "/usr/local/lib/python3.5/dist-packages/SOAPpy/Parser.py", line 1053, in _parseSOAP
inpsrc.setByteStream(StringIO(xml_str))
TypeError: initial_value must be str or None, not bytes

But I don't know why... I try to use IO.StringIO or BytesIO, decode, etc... but nothing work....

Can you help me ?

Thanks