{"action":"created","issue":{"url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/6","labels_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/6/comments","events_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/6/events","html_url":"https://github.com/enochtsang/TerminalFighter/pull/6","id":107447702,"number":6,"title":"Word generator","user":{"login":"bseto","id":12277640,"avatar_url":"https://avatars.githubusercontent.com/u/12277640?v=3","gravatar_id":"","url":"https://api.github.com/users/bseto","html_url":"https://github.com/bseto","followers_url":"https://api.github.com/users/bseto/followers","following_url":"https://api.github.com/users/bseto/following{/other_user}","gists_url":"https://api.github.com/users/bseto/gists{/gist_id}","starred_url":"https://api.github.com/users/bseto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bseto/subscriptions","organizations_url":"https://api.github.com/users/bseto/orgs","repos_url":"https://api.github.com/users/bseto/repos","events_url":"https://api.github.com/users/bseto/events{/privacy}","received_events_url":"https://api.github.com/users/bseto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-21T05:40:53Z","updated_at":"2015-09-21T06:48:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/6","html_url":"https://github.com/enochtsang/TerminalFighter/pull/6","diff_url":"https://github.com/enochtsang/TerminalFighter/pull/6.diff","patch_url":"https://github.com/enochtsang/TerminalFighter/pull/6.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/comments/141892366","html_url":"https://github.com/enochtsang/TerminalFighter/pull/6#issuecomment-141892366","issue_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/6","id":141892366,"user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T06:48:27Z","updated_at":"2015-09-21T06:48:27Z","body":"```\r\nTraceback (most recent call last):\r\n  File \"terminalfighter.py\", line 17, in <module>\r\n    gamemaster = GameMaster(universe)\r\n  File \"/home/enoch/ext/TerminalFighter/gamemaster.py\", line 15, in __init__\r\n    self.spawn_main_character()\r\n  File \"/home/enoch/ext/TerminalFighter/gamemaster.py\", line 21, in spawn_main_character\r\n    the_main_character = MainCharacter(starting_position, self.universe_)\r\n  File \"/home/enoch/ext/TerminalFighter/maincharacter.py\", line 24, in __init__\r\n    self.weapons_ = [Rifle(self.universe_), HomingMissiles(self.universe_)]\r\n  File \"/home/enoch/ext/TerminalFighter/rifle.py\", line 97, in __init__\r\n    self.targeting_system = RifleTargetingSystem(universe)\r\n  File \"/home/enoch/ext/TerminalFighter/rifle.py\", line 21, in __init__\r\n    self.word_generator = WordGenerator()\r\n  File \"/home/enoch/ext/TerminalFighter/wordgenerator.py\", line 25, in __init__\r\n    self.split_list(self.word_array)\r\n  File \"/home/enoch/ext/TerminalFighter/wordgenerator.py\", line 42, in split_list\r\n    self.index_locations.append(self.locate_first_length(x))\r\n  File \"/home/enoch/ext/TerminalFighter/wordgenerator.py\", line 53, in locate_first_length\r\n    if self.check_if_first(index, requested_length):\r\n  File \"/home/enoch/ext/TerminalFighter/wordgenerator.py\", line 65, in check_if_first\r\n    if len(self.word_array[index]) != requested_length:\r\nTypeError: list indices must be integers, not float\r\n```\r\nGetting this error with python2"}}