{"action":"created","issue":{"url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/22","labels_url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/22/comments","events_url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/22/events","html_url":"https://github.com/codeforseoul/congress-report-web/issues/22","id":99461187,"number":22,"title":"특정 선거구를 선택할 때 에러 IndexError: list index out of range","user":{"login":"thechunsik","id":1366161,"avatar_url":"https://avatars.githubusercontent.com/u/1366161?v=3","gravatar_id":"","url":"https://api.github.com/users/thechunsik","html_url":"https://github.com/thechunsik","followers_url":"https://api.github.com/users/thechunsik/followers","following_url":"https://api.github.com/users/thechunsik/following{/other_user}","gists_url":"https://api.github.com/users/thechunsik/gists{/gist_id}","starred_url":"https://api.github.com/users/thechunsik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thechunsik/subscriptions","organizations_url":"https://api.github.com/users/thechunsik/orgs","repos_url":"https://api.github.com/users/thechunsik/repos","events_url":"https://api.github.com/users/thechunsik/events{/privacy}","received_events_url":"https://api.github.com/users/thechunsik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codeforseoul/congress-report-web/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-06T15:21:06Z","updated_at":"2015-08-12T02:09:59Z","closed_at":"2015-08-11T10:18:35Z","body":"몇 가지 선거구를 선택했을 때 다음 에러가 뜨네요. 어떤 선거구는 잘 되고...\r\n\r\n```bash\r\n File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1836, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1820, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1403, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/_compat.py\", line 33, in reraise\r\n    raise value\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/_compat.py\", line 33, in reraise\r\n    raise value\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/local/lib/python3.4/site-packages/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/Users/hoony/Projects/congress-report/index.py\", line 34, in get_member_idx\r\n    return str(find_member_idx(city_name, local_name, town_name))\r\n  File \"/Users/hoony/Projects/congress-report/districtfinder.py\", line 41, in find_member_idx\r\n    return find_member_idx_with_district(city_name, find_district_name(city_name, local_name, town_name))\r\n  File \"/Users/hoony/Projects/congress-report/districtfinder.py\", line 36, in find_member_idx_with_district\r\n    selected_member = list(filter(lambda x: x['district'] == gen_district, assembly_data))[0]\r\nIndexError: list index out of range\r\n```"},"comment":{"url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/comments/130136333","html_url":"https://github.com/codeforseoul/congress-report-web/issues/22#issuecomment-130136333","issue_url":"https://api.github.com/repos/codeforseoul/congress-report-web/issues/22","id":130136333,"user":{"login":"mozodev","id":1661950,"avatar_url":"https://avatars.githubusercontent.com/u/1661950?v=3","gravatar_id":"","url":"https://api.github.com/users/mozodev","html_url":"https://github.com/mozodev","followers_url":"https://api.github.com/users/mozodev/followers","following_url":"https://api.github.com/users/mozodev/following{/other_user}","gists_url":"https://api.github.com/users/mozodev/gists{/gist_id}","starred_url":"https://api.github.com/users/mozodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozodev/subscriptions","organizations_url":"https://api.github.com/users/mozodev/orgs","repos_url":"https://api.github.com/users/mozodev/repos","events_url":"https://api.github.com/users/mozodev/events{/privacy}","received_events_url":"https://api.github.com/users/mozodev/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T02:09:59Z","updated_at":"2015-08-12T02:09:59Z","body":"땡기고 함 돌려봤는데 잘 되네요! :+1: \r\n![2015-08-12 10 59 23](https://cloud.githubusercontent.com/assets/1661950/9215219/a19323b6-40e2-11e5-807d-da22e181ae4c.png)\r\n"}}