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

ParseError #232

Open
atalaybaysal opened this issue Sep 27, 2018 · 0 comments
Open

ParseError #232

atalaybaysal opened this issue Sep 27, 2018 · 0 comments

Comments

@atalaybaysal
Copy link

Request successfully reach server and return with HTTP 200 code. But throw exception while parse response.

Internal Server Error: /test/
Traceback (most recent call last):
File "/Users/apple/projects/limonproject/api/exchange/eenv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/Users/apple/projects/limonproject/api/exchange/eenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/apple/projects/limonproject/api/exchange/eenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/apple/projects/limonproject/api/exchange/exchangerest/views.py", line 28, in test
shell_id = p.open_shell()
File "/Users/apple/projects/limonproject/api/exchange/eenv/lib/python3.6/site-packages/winrm/protocol.py", line 161, in open_shell
root = ET.fromstring(res)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/xml/etree/ElementTree.py", line 1314, in XML
parser.feed(text)
File "", line None
xml.etree.ElementTree.ParseError: syntax error: line 1, column 62
[27/Sep/2018 12:40:19] "GET /test/ HTTP/1.1" 500 88551

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