{"action":"created","issue":{"url":"https://api.github.com/repos/Storj/core/issues/524","repository_url":"https://api.github.com/repos/Storj/core","labels_url":"https://api.github.com/repos/Storj/core/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/Storj/core/issues/524/comments","events_url":"https://api.github.com/repos/Storj/core/issues/524/events","html_url":"https://github.com/Storj/core/issues/524","id":183532264,"number":524,"title":"return binding.rmdir(pathModule._makeLong(path));","user":{"login":"MeijeSibbel","id":11735738,"avatar_url":"https://avatars.githubusercontent.com/u/11735738?v=3","gravatar_id":"","url":"https://api.github.com/users/MeijeSibbel","html_url":"https://github.com/MeijeSibbel","followers_url":"https://api.github.com/users/MeijeSibbel/followers","following_url":"https://api.github.com/users/MeijeSibbel/following{/other_user}","gists_url":"https://api.github.com/users/MeijeSibbel/gists{/gist_id}","starred_url":"https://api.github.com/users/MeijeSibbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeijeSibbel/subscriptions","organizations_url":"https://api.github.com/users/MeijeSibbel/orgs","repos_url":"https://api.github.com/users/MeijeSibbel/repos","events_url":"https://api.github.com/users/MeijeSibbel/events{/privacy}","received_events_url":"https://api.github.com/users/MeijeSibbel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T21:26:47Z","updated_at":"2016-10-17T21:27:27Z","closed_at":"2016-10-17T21:27:27Z","body":"### Package Versions\r\n\r\nReplace the values below using the output from `npm list storj`. Use ```npm list -g storj``` if installed globally.\r\n\r\n```\r\nstorj-bridge@1.0.3 /home/gordon/Code/storj-bridge\r\n└── storj@4.0.6  -> /home/gordon/Code/storj-core\r\n```\r\n\r\nReplace the values below using the output from `node --version`.\r\n\r\n```\r\nv4.6.0\r\n```\r\n### Command\r\n\r\n```\r\nset temp=E:\\Upload\\temp\r\n\r\nfor /l %%x in (1, 1, 1000) do (\r\n   echo %%x\r\n   storj -k meije0612 -r 12 upload-file 57af3a1e8f266a7d4e391055 D:\\films\\*   \r\n   TIMEOUT 2\r\n)\r\n```\r\n\r\n### Expected Behavior\r\n\r\nUpload continues without a problem.\r\n\r\n### Actual Behavior\r\n\r\n```\r\n [Mon Oct 17 2016 23:16:49 GMT+0200 (W. Europe Daylight Time)] [info]   Querying bridge for contract for 3c3397a5d70cc75ba65be44e1ab8c357a85a9122 (retry: 20)\r\n [Mon Oct 17 2016 23:16:49 GMT+0200 (W. Europe Daylight Time)] [info]   Querying bridge for contract for ea7706d505951b188c3099f5fc622b77b021a7ae (retry: 23)\r\n [Mon Oct 17 2016 23:16:49 GMT+0200 (W. Europe Daylight Time)] [info]   Querying bridge for contract for 197855865b9f4d48c8d83154d8ca590be7fed20d (retry: 19)\r\n [Mon Oct 17 2016 23:16:50 GMT+0200 (W. Europe Daylight Time)] [info]   Querying bridge for contract for 03df82e044f994ce070c0b43a28dd1b2a8a77e98 (retry: 18)\r\n [Mon Oct 17 2016 23:16:50 GMT+0200 (W. Europe Daylight Time)] [info]   Querying bridge for contract for 587f10289bf9689a7e0d7b43ce31ea8a7cb4e0e9 (retry: 22)\r\n [Mon Oct 17 2016 23:16:50 GMT+0200 (W. Europe Daylight Time)] [warn]   Failed to upload shard...\r\n [Mon Oct 17 2016 23:16:50 GMT+0200 (W. Europe Daylight Time)] [warn]   [ A.Promise.2013.720p.BluRay.x264.YIFY.mp4 ] Error occurred. Triggering cleanup...\r\n [Mon Oct 17 2016 23:16:50 GMT+0200 (W. Europe Daylight Time)] [info]   [ A.Promise.2013.720p.BluRay.x264.YIFY.mp4 ] Cleaning up...\r\nfs.js:758\r\n  return binding.rmdir(pathModule._makeLong(path));\r\n                 ^\r\n\r\nError: ENOTEMPTY: directory not empty, rmdir 'E:\\Upload\\temp\\storj-42643fyg19oAh6BR'\r\n    at Error (native)\r\n    at Object.fs.rmdirSync (fs.js:758:18)\r\n    at _rmdirRecursiveSync (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\node_modules\\tmp\\lib\\tmp.js:285:10)\r\n    at _cleanupCallback (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\node_modules\\tmp\\lib\\tmp.js:409:5)\r\n    at Uploader._cleanup (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\bin\\actions\\uploader.js:125:3)\r\n    at Uploader._handleFailure (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\bin\\actions\\uploader.js:358:10)\r\n    at C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\bin\\actions\\uploader.js:405:10\r\n    at C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\node_modules\\async\\lib\\async.js:52:16\r\n    at C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\node_modules\\async\\lib\\async.js:1209:30\r\n    at UploadState.callback (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-cli\\bin\\actions\\uploader.js:284:9)\r\n    at _handleError (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-lib\\lib\\bridge-client\\index.js:513:18)\r\n    at C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-lib\\lib\\bridge-client\\index.js:547:16\r\n    at C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-lib\\lib\\bridge-client\\index.js:359:16\r\n    at Request._callback (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-lib\\lib\\bridge-client\\index.js:1016:14)\r\n    at self.callback (C:\\Users\\Dani Marion\\AppData\\Roaming\\npm\\node_modules\\storj\\node_modules\\storj-lib\\node_modules\\request\\request.js:187:22)\r\n    at emitOne (events.js:77:13)\r\n\r\nWaiting for 0 seconds, press a key to continue ...\r\n\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\nUpload a file.\r\n"},"comment":{"url":"https://api.github.com/repos/Storj/core/issues/comments/254339376","html_url":"https://github.com/Storj/core/issues/524#issuecomment-254339376","issue_url":"https://api.github.com/repos/Storj/core/issues/524","id":254339376,"user":{"login":"bookchin","id":1188875,"avatar_url":"https://avatars.githubusercontent.com/u/1188875?v=3","gravatar_id":"","url":"https://api.github.com/users/bookchin","html_url":"https://github.com/bookchin","followers_url":"https://api.github.com/users/bookchin/followers","following_url":"https://api.github.com/users/bookchin/following{/other_user}","gists_url":"https://api.github.com/users/bookchin/gists{/gist_id}","starred_url":"https://api.github.com/users/bookchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bookchin/subscriptions","organizations_url":"https://api.github.com/users/bookchin/orgs","repos_url":"https://api.github.com/users/bookchin/repos","events_url":"https://api.github.com/users/bookchin/events{/privacy}","received_events_url":"https://api.github.com/users/bookchin/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T21:27:27Z","updated_at":"2016-10-17T21:27:27Z","body":"This belongs in https://github.com/Storj/core-cli"}}
{"actor":{"display_login":"bookchin"}}