{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/221","labels_url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/221/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/221/events","html_url":"https://github.com/syncthing/syncthing-gtk/issues/221","id":116075756,"number":221,"title":"Crash on startup (ubuntu 14.04)","user":{"login":"Coeur-Noir","id":1895947,"avatar_url":"https://avatars.githubusercontent.com/u/1895947?v=3","gravatar_id":"","url":"https://api.github.com/users/Coeur-Noir","html_url":"https://github.com/Coeur-Noir","followers_url":"https://api.github.com/users/Coeur-Noir/followers","following_url":"https://api.github.com/users/Coeur-Noir/following{/other_user}","gists_url":"https://api.github.com/users/Coeur-Noir/gists{/gist_id}","starred_url":"https://api.github.com/users/Coeur-Noir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coeur-Noir/subscriptions","organizations_url":"https://api.github.com/users/Coeur-Noir/orgs","repos_url":"https://api.github.com/users/Coeur-Noir/repos","events_url":"https://api.github.com/users/Coeur-Noir/events{/privacy}","received_events_url":"https://api.github.com/users/Coeur-Noir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-10T10:11:31Z","updated_at":"2015-11-10T10:53:48Z","closed_at":null,"body":"Hello,\r\n\r\nWhen I log in into my one session where syncthing is used,\r\n\r\nsyncthing-gtk automatically starts - ok - and then immediatly triggers an apport-gtk windows about crash (although I can't see this crash and syncthing *looks* to work fine…)\r\n\r\n![capture du 2015-11-10 10 42 13](https://cloud.githubusercontent.com/assets/1895947/11059681/54edbbe8-879b-11e5-9105-e46d3541700b.png)\r\n\r\nI have this \"crash\" problem on startup only on one out of my three machines running syncthing + syncthing-gtk, all 3 are ubuntu 14.04\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/comments/155387912","html_url":"https://github.com/syncthing/syncthing-gtk/issues/221#issuecomment-155387912","issue_url":"https://api.github.com/repos/syncthing/syncthing-gtk/issues/221","id":155387912,"user":{"login":"kozec","id":1282500,"avatar_url":"https://avatars.githubusercontent.com/u/1282500?v=3","gravatar_id":"","url":"https://api.github.com/users/kozec","html_url":"https://github.com/kozec","followers_url":"https://api.github.com/users/kozec/followers","following_url":"https://api.github.com/users/kozec/following{/other_user}","gists_url":"https://api.github.com/users/kozec/gists{/gist_id}","starred_url":"https://api.github.com/users/kozec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozec/subscriptions","organizations_url":"https://api.github.com/users/kozec/orgs","repos_url":"https://api.github.com/users/kozec/repos","events_url":"https://api.github.com/users/kozec/events{/privacy}","received_events_url":"https://api.github.com/users/kozec/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T10:53:48Z","updated_at":"2015-11-10T10:53:48Z","body":"Sooo... Discard everything I said before :D From that pastebin:\r\n\r\n>    File \"/usr/lib/python2.7/dist-packages/syncthing_gtk/daemon.py\", line 1282, in rescan\r\n>     self._rest_post(\"db/scan?folder=%s&sub=%s\" % (folder_id, path_enc), {}, lambda *a: a, on_error, folder_id)\r\n> NameError: global name 'on_error' is not defined\r\n\r\nand \r\n\r\n> Title: syncthing-gtk crashed with NameError in rescan(): global name 'on_error' is not defined\r\n\r\nis related to #217 and already fixed. What I don't understand is why apport is reporting it as crash.\r\nST-GTK keeps running, doesn't it?"}}