{"action":"opened","issue":{"url":"https://api.github.com/repos/lutris/lutris/issues/216","labels_url":"https://api.github.com/repos/lutris/lutris/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/lutris/lutris/issues/216/comments","events_url":"https://api.github.com/repos/lutris/lutris/issues/216/events","html_url":"https://github.com/lutris/lutris/issues/216","id":117928577,"number":216,"title":"Error after installing a second version of a game","user":{"login":"Xodetaetl","id":4447503,"avatar_url":"https://avatars.githubusercontent.com/u/4447503?v=3","gravatar_id":"","url":"https://api.github.com/users/Xodetaetl","html_url":"https://github.com/Xodetaetl","followers_url":"https://api.github.com/users/Xodetaetl/followers","following_url":"https://api.github.com/users/Xodetaetl/following{/other_user}","gists_url":"https://api.github.com/users/Xodetaetl/gists{/gist_id}","starred_url":"https://api.github.com/users/Xodetaetl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xodetaetl/subscriptions","organizations_url":"https://api.github.com/users/Xodetaetl/orgs","repos_url":"https://api.github.com/users/Xodetaetl/repos","events_url":"https://api.github.com/users/Xodetaetl/events{/privacy}","received_events_url":"https://api.github.com/users/Xodetaetl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T23:00:38Z","updated_at":"2015-11-19T23:00:38Z","closed_at":null,"body":"Seems like it's trying to set the game `installed` even though the new game row hasn't been added:\r\n\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/installer/interpreter.py\", line 366, in _finish_install\r\n  self.parent.on_install_finished()\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/installgamedialog.py\", line 377, in on_install_finished\r\n  self.notify_install_success()\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/installgamedialog.py\", line 409, in notify_install_success\r\n  self.parent.view.emit('game-installed', self.interpreter.game_id)\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/installer/errors.py\", line 32, in error_handler\r\n  _excepthook(error_type, value, traceback)\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/lutriswindow.py\", line 480, in on_game_installed\r\n  view.set_installed(Game(game_id))\r\nFile \"/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/gameviews.py\", line 229, in set_installed\r\n  raise ValueError(\"Couldn't find row for id %s (%s)\" % (game.id, game))\r\n\r\nValueError: Couldn't find row for id 318 (The Hitchhiker's Guide to the Galaxy (browser))"}}