{"action":"created","comment":{"url":"https://api.github.com/repos/gem/oq-engine/pulls/comments/63836152","id":63836152,"diff_hunk":"@@ -143,10 +142,8 @@ def abort_if_no_config_available():\n         msg = (\n             \"\\nYou are not authorized to read any of the OpenQuake \"\n             \"configuration files.\\n\"\n-            \"Please contact a system administrator or run the following \"\n-            \"command:\\n\\n\"\n-            \"   sudo gpasswd --add %s openquake\"\n-            % pwd.getpwuid(os.geteuid()).pw_name)\n+            \"Please check permissions on the configration files in %s.\"\n+            % cfg._get_paths())","path":"openquake/engine/config.py","position":17,"original_position":17,"commit_id":"b09db1f3431b18e0970af5e9297ae0c6c540058b","original_commit_id":"b09db1f3431b18e0970af5e9297ae0c6c540058b","user":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"body":"While you are at it, you could fix the mispelling `configration` -> `configuration`","created_at":"2016-05-19T07:56:39Z","updated_at":"2016-05-19T07:56:39Z","html_url":"https://github.com/gem/oq-engine/pull/2032#discussion_r63836152","pull_request_url":"https://api.github.com/repos/gem/oq-engine/pulls/2032","_links":{"self":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/comments/63836152"},"html":{"href":"https://github.com/gem/oq-engine/pull/2032#discussion_r63836152"},"pull_request":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/2032"}}},"pull_request":{"url":"https://api.github.com/repos/gem/oq-engine/pulls/2032","id":70520415,"html_url":"https://github.com/gem/oq-engine/pull/2032","diff_url":"https://github.com/gem/oq-engine/pull/2032.diff","patch_url":"https://github.com/gem/oq-engine/pull/2032.patch","issue_url":"https://api.github.com/repos/gem/oq-engine/issues/2032","number":2032,"state":"open","locked":false,"title":"Remove old code which uses pwd","user":{"login":"daniviga","id":1818657,"avatar_url":"https://avatars.githubusercontent.com/u/1818657?v=3","gravatar_id":"","url":"https://api.github.com/users/daniviga","html_url":"https://github.com/daniviga","followers_url":"https://api.github.com/users/daniviga/followers","following_url":"https://api.github.com/users/daniviga/following{/other_user}","gists_url":"https://api.github.com/users/daniviga/gists{/gist_id}","starred_url":"https://api.github.com/users/daniviga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniviga/subscriptions","organizations_url":"https://api.github.com/users/daniviga/orgs","repos_url":"https://api.github.com/users/daniviga/repos","events_url":"https://api.github.com/users/daniviga/events{/privacy}","received_events_url":"https://api.github.com/users/daniviga/received_events","type":"User","site_admin":false},"body":"pwd is not portable on Windows","created_at":"2016-05-18T12:40:53Z","updated_at":"2016-05-19T07:56:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78adb79d3e32bb58348e17130de2033ca627385b","assignee":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gem/oq-engine/milestones/7","html_url":"https://github.com/gem/oq-engine/milestones/Engine%202.0.0","labels_url":"https://api.github.com/repos/gem/oq-engine/milestones/7/labels","id":1621534,"number":7,"title":"Engine 2.0.0","description":"","creator":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":54,"state":"open","created_at":"2016-03-04T04:17:46Z","updated_at":"2016-05-19T07:54:59Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/gem/oq-engine/pulls/2032/commits","review_comments_url":"https://api.github.com/repos/gem/oq-engine/pulls/2032/comments","review_comment_url":"https://api.github.com/repos/gem/oq-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-engine/issues/2032/comments","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/b09db1f3431b18e0970af5e9297ae0c6c540058b","head":{"label":"gem:pwd","ref":"pwd","sha":"b09db1f3431b18e0970af5e9297ae0c6c540058b","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":744916,"name":"oq-engine","full_name":"gem/oq-engine","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-engine","description":"OpenQuake's Engine for Seismic Hazard and Risk Analysis","fork":false,"url":"https://api.github.com/repos/gem/oq-engine","forks_url":"https://api.github.com/repos/gem/oq-engine/forks","keys_url":"https://api.github.com/repos/gem/oq-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-engine/teams","hooks_url":"https://api.github.com/repos/gem/oq-engine/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-engine/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-engine/events","assignees_url":"https://api.github.com/repos/gem/oq-engine/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-engine/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-engine/tags","blobs_url":"https://api.github.com/repos/gem/oq-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-engine/languages","stargazers_url":"https://api.github.com/repos/gem/oq-engine/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-engine/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-engine/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-engine/subscription","commits_url":"https://api.github.com/repos/gem/oq-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-engine/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-engine/merges","archive_url":"https://api.github.com/repos/gem/oq-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-engine/downloads","issues_url":"https://api.github.com/repos/gem/oq-engine/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-engine/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-engine/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-engine/deployments","created_at":"2010-06-28T14:59:42Z","updated_at":"2016-03-23T11:24:19Z","pushed_at":"2016-05-19T07:54:59Z","git_url":"git://github.com/gem/oq-engine.git","ssh_url":"git@github.com:gem/oq-engine.git","clone_url":"https://github.com/gem/oq-engine.git","svn_url":"https://github.com/gem/oq-engine","homepage":"https://github.com/gem/oq-engine/blob/master/doc/engine/About.md","size":508340,"stargazers_count":77,"watchers_count":77,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":16,"forks":54,"open_issues":16,"watchers":77,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"f65738e2408ffad4cc6e70f08c00a8be7e456c14","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":744916,"name":"oq-engine","full_name":"gem/oq-engine","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-engine","description":"OpenQuake's Engine for Seismic Hazard and Risk Analysis","fork":false,"url":"https://api.github.com/repos/gem/oq-engine","forks_url":"https://api.github.com/repos/gem/oq-engine/forks","keys_url":"https://api.github.com/repos/gem/oq-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-engine/teams","hooks_url":"https://api.github.com/repos/gem/oq-engine/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-engine/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-engine/events","assignees_url":"https://api.github.com/repos/gem/oq-engine/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-engine/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-engine/tags","blobs_url":"https://api.github.com/repos/gem/oq-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-engine/languages","stargazers_url":"https://api.github.com/repos/gem/oq-engine/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-engine/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-engine/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-engine/subscription","commits_url":"https://api.github.com/repos/gem/oq-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-engine/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-engine/merges","archive_url":"https://api.github.com/repos/gem/oq-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-engine/downloads","issues_url":"https://api.github.com/repos/gem/oq-engine/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-engine/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-engine/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-engine/deployments","created_at":"2010-06-28T14:59:42Z","updated_at":"2016-03-23T11:24:19Z","pushed_at":"2016-05-19T07:54:59Z","git_url":"git://github.com/gem/oq-engine.git","ssh_url":"git@github.com:gem/oq-engine.git","clone_url":"https://github.com/gem/oq-engine.git","svn_url":"https://github.com/gem/oq-engine","homepage":"https://github.com/gem/oq-engine/blob/master/doc/engine/About.md","size":508340,"stargazers_count":77,"watchers_count":77,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":16,"forks":54,"open_issues":16,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/2032"},"html":{"href":"https://github.com/gem/oq-engine/pull/2032"},"issue":{"href":"https://api.github.com/repos/gem/oq-engine/issues/2032"},"comments":{"href":"https://api.github.com/repos/gem/oq-engine/issues/2032/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/2032/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/2032/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-engine/statuses/b09db1f3431b18e0970af5e9297ae0c6c540058b"}}}}