{"action":"created","issue":{"url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/756","repository_url":"https://api.github.com/repos/mgrenier/remote-ftp","labels_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/756/labels{/name}","comments_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/756/comments","events_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/756/events","html_url":"https://github.com/mgrenier/remote-ftp/issues/756","id":219527989,"number":756,"title":"Uncaught Error: EEXIST: file already exists, mkdir '~/Jordan/DeuxiemeAvis/_global/js/_trans'","user":{"login":"Dalanir","id":4061263,"avatar_url":"https://avatars2.githubusercontent.com/u/4061263?v=3","gravatar_id":"","url":"https://api.github.com/users/Dalanir","html_url":"https://github.com/Dalanir","followers_url":"https://api.github.com/users/Dalanir/followers","following_url":"https://api.github.com/users/Dalanir/following{/other_user}","gists_url":"https://api.github.com/users/Dalanir/gists{/gist_id}","starred_url":"https://api.github.com/users/Dalanir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dalanir/subscriptions","organizations_url":"https://api.github.com/users/Dalanir/orgs","repos_url":"https://api.github.com/users/Dalanir/repos","events_url":"https://api.github.com/users/Dalanir/events{/privacy}","received_events_url":"https://api.github.com/users/Dalanir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-05T09:52:28Z","updated_at":"2017-04-06T18:46:11Z","closed_at":null,"body":"[Enter steps to reproduce:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom**: 1.15.0 x64\r\n**Electron**: 1.3.13\r\n**OS**: Mac OS X 10.12.4\r\n**Thrown From**: [Remote-FTP](https://github.com/mgrenier/remote-ftp) package 0.10.7\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: EEXIST: file already exists, mkdir '/Users/lorho_j/Jordan/DeuxiemeAvis/_global/js/_trans'\r\n\r\n```\r\nAt /Users/lorho_j/.atom/packages/Remote-FTP/node_modules/mkdirp/index.js:92\r\n\r\nError: EEXIST: file already exists, mkdir '/Users/lorho_j/Jordan/DeuxiemeAvis/_global/js/_trans'\r\n  at Error (native)\r\n  at Object.fs.mkdirSync (fs.js:922:18)\r\n  at Function.sync (/packages/Remote-FTP/node_modules/mkdirp/index.js:71:13)\r\n  at Object.makeTreeSync (/packages/Remote-FTP/node_modules/fs-plus/lib/fs-plus.js:381:23)\r\n  at /packages/Remote-FTP/lib/connectors/ftp.js:222:39\r\n  at /packages/Remote-FTP/lib/connectors/ftp.js:254:19\r\n  at Object.cb (/packages/Remote-FTP/node_modules/ftp/lib/connection.js:348:5)\r\n  at /packages/Remote-FTP/node_modules/ftp/lib/connection.js:117:20)\r\n  at emitTwo (events.js:106:13)\r\n  at Parser.emit (events.js:191:7)\r\n  at Parser._write (/packages/Remote-FTP/node_modules/ftp/lib/parser.js:59:10)\r\n  at doWrite (_stream_writable.js:307:12)\r\n  at writeOrBuffer (_stream_writable.js:293:5)\r\n  at Parser.Writable.write (_stream_writable.js:220:11)\r\n  at Socket.ondata (/packages/Remote-FTP/node_modules/ftp/lib/connection.js:273:20)\r\n  at emitOne (events.js:96:13)\r\n  at Socket.emit (events.js:188:7)\r\n  at readableAddChunk (_stream_readable.js:176:18)\r\n  at Socket.Readable.push (_stream_readable.js:134:10)\r\n  at TCP.onread (net.js:543:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -5:10 core:save (input.hidden-input)\r\n     -4:24.2.0 editor:select-line (input.hidden-input)\r\n     -2:36.9.0 remote-ftp:add-file (div.header.list-item)\r\n     -2:34.4.0 core:confirm (input.hidden-input)\r\n     -2:29.4.0 remote-ftp:delete-selected (span.name.icon.icon-file-text)\r\n     -2:25.8.0 remote-ftp:add-folder (div.header.list-item)\r\n     -2:24 core:confirm (input.hidden-input)\r\n     -2:20.3.0 remote-ftp:add-file (span.name.icon.icon-file-directory)\r\n     -2:13.1.0 core:confirm (input.hidden-input)\r\n     -1:55.5.0 remote-ftp:add-file (span.name.icon.icon-file-directory)\r\n     -1:50.4.0 core:backspace (input.hidden-input)\r\n     -1:47.7.0 core:confirm (input.hidden-input)\r\n     -1:35.1.0 remote-ftp:add-file (span.name.icon.icon-file-directory)\r\n  2x -1:33.5.0 core:backspace (input.hidden-input)\r\n     -1:26.5.0 core:confirm (input.hidden-input)\r\n     -0:18.6.0 remote-ftp:connect (ol.ftptree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n```\r\n\r\n### Non-Core Packages\r\n\r\n```\r\nfile-header 1.13.3 \r\nfile-types 0.5.5 \r\nnuclide 0.158.0 \r\nphp-twig 4.0.0 \r\nquit-control 1.0.0 \r\nRemote-FTP 0.10.7 \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/comments/292272823","html_url":"https://github.com/mgrenier/remote-ftp/issues/756#issuecomment-292272823","issue_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/756","id":292272823,"user":{"login":"tobinfekkes","id":6226162,"avatar_url":"https://avatars2.githubusercontent.com/u/6226162?v=3","gravatar_id":"","url":"https://api.github.com/users/tobinfekkes","html_url":"https://github.com/tobinfekkes","followers_url":"https://api.github.com/users/tobinfekkes/followers","following_url":"https://api.github.com/users/tobinfekkes/following{/other_user}","gists_url":"https://api.github.com/users/tobinfekkes/gists{/gist_id}","starred_url":"https://api.github.com/users/tobinfekkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobinfekkes/subscriptions","organizations_url":"https://api.github.com/users/tobinfekkes/orgs","repos_url":"https://api.github.com/users/tobinfekkes/repos","events_url":"https://api.github.com/users/tobinfekkes/events{/privacy}","received_events_url":"https://api.github.com/users/tobinfekkes/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T18:46:11Z","updated_at":"2017-04-06T18:46:11Z","body":"The root of the problem: deleting a file from the remote tree doesn't also delete the corresponding file in the local tree. So when you go to open that file back up (or create a new file in the remote that still exists in the local from before), it finds two files with the same name (hence the error message) with different content. \r\n\r\nYou can fix it by navigating to the directory in Finder/Explorer and removing the duplicate files. Then at least Atom will open the file from the server, and create a new file on your local. But it will happen again when you delete a file from the remote tree."}}
{"actor":{"display_login":"tobinfekkes"}}