Floobits / atom-term3

Open Terminal tabs in Atom. Fork of Term package
Other
88 stars 17 forks source link

Uncaught TypeError: Cannot read property 'write' of undefined #100

Open jalas-uca opened 5 years ago

jalas-uca commented 5 years ago

[Enter steps to reproduce:]

  1. Open atom and a file (I've reproduced it with an octave script and with python scripts)
  2. Open term3
  3. open command palette, select pipe path/selection

Atom: 1.31.1 x64 Electron: 2.0.7 OS: Ubuntu 18.04.1 Thrown From: term3 package 0.22.1

Stack Trace

Uncaught TypeError: Cannot read property 'write' of undefined

At /home/user/.atom/packages/term3/index.coffee:298

TypeError: Cannot read property 'write' of undefined
    at Object.pipeTerm (/packages/term3/index.coffee:298:16)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:384:49)
    at Object.didConfirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:152:35)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:413:26)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:118:20)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:384:49)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:110:40)

Commands

     -0:42.2.0 term3:open-split-right (input.hidden-input)
     -0:29.5.0 command-palette:toggle (input.hidden-input)
     -0:27.4.0 core:move-down (input.hidden-input)
     -0:27.1.0 core:confirm (input.hidden-input)
     -0:27.1.0 term3:pipe-selection (input.hidden-input)
     -0:13.4.0 core:backspace (div.terminal)
  2x -0:12.8.0 core:confirm (div.terminal)
     -0:07.5.0 command-palette:toggle (input.hidden-input)
     -0:05.7.0 core:move-down (input.hidden-input)
     -0:05.5.0 core:confirm (input.hidden-input)
     -0:05.5.0 term3:pipe-selection (input.hidden-input)

Non-Core Packages

Hydrogen 2.6.0 
language-matlab 0.2.1 
markdown-preview-enhanced 0.15.7 
markdown-themeable-pdf 1.2.1 
term3 0.22.1 
tool-bar 1.1.10 
tool-bar-atom 1.7.0