Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant