Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support operation of subfolder project #160

Open
50tonrobot opened this issue Jun 16, 2015 · 0 comments
Open

support operation of subfolder project #160

50tonrobot opened this issue Jun 16, 2015 · 0 comments

Comments

@50tonrobot
Copy link

[Enter steps to reproduce below:]

  1. Open a file from a subfolder of a project directly (not having the project open).
  2. Try to download or upload the file.

Atom Version: 0.209.0
System: Mac OS X 10.10.3
Thrown From: remote-sync package, v3.1.2

Stack Trace

Uncaught TypeError: Cannot read property 'downloadFile' of undefined

At /Users/mike/.atom/packages/remote-sync/index.coffee:64

TypeError: Cannot read property 'downloadFile' of undefined
  at handleEvent (/Users/mike/.atom/packages/remote-sync/index.coffee:64:29)
  at atom-workspace.disposables.add.atom.commands.add.remote-sync:download-file (/Users/mike/.atom/packages/remote-sync/index.coffee:77:42)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at [object Object].jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:64:23)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:75:67)
  at emitTwo (events.js:87:13)
  at EventEmitter.emit (events.js:169:7)
  at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:170:31)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:148:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands

Config

{
  "core": {
    "projectHome": "/workspace"
  },
  "remote-sync": {}
}

Installed Packages

# User
atom-alignment, v0.12.1
highlight-selected, v0.10.0
remote-sync, v3.1.2

# Dev
No dev packages
@yongkangchen yongkangchen changed the title Uncaught TypeError: Cannot read property 'downloadFile' of undefined support operation of subfolder project Jun 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants