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

Uncaught TypeError: activeSession.copySelection is not a function #107

Open
chriswales95 opened this issue Mar 8, 2019 · 3 comments
Open

Comments

@chriswales95
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Mac OS X 10.14.4
Thrown From: terminal-tab package 0.5.7

Stack Trace

Uncaught TypeError: activeSession.copySelection is not a function

At /Users/christopherwales/.atom/packages/terminal-tab/lib/main.js:43

TypeError: activeSession.copySelection is not a function
    at Object.handleCopy (/packages/terminal-tab/lib/main.js:43:19)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350017)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212945)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1209079)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285196)

Commands

     -4:55.4.0 terminal:open (atom-pane.pane)
     -4:48.8.0 terminal:paste (textarea.xterm-helper-textarea)
     -2:56.9.0 tree-view:add-folder (ol.tree-view-root.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -2:55.3.0 core:backspace (input.hidden-input)
     -2:54.4.0 core:confirm (input.hidden-input)
     -2:45.1.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -2:43.6.0 core:confirm (input.hidden-input)
     -2:42 core:paste (input.hidden-input)
     -2:40.7.0 core:save (input.hidden-input)
     -1:36.9.0 editor:newline (input.hidden-input)
     -1:26.1.0 core:select-all (input.hidden-input)
     -1:25.7.0 core:paste (input.hidden-input)
     -0:21.3.0 core:select-all (input.hidden-input)
     -0:20.9.0 core:paste (input.hidden-input)
     -0:20.3.0 core:save (input.hidden-input)
     -0:12.8.0 terminal:copy (textarea.xterm-helper-textarea)

Non-Core Packages

atom-ternjs 0.18.5 
autocomplete-javascript 0.0.2 
busy-signal 2.0.0 
copy-as-rtf 0.9.3 
framer-ui 2.0.0 
intentions 1.1.5 
linter 2.3.0 
linter-ui-default 1.7.1 
markdown-pdf 2.2.0 
terminal-tab 0.5.7 
@f1ps1
Copy link

f1ps1 commented Jun 30, 2019

Also having this issue...
Installed packages:

atom-ternjs (same as OP)
remote-ftp
terminal-tab
hyperclick

@npokora
Copy link

npokora commented Sep 10, 2019

Try to remove atom-ternjs, as a quick fix. It worked for me

@JakeIwen
Copy link

JakeIwen commented Jul 3, 2020

I posted a more in depth response to the same issue with iv-terminal, which may actually still be maintained.

Here is my proposed atom-ternjs patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants