lgeiger / hydrogen-launcher

:rocket: Launch terminals and jupyter consoles connected to hydrogen
https://atom.io/packages/hydrogen-launcher
MIT License
96 stars 25 forks source link

Uncaught TypeError: Cannot read property 'getPath' of undefined #41

Closed Pamotis closed 4 years ago

Pamotis commented 4 years ago

Steps to reproduce:

  1. ctrl+shift+p
  2. Select Hydrogen Launcher

Atom: 1.43.0 x64 Electron: 4.2.7 OS: Ubuntu 18.04.4 Thrown From: hydrogen-launcher package 1.2.2

Stack Trace

Uncaught TypeError: Cannot read property 'getPath' of undefined

At /home/pamotis/.atom/packages/hydrogen-launcher/lib/main.js:154

TypeError: Cannot read property 'getPath' of undefined
    at Object.getCWD (/packages/hydrogen-launcher/lib/main.js:154:56)
    at Object.launchTerminal (/packages/hydrogen-launcher/lib/main.js:73:35)
    at HTMLElement.hydrogenLauncherLaunchTerminal (/packages/hydrogen-launcher/lib/main.js:38:55)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349290)
    at Object.didConfirmSelection (/usr/share/atom/resources/app/static/<embedded>:11:699460)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/static/<embedded>:11:874785)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/static/<embedded>:11:869664)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349290)
    at KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:1253549)
    at KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/static/<embedded>:11:1249683)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/static/<embedded>:11:284496)

Commands

  5x -1:45.7.0 core:backspace (input.hidden-input)
     -1:43.8.0 editor:consolidate-selections (input.hidden-input)
     -1:43.8.0 core:cancel (input.hidden-input)
     -1:33.4.0 bracket-matcher:go-to-matching-bracket (input.hidden-input)
     -1:32.5.0 settings-view:open (input.hidden-input)
     -1:32.2.0 key-binding-resolver:toggle (div.panels-item)
     -1:32 settings-view:open (atom-pane.pane.active)
     -0:14.2.0 command-palette:toggle (input.hidden-input)
 19x -0:12.2.0 core:move-down (input.hidden-input)
 18x -0:10.6.0 core:move-up (input.hidden-input)
  6x -0:09.4.0 core:move-down (input.hidden-input)
     -0:08.5.0 core:move-up (input.hidden-input)
  4x -0:08.3.0 core:move-down (input.hidden-input)
     -0:06.0 core:move-up (input.hidden-input)
     -0:05.5.0 core:confirm (input.hidden-input)
     -0:05.5.0 hydrogen-launcher:launch-terminal (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-runner 2.7.1 
file-icons 2.1.38 
highlight-selected 0.17.0 
Hydrogen 2.8.0 
hydrogen-launcher 1.2.2 
ide-python 1.5.0 
script 3.25.0 
vk-terminal 3.0.1