{"action":"closed","issue":{"url":"https://api.github.com/repos/Dgame/atom-php-fmt/issues/6","labels_url":"https://api.github.com/repos/Dgame/atom-php-fmt/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Dgame/atom-php-fmt/issues/6/comments","events_url":"https://api.github.com/repos/Dgame/atom-php-fmt/issues/6/events","html_url":"https://github.com/Dgame/atom-php-fmt/issues/6","id":105100740,"number":6,"title":"Uncaught Error: spawn EACCES","user":{"login":"hainuo","id":421861,"avatar_url":"https://avatars.githubusercontent.com/u/421861?v=3","gravatar_id":"","url":"https://api.github.com/users/hainuo","html_url":"https://github.com/hainuo","followers_url":"https://api.github.com/users/hainuo/followers","following_url":"https://api.github.com/users/hainuo/following{/other_user}","gists_url":"https://api.github.com/users/hainuo/gists{/gist_id}","starred_url":"https://api.github.com/users/hainuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hainuo/subscriptions","organizations_url":"https://api.github.com/users/hainuo/orgs","repos_url":"https://api.github.com/users/hainuo/repos","events_url":"https://api.github.com/users/hainuo/events{/privacy}","received_events_url":"https://api.github.com/users/hainuo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-06T15:43:49Z","updated_at":"2015-09-06T18:27:08Z","closed_at":"2015-09-06T18:27:08Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.11\r\n**System**: Mac OS X 10.11\r\n**Thrown From**: [php-fmt](https://github.com/Dgame/atom-php-fmt) package, v0.1.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: spawn EACCES\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260\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 BufferedProcess.module.exports.BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:188:44)\r\n  at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:52:14)\r\n  at Object.module.exports.PhpFmt.transform (/Users/fengliu/.atom/packages/php-fmt/lib/php-fmt.coffee:150:23)\r\n  at atom-workspace.subscriptions.add.atom.commands.add.php-fmt:transform (/Users/fengliu/.atom/packages/php-fmt/lib/php-fmt.coffee:70:89)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245: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:524:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -3:38 core:backspace (input.hidden-input)\r\n  5x -3:34.4.0 core:move-right (input.hidden-input)\r\n     -3:31.8.0 core:save (input.hidden-input)\r\n     -3:28.7.0 editor:log-cursor-scope (input.hidden-input)\r\n     -2:28 grammar-selector:show (atom-text-editor.editor.editor-colors.is-focused)\r\n     -2:16 core:move-right (input.hidden-input)\r\n     -2:15.5.0 core:backspace (input.hidden-input)\r\n  4x -2:10.6.0 core:move-left (input.hidden-input)\r\n     -2:09.8.0 core:backspace (input.hidden-input)\r\n  4x -2:08.7.0 core:move-right (input.hidden-input)\r\n     -2:05.7.0 editor:consolidate-selections (input.hidden-input)\r\n     -2:05.7.0 core:cancel (input.hidden-input)\r\n  7x -1:36.1.0 core:backspace (input.hidden-input)\r\n  4x -0:12.8.0 es6-javascript:wrap-block (input.hidden-input)\r\n  8x -0:07.7.0 core:undo (input.hidden-input)\r\n     -0:02.7.0 php-fmt:transform (input.hidden-input)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"git-diff\",\r\n      \"language-ruby-on-rails\",\r\n      \"language-shellscript\",\r\n      \"open-on-github\",\r\n      \"language-objective-c\",\r\n      \"language-git\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"solarized-dark-syntax\"\r\n    ]\r\n  },\r\n  \"php-fmt\": {\r\n    \"noBackup\": true,\r\n    \"lintBefore\": true,\r\n    \"autoAlign\": true,\r\n    \"php-bin\": \"/usr/local/bin/php\",\r\n    \"phpExecutablePath\": \"/usr/local/\",\r\n    \"useSpaceIndentation\": true,\r\n    \"executablePath\": \"/usr/local/bin/fmt.phar\",\r\n    \"configFile\": \"/User/fengliu/phpfmt.conf\",\r\n    \"PSRNaming\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-jsfmt, v0.8.3\r\natom-jsx-transform, v0.2.0\r\nauto-encoding, v0.4.1\r\ncolor-picker, v2.0.11\r\nes6-javascript, v0.5.0\r\nformatter, v2.12.3\r\ngit-control, v0.3.0\r\nlanguage-babel, v0.13.2\r\nphp-fmt, v0.1.2\r\nreact-snippets, v0.2.0\r\nredux-snippets, v0.2.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}