{"action":"created","issue":{"url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/34","labels_url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/34/comments","events_url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/34/events","html_url":"https://github.com/LiquidHelium/atom-clang-format/issues/34","id":95655471,"number":34,"title":"Uncaught Error: Command failed: clang-format -style=file -cursor=97 -lines=4:11 -assume-filename=...","user":{"login":"k4rtik","id":374340,"avatar_url":"https://avatars.githubusercontent.com/u/374340?v=3","gravatar_id":"","url":"https://api.github.com/users/k4rtik","html_url":"https://github.com/k4rtik","followers_url":"https://api.github.com/users/k4rtik/followers","following_url":"https://api.github.com/users/k4rtik/following{/other_user}","gists_url":"https://api.github.com/users/k4rtik/gists{/gist_id}","starred_url":"https://api.github.com/users/k4rtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4rtik/subscriptions","organizations_url":"https://api.github.com/users/k4rtik/orgs","repos_url":"https://api.github.com/users/k4rtik/repos","events_url":"https://api.github.com/users/k4rtik/events{/privacy}","received_events_url":"https://api.github.com/users/k4rtik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-17T13:21:41Z","updated_at":"2015-08-01T14:00:33Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\nRefactoring C++ code sometimes causes this. My main complaint about the issue is that, I end up in a situation that I can't save the file being currently edited.\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [clang-format](https://github.com/LiquidHelium/atom-clang-format) package, v1.14.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: Command failed: clang-format -style=file -cursor=97 -lines=4:11 -assume-filename=/Users/k4rtik/Projects/test_driven_cpp/src/factors/factors.cpp\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:774\r\n\r\nError: Command failed: clang-format -style=file -cursor=97 -lines=4:11 -assume-filename=/Users/k4rtik/Projects/test_driven_cpp/src/factors/factors.cpp\r\n    at checkExecSyncError (child_process.js:1334:13)\r\n    at execSync (child_process.js:1374:13)\r\n    at ClangFormat.module.exports.ClangFormat.format (/Users/k4rtik/.atom/packages/clang-format/lib/clang-format.coffee:84:16)\r\n    at /Users/k4rtik/.atom/packages/clang-format/lib/clang-format.coffee:40:28\r\n    at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:740:18)\r\n    at /Users/k4rtik/.atom/packages/clang-format/lib/clang-format.coffee:39:27\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)\r\n    at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:985:20)\r\n    at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:978:19)\r\n    at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:579:26)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:28.3.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n  2x -0:27.9.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:27.2.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -0:24.6.0 core:save (atom-text-editor.editor.is-focused)\r\n  7x -0:14 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:11.9.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -0:11.3.0 core:move-up (atom-text-editor.editor.is-focused)\r\n 17x -0:10.8.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  7x -0:08.4.0 core:move-up (atom-text-editor.editor.is-focused)\r\n  5x -0:07.5.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  2x -0:06.7.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:05.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  7x -0:04.3.0 core:select-up (atom-text-editor.editor.is-focused)\r\n     -0:02.8.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n     -0:01.8.0 editor:auto-indent (atom-text-editor.editor.is-focused)\r\n     -0:00.9.0 core:save (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    \"projectHome\": \"/Users/k4rtik/Projects\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautocomplete-clang, v0.8.7\r\nclang-format, v1.14.0\r\nlanguage-elixir, v0.5.1\r\nlinter-clang, v2.26.2\r\nminimap, v4.12.0\r\npigments, v0.8.4\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/comments/126917370","html_url":"https://github.com/LiquidHelium/atom-clang-format/issues/34#issuecomment-126917370","issue_url":"https://api.github.com/repos/LiquidHelium/atom-clang-format/issues/34","id":126917370,"user":{"login":"LiquidHelium","id":361452,"avatar_url":"https://avatars.githubusercontent.com/u/361452?v=3","gravatar_id":"","url":"https://api.github.com/users/LiquidHelium","html_url":"https://github.com/LiquidHelium","followers_url":"https://api.github.com/users/LiquidHelium/followers","following_url":"https://api.github.com/users/LiquidHelium/following{/other_user}","gists_url":"https://api.github.com/users/LiquidHelium/gists{/gist_id}","starred_url":"https://api.github.com/users/LiquidHelium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiquidHelium/subscriptions","organizations_url":"https://api.github.com/users/LiquidHelium/orgs","repos_url":"https://api.github.com/users/LiquidHelium/repos","events_url":"https://api.github.com/users/LiquidHelium/events{/privacy}","received_events_url":"https://api.github.com/users/LiquidHelium/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T14:00:33Z","updated_at":"2015-08-01T14:00:33Z","body":"Possibly fixed by 1fa50c4a5606428652035a668a2dc91154447a68"}}