{"action":"closed","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/650","labels_url":"https://api.github.com/repos/pychess/pychess/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/650/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/650/events","html_url":"https://github.com/pychess/pychess/issues/650","id":56477288,"number":650,"title":"PyChess crashes given badly formated enginexml data","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"},{"url":"https://api.github.com/repos/pychess/pychess/labels/Easy-Fix","name":"Easy-Fix","color":"ededed"},{"url":"https://api.github.com/repos/pychess/pychess/labels/UI","name":"UI","color":"ededed"},{"url":"https://api.github.com/repos/pychess/pychess/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pychess/pychess/milestones/6","labels_url":"https://api.github.com/repos/pychess/pychess/milestones/6/labels","id":962563,"number":6,"title":"0.12","description":"","creator":{"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},"open_issues":1,"closed_issues":10,"state":"open","created_at":"2015-02-02T22:51:41Z","updated_at":"2015-02-04T04:00:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-02-04T04:00:55Z","updated_at":"2015-02-04T04:00:59Z","closed_at":"2015-02-04T04:00:59Z","body":"Original [issue 650](https://code.google.com/p/pychess/issues/detail?id=650) reported by [lobais](https://code.google.com/u/lobais/) 2011-03-06\n\n**What steps will reproduce the problem?**\n1. Change ~/.config/pychess/engines.xml to \"<engines version=\"0.10.1\"></engine></engines>\" or similar\n2. Run Pychess\n\n**What is the expected output? What do you see instead?**\n\nI get the error:\n\n$ pychess\nTraceback (most recent call last):\n  File \"/usr/bin/pychess\", line 44, in <module>\n    import pychess.Main\n  File \"/usr/lib/python2.7/site-packages/pychess/Main.py\", line 15, in <module>\n    from pychess.widgets import newGameDialog\n  File \"/usr/lib/python2.7/site-packages/pychess/widgets/newGameDialog.py\", line 29, in <module>\n    from pychess.Players.engineNest import discoverer\n  File \"/usr/lib/python2.7/site-packages/pychess/Players/engineNest.py\", line 497, in <module>\n    discoverer = EngineDiscoverer()\n  File \"/usr/lib/python2.7/site-packages/pychess/Players/engineNest.py\", line 134, in \\_\\_init\\_\\_\n    self.dom = ET.ElementTree(file=self.xmlpath)\n  File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 611, in \\_\\_init\\_\\_\n    self.parse(file)\n  File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 653, in parse\n    parser.feed(data)\n  File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 1623, in feed\n    self.\\_raiseerror(v)\n  File \"/usr/lib64/python2.7/xml/etree/ElementTree.py\", line 1487, in \\_raiseerror\n    raise err\nxml.etree.ElementTree.ParseError: mismatched tag: line 2, column 6\n\n\n**Did you use PyChess from a repo, tarball, install or hg?**\n\nPyChess 10rc1 from fedora repos.\n\n\n\nFixing this should be a matter of catching the error in engineNest.py,\nshowing an error dialog and writing to log.Error,\nand falling back to enginexml data from the backup."}}