{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/517","labels_url":"https://api.github.com/repos/pychess/pychess/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/517/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/517/events","html_url":"https://github.com/pychess/pychess/issues/517","id":56455128,"number":517,"title":"Fruit engine crashes PyChess after undo.","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":10,"created_at":"2015-02-03T23:24:30Z","updated_at":"2015-02-03T23:25:58Z","closed_at":null,"body":"Original [issue 517](https://code.google.com/p/pychess/issues/detail?id=517) reported by [zollo.john](https://code.google.com/u/117741568078251192015/) 2010-01-20\n\n**What steps will reproduce the problem?**\n1. Start game against fruit engine.\n2. Make a move.\n3. Undo.\n4. PyChess will crash\n\n**What is the expected output? What do you see instead?**\n\n   Expected output is an undo.  I see a crash instead.\n\n**Does it happen every time?**\n\n   Yes.\n\n**What version of the product are you using?**\n\n    r1578\n\n**Did you use an installed version of PyChess or did you run in from a**\n**tarball/svn?**\n\n     SVN\n\n**Please provide any additional information below.**\n\n     Not much to say -- play against fruit, undo.  That's it.  I've\nattached the logs and the bug buddy (bug buddy seems more useful).  I use\nPython 2.5 in Ubuntu 8.10 Intrepid Ibex.\n\n**Please attach the latest pychess logfile. It's in a hidden folder, under**\nyour homedirectory, named \".pychess/\""},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72758728","html_url":"https://github.com/pychess/pychess/issues/517#issuecomment-72758728","issue_url":"https://api.github.com/repos/pychess/pychess/issues/517","id":72758728,"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-03T23:25:57Z","updated_at":"2015-02-03T23:25:57Z","body":"Original [comment 9.](https://code.google.com/p/pychess/issues/detail?id=517#c9) posted by [mattgatto](https://code.google.com/u/mattgatto/) 2010-02-14\n\nI don't think having Fruit was necessary to reproduce this. I saw it a bunch of times but just now \nhappened upon on how to reproduce it:\n1. start pychess and go to Preferences > Sidepanels and then close the Preferences dialog\n2. start a new game and play a few moves\n3. try to undo a move via Action > Undo Moves\n\nWhat was happening was that the gamewidget wasn't disconnecting from the menuItem signal \nhandlers upon being deleted, and when the user tried to undo a move in a game later on, it sent this \ngamewidget's BoardControl object and undo request but it's model.players was empty resulting in an \nIndexError.\n * added label: Defect\n"}}