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

Index error in http_api.py #129

Open
JoseMMontoro opened this issue Mar 11, 2020 · 0 comments
Open

Index error in http_api.py #129

JoseMMontoro opened this issue Mar 11, 2020 · 0 comments

Comments

@JoseMMontoro
Copy link

Here's the error message:

Exception happened during processing of request from ('127.0.0.1', 57697) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 647, in process_request_thread self.finish_request(request, client_address) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 357, in finish_request self.RequestHandlerClass(request, client_address, self) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/server.py", line 646, in __init__ super().__init__(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 717, in __init__ self.handle() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "examples/http_api.py", line 51, in do_GET liw.authentication.authorization_code = params_to_d(self.path).get('code') File "examples/http_api.py", line 34, in <lambda> l[0]: l[1] for l in map(lambda j: j.split('='), urlparse(params).query.split('&')) File "examples/http_api.py", line 34, in <dictcomp> l[0]: l[1] for l in map(lambda j: j.split('='), urlparse(params).query.split('&')) IndexError: list index out of range

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