{"action":"created","issue":{"url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/12","repository_url":"https://api.github.com/repos/rbarysas/twitch-indicator","labels_url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/12/comments","events_url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/12/events","html_url":"https://github.com/rbarysas/twitch-indicator/issues/12","id":177764220,"number":12,"title":"Does not work the first time","user":{"login":"hotice","id":325449,"avatar_url":"https://avatars.githubusercontent.com/u/325449?v=3","gravatar_id":"","url":"https://api.github.com/users/hotice","html_url":"https://github.com/hotice","followers_url":"https://api.github.com/users/hotice/followers","following_url":"https://api.github.com/users/hotice/following{/other_user}","gists_url":"https://api.github.com/users/hotice/gists{/gist_id}","starred_url":"https://api.github.com/users/hotice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotice/subscriptions","organizations_url":"https://api.github.com/users/hotice/orgs","repos_url":"https://api.github.com/users/hotice/repos","events_url":"https://api.github.com/users/hotice/events{/privacy}","received_events_url":"https://api.github.com/users/hotice/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rbarysas/twitch-indicator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-19T11:47:39Z","updated_at":"2016-10-20T09:52:35Z","closed_at":"2016-10-20T09:52:35Z","body":"The first time you run the indicator and add your Twitch username, it doesn't work, and the following output is displayed in the terminal:\r\n```\r\n$ twitch-indicator \r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/usr/bin/twitch-indicator\", line 238, in refresh_streams\r\n    self.live_streams = self.tw.fetch_live_streams(self.followed_channels)\r\n  File \"/usr/bin/twitch-indicator\", line 57, in fetch_live_streams\r\n    self.f = urllib.urlopen(\"https://api.twitch.tv/kraken/streams?client_id=oe77z9pq798tln7ngil0exwr0mun4hj&channel={0}\".format(','.join(self.channels_offset)))\r\nUnicodeEncodeError: 'ascii' codec can't encode characters in position 340-342: ordinal not in range(128)\r\n```\r\nAfter restarting the indicator, it starts working."},"comment":{"url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/comments/255061585","html_url":"https://github.com/rbarysas/twitch-indicator/issues/12#issuecomment-255061585","issue_url":"https://api.github.com/repos/rbarysas/twitch-indicator/issues/12","id":255061585,"user":{"login":"hotice","id":325449,"avatar_url":"https://avatars.githubusercontent.com/u/325449?v=3","gravatar_id":"","url":"https://api.github.com/users/hotice","html_url":"https://github.com/hotice","followers_url":"https://api.github.com/users/hotice/followers","following_url":"https://api.github.com/users/hotice/following{/other_user}","gists_url":"https://api.github.com/users/hotice/gists{/gist_id}","starred_url":"https://api.github.com/users/hotice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotice/subscriptions","organizations_url":"https://api.github.com/users/hotice/orgs","repos_url":"https://api.github.com/users/hotice/repos","events_url":"https://api.github.com/users/hotice/events{/privacy}","received_events_url":"https://api.github.com/users/hotice/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T09:52:35Z","updated_at":"2016-10-20T09:52:35Z","body":"After resetting the twitch-indicator dconf settings and adding my Twitch username, the bug didn't occur with the latest version. So this looks fixed."}}
{"actor":{"display_login":"hotice"}}