{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/10931","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/10931/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/10931/comments","events_url":"https://api.github.com/repos/atom/atom/issues/10931/events","html_url":"https://github.com/atom/atom/issues/10931","id":135580857,"number":10931,"title":"UNKNOWN error when saving files","user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/error-from-save","name":"error-from-save","color":"fef2c0"},{"url":"https://api.github.com/repos/atom/atom/labels/needs-reproduction","name":"needs-reproduction","color":"009800"},{"url":"https://api.github.com/repos/atom/atom/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-22T23:40:50Z","updated_at":"2016-02-25T02:09:25Z","closed_at":null,"body":"### Prerequisites\r\n\r\n* [x] Can you reproduce the problem in [safe mode](https://atom.io/docs/latest/hacking-atom-debugging#check-if-the-problem-shows-up-in-safe-mode)?\r\n* [x] Are you running the [latest version of Atom](https://atom.io/docs/latest/hacking-atom-debugging#update-to-the-latest-version)?\r\n* [x] Did you check the [debugging guide](https://atom.io/docs/latest/hacking-atom-debugging)?\r\n* [x] Did you check the [FAQs on Discuss](https://discuss.atom.io/c/faq)?\r\n* [x] Are you reporting to the [correct repository](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#atom-and-packages)?\r\n* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Aatom+-repo%3Aatom%2Felectron) to see if your bug or enhancement is already reported?\r\n\r\n### Description\r\n\r\nWhen saving a file after the first time, Atom throws an UNKNOWN error:\r\n```\r\nUnable to save file 'C:\\Users\\username\\Documents\\GitHub\\markdown-preview\\lib\\markdown-preview-view.coffee'\r\nUNKNOWN: unknown error, open 'C:\\Users\\username\\Documents\\GitHub\\markdown-preview\\lib\\markdown-preview-view.coffee'\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n1. Open file\r\n2. Save for the first time\r\n3. Save for the second time\r\n\r\n**Expected behavior:** File to save successfully each time\r\n\r\n**Actual behavior:** The file saves on the first time but on subsequent tries throws the above UNKNOWN error until the computer is restarted.  The backups of the original file get successfully created.\r\n\r\nAdditional info: After the initial save, it seems like Atom locks the file, and any other programs are unable to save either.  Notepad++ will error on attempting to save *until Atom is closed*, at which point it will be able to save the file.  This started happening Saturday.\r\n\r\n### Versions\r\n\r\nYou can get this information from executing `atom --version` and `apm --version` at the command line.\r\n```\r\n'ELSE' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nAtom    : 1.7.0-dev-e39d200\r\nElectron: 0.36.7\r\nChrome  : 47.0.2526.110\r\nNode    : 5.1.1\r\n```\r\n(Also note the ELSE error, which I'll be reporting separately shortly after this)"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/188562771","html_url":"https://github.com/atom/atom/issues/10931#issuecomment-188562771","issue_url":"https://api.github.com/repos/atom/atom/issues/10931","id":188562771,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T02:09:25Z","updated_at":"2016-02-25T02:09:25Z","body":"@joshaber I've identified the culprit as `status-bar`.  Any tips on debugging this further?  I'm not sure where to go from here."}}