{"action":"created","issue":{"url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/144","labels_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/144/comments","events_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/144/events","html_url":"https://github.com/mgrenier/remote-ftp/issues/144","id":94224871,"number":144,"title":"Uncaught Error: handle is not a Buffer","user":{"login":"jmlv","id":7571432,"avatar_url":"https://avatars.githubusercontent.com/u/7571432?v=3","gravatar_id":"","url":"https://api.github.com/users/jmlv","html_url":"https://github.com/jmlv","followers_url":"https://api.github.com/users/jmlv/followers","following_url":"https://api.github.com/users/jmlv/following{/other_user}","gists_url":"https://api.github.com/users/jmlv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmlv/subscriptions","organizations_url":"https://api.github.com/users/jmlv/orgs","repos_url":"https://api.github.com/users/jmlv/repos","events_url":"https://api.github.com/users/jmlv/events{/privacy}","received_events_url":"https://api.github.com/users/jmlv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T06:14:50Z","updated_at":"2015-08-06T09:40:33Z","closed_at":"2015-08-06T09:40:33Z","body":"**Atom Version**: 1.0.2\r\n**System**: Unknown Windows Version\r\n**Thrown From**: [remote-sync](https://github.com/yongkangchen/remote-sync) package, v3.1.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: handle is not a Buffer\r\n\r\n```\r\nAt C:\\Users\\Evgeniy\\.atom\\packages\\remote-sync\\node_modules\\ssh2\\lib\\SFTP\\SFTPv3.js:602\r\n\r\nError: handle is not a Buffer\r\n    at SFTP.readdir (C:\\Users\\Evgeniy\\.atom\\packages\\remote-sync\\node_modules\\ssh2\\lib\\SFTP\\SFTPv3.js:602:11)\r\n    at ConnectorSFTP.module.exports.ConnectorSFTP.list (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\connectors\\sftp.js:154:15)\r\n    at Client.<anonymous> (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:323:20)\r\n    at Client.module.exports.Client._next (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:274:21)\r\n    at Client.module.exports.Client._enqueue (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:285:9)\r\n    at Client.<anonymous> (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:322:9)\r\n    at Client.module.exports.Client.onceConnected (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:98:14)\r\n    at Client.module.exports.Client.list (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:321:8)\r\n    at Directory.module.exports.Directory.open (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\directory.js:99:10)\r\n    at ConnectorSFTP.<anonymous> (C:\\Users\\Evgeniy\\.atom\\packages\\Remote-FTP\\lib\\client.js:200:15)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:23.8.0 remote-ftp:toggle (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"language-c\",\r\n      \"language-clojure\",\r\n      \"language-csharp\",\r\n      \"language-go\",\r\n      \"language-java\",\r\n      \"language-objective-c\",\r\n      \"language-perl\",\r\n      \"language-php\",\r\n      \"language-python\",\r\n      \"language-ruby\",\r\n      \"language-ruby-on-rails\",\r\n      \"language-toml\",\r\n      \"metrics\",\r\n      \"symbols-view\",\r\n      \"atom-ctags\",\r\n      \"goto\"\r\n    ]\r\n  },\r\n  \"remote-sync\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\ncolor-picker, v2.0.9\r\nemmet, v2.3.12\r\nfile-type-icons, v0.7.0\r\nfile-types, v0.4.1\r\nlanguage-jade, v0.5.1\r\nlanguage-nginx, v0.5.4\r\nlinter, v1.2.3\r\nlinter-csslint, v0.0.14\r\nlinter-jshint, v0.1.7\r\nlinter-less, v2.0.3\r\nmeteor-api, v2.20.0\r\nproject-manager, v1.15.11\r\nRemote-FTP, v0.7.1\r\nremote-sync, v3.1.2\r\ntag, v0.3.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\nRemote-FTP, v0.7.1 conflicts with remote-sync, v3.1.2. remote-ftp can't connect with remote-sync package."},"comment":{"url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/comments/128309877","html_url":"https://github.com/mgrenier/remote-ftp/issues/144#issuecomment-128309877","issue_url":"https://api.github.com/repos/mgrenier/remote-ftp/issues/144","id":128309877,"user":{"login":"jpxd","id":10384363,"avatar_url":"https://avatars.githubusercontent.com/u/10384363?v=3","gravatar_id":"","url":"https://api.github.com/users/jpxd","html_url":"https://github.com/jpxd","followers_url":"https://api.github.com/users/jpxd/followers","following_url":"https://api.github.com/users/jpxd/following{/other_user}","gists_url":"https://api.github.com/users/jpxd/gists{/gist_id}","starred_url":"https://api.github.com/users/jpxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpxd/subscriptions","organizations_url":"https://api.github.com/users/jpxd/orgs","repos_url":"https://api.github.com/users/jpxd/repos","events_url":"https://api.github.com/users/jpxd/events{/privacy}","received_events_url":"https://api.github.com/users/jpxd/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T09:40:33Z","updated_at":"2015-08-06T09:40:33Z","body":"Okay, first of all: **Wrong repo you filed the issue for!**\r\nThis is an issue from the [remote-sync](https://github.com/yongkangchen/remote-sync) package you use.\r\nThey use an old version of the ssh2 package. This error was fixed some time ago(see mscdex/ssh2#192), but *remote-sync* pinned its ssh2 version down to an old version (see its `package.json`).\r\nPlease submit the issue there."}}