{"action":"opened","issue":{"url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/136","labels_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/136/comments","events_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/136/events","html_url":"https://github.com/joeferraro/MavensMate-Atom/issues/136","id":56301435,"number":136,"title":"Uncaught Error: ENOTEMPTY, directory not empty 'c:\\Users\\John.Harcourt\\Documents\\MavensMate\\Salesforce\\axDev\\unpackaged\\classes'","user":{"login":"indyHarcourt","id":6604892,"avatar_url":"https://avatars.githubusercontent.com/u/6604892?v=3","gravatar_id":"","url":"https://api.github.com/users/indyHarcourt","html_url":"https://github.com/indyHarcourt","followers_url":"https://api.github.com/users/indyHarcourt/followers","following_url":"https://api.github.com/users/indyHarcourt/following{/other_user}","gists_url":"https://api.github.com/users/indyHarcourt/gists{/gist_id}","starred_url":"https://api.github.com/users/indyHarcourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indyHarcourt/subscriptions","organizations_url":"https://api.github.com/users/indyHarcourt/orgs","repos_url":"https://api.github.com/users/indyHarcourt/repos","events_url":"https://api.github.com/users/indyHarcourt/events{/privacy}","received_events_url":"https://api.github.com/users/indyHarcourt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-02T22:14:44Z","updated_at":"2015-02-02T22:14:44Z","closed_at":null,"body":"1.  On MavensMate settings, typed in \"ApexClass\" for Mm default subscription\r\n2.  Selected MavensMate > Project > New Project\r\n3. Typed in Project Details.  \r\n     ---> This ought to be clear about entering password/security token\r\n4. Clicked on \"Refresh\" button\r\n5. The \"Project Metadata\" tab became active. I expanded the \"ApexClass\" tree and selected one class.\r\n   ---> There is nothing here that makes it clear what to do next. Click on Refresh? No, that just refreshes the tree and unchecks any selections I had made. There are no instructions nor is there an \"OK\" button. The \"Create Project\" button is present for all the tabs, so it isn't clear that's what to click next.\r\n\r\n6. Clicked the \"Create Project\" button. \r\n\r\nI then immediately received the below error.  \r\n[My project name is AxDev.]\r\n\r\nNote that my project directory was not present before I started. It created the AxDev/unpackaged/classes folders.  In the \"unpackaged\" folder is a \"package.xml\" file. Nothing is in the \"classes\" folder.\r\nThanks!\r\n-----\r\n\r\n**Atom Version**: 0.176.0\r\n**System**: Microsoft Windows 7 Professional \r\n**Thrown From**: [MavensMate-Atom](https://github.com/joeferraro/MavensMate-Atom) package, v0.0.15\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: ENOTEMPTY, directory not empty 'c:\\Users\\John.Harcourt\\Documents\\MavensMate\\Salesforce\\axDev\\unpackaged\\classes'\r\n\r\n```\r\nAt c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\async.js:103\r\n\r\nError: ENOTEMPTY, directory not empty 'c:\\Users\\John.Harcourt\\Documents\\MavensMate\\Salesforce\\axDev\\unpackaged\\classes'\r\n  at Error (native)\r\n  at Object.fs.rmdirSync (fs.js:649:18)\r\n  at rmkidsSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:247:11)\r\n  at rmdirSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at rimrafSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:245:5\r\n  at Array.forEach (native)\r\n  at rmkidsSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:244:26)\r\n  at rmdirSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at rimrafSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:245:5\r\n  at Array.forEach (native)\r\n  at rmkidsSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:244:26)\r\n  at rmdirSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at Function.rimrafSync (c:\\Users\\John.Harcourt\\AppData\\Local\\atom\\app-0.176.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at Object.rmrfSync (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\fs-extra\\lib\\remove.js:7:19)\r\n  at c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\lib\\mavensmate\\project.js:351:16\r\n  at tryCatch1 (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\util.js:45:21)\r\n  at Promise._callHandler (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\promise.js:571:13)\r\n  at Promise._settlePromiseFromHandler (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\promise.js:581:18)\r\n  at Promise._settlePromiseAt (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\promise.js:733:18)\r\n  at Promise._settlePromises (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\promise.js:845:14)\r\n  at Async._consumeFunctionBuffer (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\async.js:85:12)\r\n  at Async.consumeFunctionBuffer (c:\\Users\\John.Harcourt\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\bluebird\\js\\main\\async.js:40:14)\r\n  at process._tickCallback (node.js:386:11)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -8:01.3 mavensmate:new-project (atom-text-editor.editor)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-light-ui\",\r\n      \"atom-light-syntax\"\r\n    ]\r\n  },\r\n  \"MavensMate-Atom\": {\r\n    \"mm_workspace\": [\r\n      \"C:\\\\Users\\\\John.Harcourt\\\\Documents\\\\MavensMate\\\\Salesforce\"\r\n    ],\r\n    \"mm_default_subscription\": [\r\n      \"ApexClass\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nlanguage-csharp, v0.3.0\r\nMavensMate-Atom, v0.0.15\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n/cc @atom/core"}}