{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/876","labels_url":"https://api.github.com/repos/pychess/pychess/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/876/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/876/events","html_url":"https://github.com/pychess/pychess/issues/876","id":56508578,"number":876,"title":"IndexError upon being checkmated in FICS game","user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pychess/pychess/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-04T10:24:13Z","updated_at":"2015-02-04T10:25:26Z","closed_at":null,"body":"Original [issue 876](https://code.google.com/p/pychess/issues/detail?id=876) reported by [mattgatto](https://code.google.com/u/mattgatto/) 2014-05-29\n\nI was playing a FICS game and got checkmated and then got the following exception. I didn't notice until later on, so the exception is not at the end of the log file attached.\n\nTraceback (most recent call last):\n  File \"/home/gatto/code/hg/pychess/lib/pychess/widgets/gamewidget.py\", line 285, in shown\\_changed\n    self.clock.update(wmovecount, bmovecount)\n  File \"/home/gatto/code/hg/pychess/lib/pychess/widgets/ChessClock.py\", line 183, in update\n    bt = formatTime (self.model.getPlayerTime(BLACK, bmovecount))\n  File \"/home/gatto/code/hg/pychess/lib/pychess/Utils/TimeModel.py\", line 224, in getPlayerTime\n    return self.intervals[color][movecount]\nIndexError: list index out of range"},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72831881","html_url":"https://github.com/pychess/pychess/issues/876#issuecomment-72831881","issue_url":"https://api.github.com/repos/pychess/pychess/issues/876","id":72831881,"user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T10:25:26Z","updated_at":"2015-02-04T10:25:26Z","body":"Original [comment 3.](https://code.google.com/p/pychess/issues/detail?id=876#c3) posted by [mattgatto](https://code.google.com/u/mattgatto/) 2014-05-29\n\nAlong with or otherwise catching IndexError in getPlayerTime and logging a warning instead of raising an exception."}}