JunoLab / atom-julia-client

Juno a good IDE?
http://junolab.org
MIT License
273 stars 72 forks source link

Uncaught TypeError: path.dirname is not a function #771

Open felipemarkson opened 3 years ago

felipemarkson commented 3 years ago

[Enter steps to reproduce:]

  1. Juno -> New Terminal -> Current File's Folder

Atom: 1.53.0 x64 Electron: 6.1.12 OS: Ubuntu 20.04.1 Thrown From: julia-client package 0.12.6

Stack Trace

Uncaught TypeError: path.dirname is not a function

At /home/monteiro/.atom/packages/julia-client/lib/runtime/evaluation.coffee:182

TypeError: path.dirname is not a function
    at Object.currentDir (/packages/julia-client/lib/runtime/evaluation.coffee:182:17)
    at HTMLElement.juliaClientNewTerminalFromCurrentFolder (/packages/julia-client/lib/runtime/console.js:142:32)
    at CommandRegistry.handleCommandEvent (/snap/atom/265/usr/share/atom/resources/app/static/<embedded>:11:350265)
    at CommandRegistry.dispatch (/snap/atom/265/usr/share/atom/resources/app/static/<embedded>:11:348740)
    at AtomEnvironment.dispatchApplicationMenuCommand (/snap/atom/265/usr/share/atom/resources/app/static/<embedded>:1:727464)
    at EventEmitter.t (/snap/atom/265/usr/share/atom/resources/app/static/<embedded>:1:735387)
    at EventEmitter.emit (events.js:200:13)
    at Object.onMessage (/snap/atom/265/usr/share/atom/resources/electron.asar/renderer/init.js:42:16)

Commands

     -1:55.1.0 julia-client:run-all (input.hidden-input)
     -1:55.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.has-selection)
     -1:55.1.0 inline-results:clear-all (atom-text-editor.editor.is-focused.has-selection)
     -1:49.1.0 editor:toggle-line-comments (input.hidden-input)
     -1:48.6.0 core:save (input.hidden-input)
     -1:45.2.0 core:confirm (textarea.xterm-helper-textarea)
  2x -1:44.1.0 core:save (input.hidden-input)
  3x -1:35.4.0 core:backspace (input.hidden-input)
     -1:33.2.0 core:save (input.hidden-input)
     -1:31.7.0 julia-client:run-all (input.hidden-input)
     -1:31.7.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -1:31.7.0 inline-results:clear-all (atom-text-editor.editor.is-focused)
     -0:55 core:confirm (textarea.xterm-helper-textarea)
  2x -0:44.7.0 editor:newline (input.hidden-input)
     -0:44.2.0 core:save (input.hidden-input)
     -0:11.4.0 julia-client:new-terminal-from-current-folder (input.hidden-input)

Non-Core Packages

ftp-remote-edit 0.18.1 
hyperclick 0.1.5 
indent-detective 0.4.0 
ink 0.12.5 
julia-client 0.12.6 
language-julia 0.20.1 
latex-completions 0.3.6 
tool-bar 1.4.2 
uber-juno 0.3.0