{"action":"created","issue":{"url":"https://api.github.com/repos/pyzo/pyzo/issues/393","repository_url":"https://api.github.com/repos/pyzo/pyzo","labels_url":"https://api.github.com/repos/pyzo/pyzo/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/pyzo/pyzo/issues/393/comments","events_url":"https://api.github.com/repos/pyzo/pyzo/issues/393/events","html_url":"https://github.com/pyzo/pyzo/issues/393","id":151474343,"number":393,"title":"TypeError when closing the file browser","user":{"login":"cottsay","id":1144588,"avatar_url":"https://avatars.githubusercontent.com/u/1144588?v=3","gravatar_id":"","url":"https://api.github.com/users/cottsay","html_url":"https://github.com/cottsay","followers_url":"https://api.github.com/users/cottsay/followers","following_url":"https://api.github.com/users/cottsay/following{/other_user}","gists_url":"https://api.github.com/users/cottsay/gists{/gist_id}","starred_url":"https://api.github.com/users/cottsay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cottsay/subscriptions","organizations_url":"https://api.github.com/users/cottsay/orgs","repos_url":"https://api.github.com/users/cottsay/repos","events_url":"https://api.github.com/users/cottsay/events{/privacy}","received_events_url":"https://api.github.com/users/cottsay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T19:46:14Z","updated_at":"2016-05-02T13:17:13Z","closed_at":"2016-05-02T13:16:32Z","body":"There is a `TypeError` which has been popping up on Fedora machines for some time now [1].\r\n\r\nIt looks like an event object is getting passed into the timeout variable when the destroyed signal is triggered [2]. This leads to a type error when join(timeout) tries to interpret the event object as a numeric value [3].\r\n\r\nThe cause of the error is fairly straightforward, but I'm not sure exactly how you want it solved. Creating a wrapper function to connect to the signal which doesn't take an argument and calls the stop() method directly would probably do the trick.\r\n\r\nThanks,\r\n\r\n--scott\r\n\r\n[1] https://retrace.fedoraproject.org/faf/reports/538983/\r\n[2] https://github.com/pyzo/pyzo/blob/master/pyzo/tools/pyzoFileBrowser/browser.py#L37\r\n[3] https://github.com/pyzo/pyzo/blob/master/pyzo/tools/pyzoFileBrowser/proxies.py#L292"},"comment":{"url":"https://api.github.com/repos/pyzo/pyzo/issues/comments/216231816","html_url":"https://github.com/pyzo/pyzo/issues/393#issuecomment-216231816","issue_url":"https://api.github.com/repos/pyzo/pyzo/issues/393","id":216231816,"user":{"login":"almarklein","id":3015475,"avatar_url":"https://avatars.githubusercontent.com/u/3015475?v=3","gravatar_id":"","url":"https://api.github.com/users/almarklein","html_url":"https://github.com/almarklein","followers_url":"https://api.github.com/users/almarklein/followers","following_url":"https://api.github.com/users/almarklein/following{/other_user}","gists_url":"https://api.github.com/users/almarklein/gists{/gist_id}","starred_url":"https://api.github.com/users/almarklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almarklein/subscriptions","organizations_url":"https://api.github.com/users/almarklein/orgs","repos_url":"https://api.github.com/users/almarklein/repos","events_url":"https://api.github.com/users/almarklein/events{/privacy}","received_events_url":"https://api.github.com/users/almarklein/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T13:17:13Z","updated_at":"2016-05-02T13:17:13Z","body":"Thanks for the report! I fixed it by making `timeout` a keyword-only argument."}}