Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

type error #33

Open
waldpest opened this issue Apr 24, 2019 · 0 comments
Open

type error #33

waldpest opened this issue Apr 24, 2019 · 0 comments

Comments

@waldpest
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant