{"action":"opened","issue":{"url":"https://api.github.com/repos/yoda-yoda/gmail-api-wrapper/issues/13","repository_url":"https://api.github.com/repos/yoda-yoda/gmail-api-wrapper","labels_url":"https://api.github.com/repos/yoda-yoda/gmail-api-wrapper/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/yoda-yoda/gmail-api-wrapper/issues/13/comments","events_url":"https://api.github.com/repos/yoda-yoda/gmail-api-wrapper/issues/13/events","html_url":"https://github.com/yoda-yoda/gmail-api-wrapper/issues/13","id":381404663,"node_id":"MDU6SXNzdWUzODE0MDQ2NjM=","number":13,"title":"Cannot Read Credential Files","user":{"login":"arlcurten","id":31522822,"node_id":"MDQ6VXNlcjMxNTIyODIy","avatar_url":"https://avatars3.githubusercontent.com/u/31522822?v=4","gravatar_id":"","url":"https://api.github.com/users/arlcurten","html_url":"https://github.com/arlcurten","followers_url":"https://api.github.com/users/arlcurten/followers","following_url":"https://api.github.com/users/arlcurten/following{/other_user}","gists_url":"https://api.github.com/users/arlcurten/gists{/gist_id}","starred_url":"https://api.github.com/users/arlcurten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlcurten/subscriptions","organizations_url":"https://api.github.com/users/arlcurten/orgs","repos_url":"https://api.github.com/users/arlcurten/repos","events_url":"https://api.github.com/users/arlcurten/events{/privacy}","received_events_url":"https://api.github.com/users/arlcurten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T01:06:14Z","updated_at":"2018-11-16T01:06:14Z","closed_at":null,"author_association":"NONE","body":"Hi, I followed the instruction downloading credential file and rename it as \"client_secret.json\" before putting it into  ~/.credentials/ directory. However, Still met a problem when initialize a object from GmailAPIReadWrapper(). Any idea to solve the problem? Thanks.\r\n(Ubuntu 16.0.4)\r\n\r\nPython 3.7.0 (default, Jun 28 2018, 13:15:42)\r\n[GCC 7.2.0] :: Anaconda, Inc. on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from gmail_api_wrapper.crud.read import GmailAPIReadWrapper\r\n>>>\r\n>>>\r\n>>> gmail_api = GmailAPIReadWrapper()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/Tai-chunWei/workspace/gmail-api-wrapper/gmail_api_wrapper/crud/read.py\", line 75, in __init__\r\n    self.gmail_api = GmailAPIConnection().gmail_api_connect()\r\n  File \"/home/Tai-chunWei/workspace/gmail-api-wrapper/gmail_api_wrapper/connection.py\", line 115, in gmail_api_connect\r\n    service = google_api.get_service()\r\n  File \"/home/Tai-chunWei/workspace/gmail-api-wrapper/gmail_api_wrapper/connection.py\", line 97, in get_service\r\n    creds = self._get_credentials()\r\n  File \"/home/Tai-chunWei/workspace/gmail-api-wrapper/gmail_api_wrapper/connection.py\", line 83, in _get_credentials\r\n    credentials = store.get()\r\n  File \"/home/Tai-chunWei/anaconda3/lib/python3.7/site-packages/oauth2client/client.py\", line 407, in get\r\n    return self.locked_get()\r\n  File \"/home/Tai-chunWei/anaconda3/lib/python3.7/site-packages/oauth2client/file.py\", line 54, in locked_get\r\n    credentials = client.Credentials.new_from_json(content)\r\n  File \"/home/Tai-chunWei/anaconda3/lib/python3.7/site-packages/oauth2client/client.py\", line 302, in new_from_json\r\n    module_name = data['_module']\r\nKeyError: '_module'"}}
{"actor":{"display_login":"arlcurten"}}