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

Error #112

Open
athulaugustine opened this issue Jun 11, 2018 · 0 comments
Open

Error #112

athulaugustine opened this issue Jun 11, 2018 · 0 comments

Comments

@athulaugustine
Copy link

at@at-Vostro-3445:~/Desktop/python-linkedin-master/examples$ python3 http_api.py
Server started on port:8080
127.0.0.1 - - [11/Jun/2018 11:08:33] "GET / HTTP/1.1" 200 -

Exception happened during processing of request from ('127.0.0.1', 42956)
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in init
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
method()
File "http_api.py", line 62, in do_GET
open_new_tab(liw.authentication.authorization_url)
File "/home/at/.local/lib/python3.5/site-packages/linkedin/linkedin.py", line 112, in authorization_url
qsl.append('%s=%s' % (quote(k), quote(v)))
File "/usr/lib/python3.5/urllib/parse.py", line 712, in quote
return quote_from_bytes(string, safe)
File "/usr/lib/python3.5/urllib/parse.py", line 737, in quote_from_bytes
raise TypeError("quote_from_bytes() expected bytes")
TypeError: quote_from_bytes() expected bytes

127.0.0.1 - - [11/Jun/2018 11:08:34] "GET /favicon.ico HTTP/1.1" 200 -

Exception happened during processing of request from ('127.0.0.1', 42958)
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in init
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
method()
File "http_api.py", line 62, in do_GET
open_new_tab(liw.authentication.authorization_url)
File "/home/at/.local/lib/python3.5/site-packages/linkedin/linkedin.py", line 112, in authorization_url
qsl.append('%s=%s' % (quote(k), quote(v)))
File "/usr/lib/python3.5/urllib/parse.py", line 712, in quote
return quote_from_bytes(string, safe)
File "/usr/lib/python3.5/urllib/parse.py", line 737, in quote_from_bytes
raise TypeError("quote_from_bytes() expected bytes")
TypeError: quote_from_bytes() expected bytes

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