{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/897","labels_url":"https://api.github.com/repos/pychess/pychess/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/897/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/897/events","html_url":"https://github.com/pychess/pychess/issues/897","id":56510076,"number":897,"title":"IndexError upon resigning 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":1,"created_at":"2015-02-04T10:38:32Z","updated_at":"2015-02-04T11:11:03Z","closed_at":null,"body":"Original [issue 897](https://code.google.com/p/pychess/issues/detail?id=897) reported by [mattgatto](https://code.google.com/u/mattgatto/) 2014-07-03\n\nI was playing a FICS game and apparently had resigned (according to the log; I didn't notice until later) when I got this IndexError:\n\nTraceback (most recent call last):\n  File \"/home/gatto/code/hg/pychess/lib/pychess/widgets/gamewidget.py\", line 289, in shown\\_changed\n    self.clock.update(wmovecount, bmovecount)\n  File \"/home/gatto/code/hg/pychess/lib/pychess/widgets/ChessClock.py\", line 182, in update\n    wt = formatTime (self.model.getPlayerTime(WHITE, wmovecount))\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\n\nIt looks related to issue #876."},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72837605","html_url":"https://github.com/pychess/pychess/issues/897#issuecomment-72837605","issue_url":"https://api.github.com/repos/pychess/pychess/issues/897","id":72837605,"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-04T11:11:03Z","updated_at":"2015-02-04T11:11:03Z","body":"Original [comment 1.](https://code.google.com/p/pychess/issues/detail?id=897#c1) posted by [mattgatto](https://code.google.com/u/mattgatto/) 2014-07-03\n\n\n * attached [2014-07-03_07-33-01.log.bz2] (https://code.google.com/p/pychess/issues/detail?id=897#c1)\n"}}