{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/1547","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/1547/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/1547/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/1547/events","html_url":"https://github.com/zulip/zulip/issues/1547","id":169502487,"number":1547,"title":"More helpful tracebacks in dev environment","user":{"login":"rishig","id":890911,"avatar_url":"https://avatars.githubusercontent.com/u/890911?v=3","gravatar_id":"","url":"https://api.github.com/users/rishig","html_url":"https://github.com/rishig","followers_url":"https://api.github.com/users/rishig/followers","following_url":"https://api.github.com/users/rishig/following{/other_user}","gists_url":"https://api.github.com/users/rishig/gists{/gist_id}","starred_url":"https://api.github.com/users/rishig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishig/subscriptions","organizations_url":"https://api.github.com/users/rishig/orgs","repos_url":"https://api.github.com/users/rishig/repos","events_url":"https://api.github.com/users/rishig/events{/privacy}","received_events_url":"https://api.github.com/users/rishig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zulip/zulip/labels/bite%20size","name":"bite size","color":"bfe5bf"},{"url":"https://api.github.com/repos/zulip/zulip/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/zulip/zulip/labels/refactoring","name":"refactoring","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-05T00:11:36Z","updated_at":"2016-10-10T18:04:39Z","closed_at":null,"body":"A few reasons `tools/run-dev.py` may not work are\r\n* [ ] The user needs to provision or do a database migration.\r\n* [ ] There is already an instance of the dev environment running (user needs to `pkill -f python`, or sometimes `pkill -9 python`).\r\n* [x] They are in vagrant and forgot the `--interface=''` flag.\r\n\r\nIt would be great if we could guess at what was wrong, and print out a hint at the bottom, after the traceback. This should be easy at least for the second one, since we can catch the relevant exception. It doesn't matter if our guess isn't great, as long as it is better than what a new developer could do on their own. "},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/252695748","html_url":"https://github.com/zulip/zulip/issues/1547#issuecomment-252695748","issue_url":"https://api.github.com/repos/zulip/zulip/issues/1547","id":252695748,"user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars.githubusercontent.com/u/2746074?v=3","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T18:04:39Z","updated_at":"2016-10-10T18:04:39Z","body":"For fixing the second issue, we already create a process group for the development environment; I think we could probably solve the problem by saving the process ID for that group to a file under `zulip/var/run/` and then reading that to determine what process group to kill.\r\n"}}
{"actor":{"display_login":"timabbott"}}