{"action":"created","issue":{"url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/5","labels_url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/5/comments","events_url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/5/events","html_url":"https://github.com/blacktop/atom-python-yapf/issues/5","id":95218433,"number":5,"title":"Uncaught Error: spawn EACCES","user":{"login":"The-Penultimate-Defenestrator","id":10377391,"avatar_url":"https://avatars.githubusercontent.com/u/10377391?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Penultimate-Defenestrator","html_url":"https://github.com/The-Penultimate-Defenestrator","followers_url":"https://api.github.com/users/The-Penultimate-Defenestrator/followers","following_url":"https://api.github.com/users/The-Penultimate-Defenestrator/following{/other_user}","gists_url":"https://api.github.com/users/The-Penultimate-Defenestrator/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Penultimate-Defenestrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Penultimate-Defenestrator/subscriptions","organizations_url":"https://api.github.com/users/The-Penultimate-Defenestrator/orgs","repos_url":"https://api.github.com/users/The-Penultimate-Defenestrator/repos","events_url":"https://api.github.com/users/The-Penultimate-Defenestrator/events{/privacy}","received_events_url":"https://api.github.com/users/The-Penultimate-Defenestrator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-15T15:06:41Z","updated_at":"2015-07-21T03:25:37Z","closed_at":null,"body":"I get this every time I try to format code. I've downloaded the yapf package to my main user directory, and these are my settings.\r\n\r\n![screenshot 2015-07-15 11 01 52](https://cloud.githubusercontent.com/assets/10377391/8701622/ed3cf66a-2ae0-11e5-8e7e-1a39efeff964.png)\r\n\r\nHere's the error report:\r\n\r\n**Atom Version**: 1.0.0\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [python-yapf](https://github.com/blacktop/atom-python-yapf) package, v0.7.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: spawn EACCES\r\n\r\n```\r\nAt child_process.js:1145\r\n\r\nError: spawn EACCES\r\n  at exports._errnoException (util.js:734:11)\r\n  at ChildProcess.spawn (child_process.js:1145:11)\r\n  at Object.exports.spawn (child_process.js:977:9)\r\n  at PythonYAPF.module.exports.PythonYAPF.formatCode (/Users/luke/.atom/packages/python-yapf/lib/python-yapf.coffee:84:20)\r\n  at atom-workspace.<anonymous> (/Users/luke/.atom/packages/python-yapf/lib/index.coffee:25:10)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -9:05.1.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -9:03.1.0 settings-view:open (atom-text-editor.editor.is-focused)\r\n  4x -8:44.9.0 core:backspace (atom-text-editor#python-yapf.yapfStyle.editor.mini.is-focused)\r\n     -8:11.1.0 python-yapf:formatCode (atom-text-editor.editor.is-focused)\r\n     -8:05.7.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -8:05.7.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -4:20.5.0 python-yapf:formatCode (atom-text-editor.editor.is-focused)\r\n  3x -4:03.6.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)\r\n     -0:01.6.0 python-yapf:formatCode (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"ignoredNames\": [\r\n      \".git\",\r\n      \".hg\",\r\n      \".svn\",\r\n      \".DS_Store\",\r\n      \"._*\",\r\n      \"Thumbs.db\",\r\n      \"*.pyc\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"deprecation-cop\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-material-ui\",\r\n      \"atom-material-syntax\"\r\n    ]\r\n  },\r\n  \"python-yapf\": {\r\n    \"yapfPath\": \"/Users/luke/yapf\",\r\n    \"yapfStyle\": \"{based_on_style: google, column_limit:120}\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-material-syntax, v0.2.1\r\natom-material-ui, v0.5.1\r\ncolor-picker, v2.0.9\r\nminimap, v4.11.2\r\npython-yapf, v0.7.0\r\nscript, v2.26.3\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/comments/123140353","html_url":"https://github.com/blacktop/atom-python-yapf/issues/5#issuecomment-123140353","issue_url":"https://api.github.com/repos/blacktop/atom-python-yapf/issues/5","id":123140353,"user":{"login":"blacktop","id":6118188,"avatar_url":"https://avatars.githubusercontent.com/u/6118188?v=3","gravatar_id":"","url":"https://api.github.com/users/blacktop","html_url":"https://github.com/blacktop","followers_url":"https://api.github.com/users/blacktop/followers","following_url":"https://api.github.com/users/blacktop/following{/other_user}","gists_url":"https://api.github.com/users/blacktop/gists{/gist_id}","starred_url":"https://api.github.com/users/blacktop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacktop/subscriptions","organizations_url":"https://api.github.com/users/blacktop/orgs","repos_url":"https://api.github.com/users/blacktop/repos","events_url":"https://api.github.com/users/blacktop/events{/privacy}","received_events_url":"https://api.github.com/users/blacktop/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T03:25:37Z","updated_at":"2015-07-21T03:25:37Z","body":"I am having trouble recreating this.  All my atom plugin does is run yapf.  So I don't understand how it can crash atom.  \r\n\r\nCan you try updating Atom to 1.0.2 and yapf to 0.2.3 ?\r\n\r\nI am using the same packages except `script, v2.26.3` can you try temporarily removing that or disabling that package?\r\n\r\nThank you for your help."}}