{"action":"created","issue":{"url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/94","labels_url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/94/comments","events_url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/94/events","html_url":"https://github.com/yongkangchen/remote-sync/issues/94","id":58253175,"number":94,"title":"Uncaught TypeError: Cannot read property 'fetchFileTree' of undefined","user":{"login":"kevinjosephjohn","id":6767991,"avatar_url":"https://avatars.githubusercontent.com/u/6767991?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjosephjohn","html_url":"https://github.com/kevinjosephjohn","followers_url":"https://api.github.com/users/kevinjosephjohn/followers","following_url":"https://api.github.com/users/kevinjosephjohn/following{/other_user}","gists_url":"https://api.github.com/users/kevinjosephjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjosephjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjosephjohn/subscriptions","organizations_url":"https://api.github.com/users/kevinjosephjohn/orgs","repos_url":"https://api.github.com/users/kevinjosephjohn/repos","events_url":"https://api.github.com/users/kevinjosephjohn/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjosephjohn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T19:06:30Z","updated_at":"2015-03-03T09:45:07Z","closed_at":"2015-03-03T09:45:07Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.181.0\r\n**System**: Mac OS X 10.10.1\r\n**Thrown From**: [remote-sync](https://github.com/yongkangchen/remote-sync) package, v2.4.0\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'fetchFileTree' of undefined\r\n\r\n```\r\nAt /Users/Kevin/.atom/packages/remote-sync/lib/commands/DownloadAllCommand.coffee:12\r\n\r\nTypeError: Cannot read property 'fetchFileTree' of undefined\r\n  at Object.module.exports.run (/Users/Kevin/.atom/packages/remote-sync/lib/commands/DownloadAllCommand.coffee:12:14)\r\n  at download (/Users/Kevin/.atom/packages/remote-sync/lib/RemoteSync.coffee:131:15)\r\n  at atom-workspace.<anonymous> (/Users/Kevin/.atom/packages/remote-sync/lib/RemoteSync.coffee:45:7)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61\r\n  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:120:32)\r\n  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)\r\n  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:176:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -32:10.3 application:new-file (atom-pane.pane.active)\r\n  2x -31:24.5 core:paste (atom-text-editor.editor.is-focused)\r\n 12x -31:08.7 core:backspace (atom-text-editor.editor.is-focused)\r\n  2x -30:51.3 core:save (atom-text-editor.editor.is-focused)\r\n     -30:16.3 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -30:09.7 remote-sync:reload-config (atom-text-editor.editor.is-focused)\r\n     -30:03.7 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -30:01.5 core:confirm (atom-text-editor.editor.mini)\r\n     -30:01.5 remote-sync:download-all (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"atom-dark-syntax\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \".git\",\r\n      \".svn\",\r\n      \".DS_Store\"\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\nlinter, v0.11.1\r\nminimap, v4.2.3\r\nproject-manager, v1.15.5\r\nremote-sync, v2.4.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/comments/76915317","html_url":"https://github.com/yongkangchen/remote-sync/issues/94#issuecomment-76915317","issue_url":"https://api.github.com/repos/yongkangchen/remote-sync/issues/94","id":76915317,"user":{"login":"yongkangchen","id":704762,"avatar_url":"https://avatars.githubusercontent.com/u/704762?v=3","gravatar_id":"","url":"https://api.github.com/users/yongkangchen","html_url":"https://github.com/yongkangchen","followers_url":"https://api.github.com/users/yongkangchen/followers","following_url":"https://api.github.com/users/yongkangchen/following{/other_user}","gists_url":"https://api.github.com/users/yongkangchen/gists{/gist_id}","starred_url":"https://api.github.com/users/yongkangchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongkangchen/subscriptions","organizations_url":"https://api.github.com/users/yongkangchen/orgs","repos_url":"https://api.github.com/users/yongkangchen/repos","events_url":"https://api.github.com/users/yongkangchen/events{/privacy}","received_events_url":"https://api.github.com/users/yongkangchen/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T09:45:07Z","updated_at":"2015-03-03T09:45:07Z","body":"I guess your transport setting is not `scp` or `sftp` or `ftp`?"}}