{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/infer/issues/64","labels_url":"https://api.github.com/repos/facebook/infer/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/facebook/infer/issues/64/comments","events_url":"https://api.github.com/repos/facebook/infer/issues/64/events","html_url":"https://github.com/facebook/infer/issues/64","id":88446673,"number":64,"title":"Permission denied","user":{"login":"MrThiago","id":7438286,"avatar_url":"https://avatars.githubusercontent.com/u/7438286?v=3","gravatar_id":"","url":"https://api.github.com/users/MrThiago","html_url":"https://github.com/MrThiago","followers_url":"https://api.github.com/users/MrThiago/followers","following_url":"https://api.github.com/users/MrThiago/following{/other_user}","gists_url":"https://api.github.com/users/MrThiago/gists{/gist_id}","starred_url":"https://api.github.com/users/MrThiago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrThiago/subscriptions","organizations_url":"https://api.github.com/users/MrThiago/orgs","repos_url":"https://api.github.com/users/MrThiago/repos","events_url":"https://api.github.com/users/MrThiago/events{/privacy}","received_events_url":"https://api.github.com/users/MrThiago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-15T14:41:48Z","updated_at":"2015-06-15T14:56:41Z","closed_at":null,"body":"Hello I am trying to run infer and getting this error \r\n\r\ninfer -- ./gradlew build\r\nTraceback (most recent call last):\r\n  File \"/Users/user/1-Programming/4-Infer/infer-osx-v0.1.0/infer/infer/bin/infer\", line 142, in <module>\r\n    main()\r\n  File \"/Users/user/1-Programming/4-Infer/infer-osx-v0.1.0/infer/infer/bin/infer\", line 119, in main\r\n    capture_exitcode = imported_module.gen_instance(args, cmd).capture()\r\n  File \"/Users/user/1-Programming/4-Infer/infer-osx-v0.1.0/infer/infer/bin/../lib/capture/gradle.py\", line 41, in capture\r\n    cmds = self.get_inferJ_commands(util.get_build_output(self.build_cmd))\r\n  File \"/Users/user/1-Programming/4-Infer/infer-osx-v0.1.0/infer/infer/bin/../lib/capture/util.py\", line 24, in get_build_output\r\n    proc = subprocess.Popen(build_cmd, stdout=subprocess.PIPE)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 709, in __init__\r\n    errread, errwrite)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 1326, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 13] Permission denied\r\n\r\n\r\n\r\nI have installed \r\njava version \"1.8.0_31\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_31-b13)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)\r\njavac 1.8.0_31\r\n\r\npython --version\r\nPython 2.7.6\r\n\r\n\r\nP.S. I am able to run Infer infer -- ./gradlew build in ther sample directory which comes with it.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/infer/issues/comments/112097037","html_url":"https://github.com/facebook/infer/issues/64#issuecomment-112097037","issue_url":"https://api.github.com/repos/facebook/infer/issues/64","id":112097037,"user":{"login":"MrThiago","id":7438286,"avatar_url":"https://avatars.githubusercontent.com/u/7438286?v=3","gravatar_id":"","url":"https://api.github.com/users/MrThiago","html_url":"https://github.com/MrThiago","followers_url":"https://api.github.com/users/MrThiago/followers","following_url":"https://api.github.com/users/MrThiago/following{/other_user}","gists_url":"https://api.github.com/users/MrThiago/gists{/gist_id}","starred_url":"https://api.github.com/users/MrThiago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrThiago/subscriptions","organizations_url":"https://api.github.com/users/MrThiago/orgs","repos_url":"https://api.github.com/users/MrThiago/repos","events_url":"https://api.github.com/users/MrThiago/events{/privacy}","received_events_url":"https://api.github.com/users/MrThiago/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T14:56:41Z","updated_at":"2015-06-15T14:56:41Z","body":"same thing.\r\n\r\n./gradlew build\r\nenv: bash\\r: No such file or directory\r\n\r\nI will try to restore my project..."}}