-
Notifications
You must be signed in to change notification settings - Fork 18
Description
First, thank you very much for this code
Yahoo Error:
Exception at /contact-import/
Cannot retrieve a contact list
----After Debugging Issue found which is guid gets None value---
guid is None,
get_guid_url = 'http://social.yahooapis.com/v1/me/guid?format=json'
gives 404 in response message......
so that
get_contacts_url = 'http://social.yahooapis.com/v1/user/None/contacts?format=json'
This above url cause the Exception ..... because of None...
Google Error:
TypeError at /contact-import/
sha1() argument 1 must be string or buffer, not None
Request Method: GET
Request URL: http://localhost:8000/contact-import/?service=google
Django Version: 1.7.11
Exception Type: TypeError
Exception Value:
sha1() argument 1 must be string or buffer, not None
Exception Location: /home/vimal/Python/projects/djangoEasyFriends/venv/src/python-oauth2/oauth2/init.py in sign_request, line 491
Python Executable: /home/vimal/Python/DemoProjects/def/venv/bin/python
Python Version: 2.7.12projects/djangoEasyFriends/venv/src/python-oauth2/oauth2/init.py in sign_request
self['oauth_body_hash'] = base64.b64encode(sha1(self.body).digest())