{"action":"created","issue":{"url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/17","labels_url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/17/comments","events_url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/17/events","html_url":"https://github.com/soulfx/gmusic-playlist/issues/17","id":70737751,"number":17,"title":"httplib.IncompleteRead: IncompleteRead(0 bytes read)","user":{"login":"mgillespie","id":2857589,"avatar_url":"https://avatars.githubusercontent.com/u/2857589?v=3","gravatar_id":"","url":"https://api.github.com/users/mgillespie","html_url":"https://github.com/mgillespie","followers_url":"https://api.github.com/users/mgillespie/followers","following_url":"https://api.github.com/users/mgillespie/following{/other_user}","gists_url":"https://api.github.com/users/mgillespie/gists{/gist_id}","starred_url":"https://api.github.com/users/mgillespie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgillespie/subscriptions","organizations_url":"https://api.github.com/users/mgillespie/orgs","repos_url":"https://api.github.com/users/mgillespie/repos","events_url":"https://api.github.com/users/mgillespie/events{/privacy}","received_events_url":"https://api.github.com/users/mgillespie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-24T16:49:29Z","updated_at":"2015-07-05T03:07:25Z","closed_at":null,"body":"My sync script has suddenly stopped working.  Not sure if Google have changed something, Debian have pushed out some flakey Python update, or what...   I have tried loads of things so far, including a total Python reinstall (which is quite hairy when Debian needs python itself to manage packages).\r\n\r\n\r\nLogging into google music...\r\nhiddenname@gmail.com's password:\r\nTraceback (most recent call last):\r\n  File \"/root/gmusic-playlist/ExportLists.py\", line 17, in <module>\r\n    api = open_api()\r\n  File \"/root/gmusic-playlist/common.py\", line 111, in open_api\r\n    if not api.login(username, password):\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/mobileclient.py\", line 39, in login\r\n    if not self.session.login(email, password):\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py\", line 147, in login\r\n    success = super(Mobileclient, self).login(email, password, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py\", line 122, in login\r\n    webclient.Init.perform(self, True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py\", line 208, in perform\r\n    response = session.send(req_kwargs, cls.required_auth)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py\", line 86, in send\r\n    res = self._send_with_auth(req_kwargs, desired_auth, rsession)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py\", line 142, in _send_with_auth\r\n    return rsession.request(**req_kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 465, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 605, in send\r\n    r.content\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/models.py\", line 750, in content\r\n    self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/models.py\", line 673, in generate\r\n    for chunk in self.raw.stream(chunk_size, decode_content=True):\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py\", line 304, in stream\r\n    for line in self.read_chunked(amt):\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py\", line 411, in read_chunked\r\n    raise httplib.IncompleteRead(''.join(line))\r\nhttplib.IncompleteRead: IncompleteRead(0 bytes read)\r\n"},"comment":{"url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/comments/118573204","html_url":"https://github.com/soulfx/gmusic-playlist/issues/17#issuecomment-118573204","issue_url":"https://api.github.com/repos/soulfx/gmusic-playlist/issues/17","id":118573204,"user":{"login":"soulfx","id":72006,"avatar_url":"https://avatars.githubusercontent.com/u/72006?v=3","gravatar_id":"","url":"https://api.github.com/users/soulfx","html_url":"https://github.com/soulfx","followers_url":"https://api.github.com/users/soulfx/followers","following_url":"https://api.github.com/users/soulfx/following{/other_user}","gists_url":"https://api.github.com/users/soulfx/gists{/gist_id}","starred_url":"https://api.github.com/users/soulfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulfx/subscriptions","organizations_url":"https://api.github.com/users/soulfx/orgs","repos_url":"https://api.github.com/users/soulfx/repos","events_url":"https://api.github.com/users/soulfx/events{/privacy}","received_events_url":"https://api.github.com/users/soulfx/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T03:07:25Z","updated_at":"2015-07-05T03:07:25Z","body":"I believe the 7b715be80e5756c2222cea19a128086ae20cee7c fixes the index out of bounds issues for non all access accounts.  I did a simple test using an account that didn't have all access and it was able to login and run both the import and export scritpts."}}