{"action":"closed","issue":{"url":"https://api.github.com/repos/AnarKyx01/RootTheBox/issues/12","labels_url":"https://api.github.com/repos/AnarKyx01/RootTheBox/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/AnarKyx01/RootTheBox/issues/12/comments","events_url":"https://api.github.com/repos/AnarKyx01/RootTheBox/issues/12/events","html_url":"https://github.com/AnarKyx01/RootTheBox/issues/12","id":83362763,"number":12,"title":"botnets causing error when viewing scoreboard","user":{"login":"AnarKyx01","id":10645586,"avatar_url":"https://avatars.githubusercontent.com/u/10645586?v=3","gravatar_id":"","url":"https://api.github.com/users/AnarKyx01","html_url":"https://github.com/AnarKyx01","followers_url":"https://api.github.com/users/AnarKyx01/followers","following_url":"https://api.github.com/users/AnarKyx01/following{/other_user}","gists_url":"https://api.github.com/users/AnarKyx01/gists{/gist_id}","starred_url":"https://api.github.com/users/AnarKyx01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnarKyx01/subscriptions","organizations_url":"https://api.github.com/users/AnarKyx01/orgs","repos_url":"https://api.github.com/users/AnarKyx01/repos","events_url":"https://api.github.com/users/AnarKyx01/events{/privacy}","received_events_url":"https://api.github.com/users/AnarKyx01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AnarKyx01/RootTheBox/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T07:33:41Z","updated_at":"2015-08-30T05:36:26Z","closed_at":"2015-08-30T05:36:26Z","body":"seem'ed to fix when game was reset, but when shutdown and restarted, error returns.\r\n\r\n[E 150601 02:32:25 web:1421] Uncaught exception GET /scoreboard/ajax/summary (192.168.1.41)\r\n    HTTPServerRequest(protocol='http', host='192.168.1.205:8888', method='GET', uri='/scoreboard/ajax/summary', version='HTTP/1.1', remote_ip='192.168.1.41', headers={'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch', 'Host': '192.168.1.205:8888', 'Accept': '*/*', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36', 'Dnt': '1', 'Connection': 'keep-alive', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://192.168.1.205:8888/scoreboard', 'Cookie': '_xsrf=2|0608cdd5|9bec7d1f8d86e555168598f87e6f66c9|1433143359; session_id=\"2|1:0|10:1433143383|10:session_id|44:MWJhMTViOTRhYmM5OTQyMGM5YjQ0ZDA5Mzc1NDE2ZmY=|ec7e60dddc3d731dad250b450cad3856f231be79255325b4487aa08c7f1b626b\"'})\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 1346, in _execute\r\n        result = method(*self.path_args, **self.path_kwargs)\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py\", line 83, in get\r\n        uri[args[0]]()\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py\", line 89, in summary_table\r\n        self.render('scoreboard/summary_table.html', teams=Team.ranks())\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 664, in render\r\n        html = self.render_string(template_name, **kwargs)\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 771, in render_string\r\n        return t.generate(**namespace)\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/template.py\", line 278, in generate\r\n        return execute()\r\n      File \"scoreboard/summary_table_html.generated.py\", line 37, in _tt_execute\r\n        _tt_tmp = BotManager.instance().count_by_team(team)  # scoreboard/summary_table.html:15\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py\", line 133, in count_by_team\r\n        return len(self.by_team(team))\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py\", line 130, in by_team\r\n        return [self.botnet[bot.wsock_uuid] for bot in bots]\r\n    KeyError: u'b673ef67-986a-4134-8cba-891ad23ede7a'\r\n[E 150601 02:32:25 BaseHandlers:189] Request from 192.168.1.41 resulted in an error code 500:\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 1346, in _execute\r\n        result = method(*self.path_args, **self.path_kwargs)\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py\", line 83, in get\r\n        uri[args[0]]()\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py\", line 89, in summary_table\r\n        self.render('scoreboard/summary_table.html', teams=Team.ranks())\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 664, in render\r\n        html = self.render_string(template_name, **kwargs)\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 771, in render_string\r\n        return t.generate(**namespace)\r\n      File \"/usr/local/lib/python2.7/dist-packages/tornado/template.py\", line 278, in generate\r\n        return execute()\r\n      File \"scoreboard/summary_table_html.generated.py\", line 37, in _tt_execute\r\n        _tt_tmp = BotManager.instance().count_by_team(team)  # scoreboard/summary_table.html:15\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py\", line 133, in count_by_team\r\n        return len(self.by_team(team))\r\n      File \"/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py\", line 130, in by_team\r\n        return [self.botnet[bot.wsock_uuid] for bot in bots]\r\n    KeyError: u'b673ef67-986a-4134-8cba-891ad23ede7a'\r\n"}}