Uncaught Error: Pty seems to have been killed already

Uncaught Error: Pty seems to have been killed already

In Atom + Juno 0.12, I have some error during 2 cases:

1. When I read a large CSV file

CSV.read(xxx) |> DataFrame

Then REPL is frozen, does not accept any interrupts
and then i press CTRL-J CTRL-K to kill Julia process, below error pop up:

C:\Users\ericche.atom\packages\julia-client\node_modules\node-pty-prebuilt-multiarch\lib\windowsPtyAgent.js:160

Error: Pty seems to have been killed already
at WindowsPtyAgent.kill (C:\Users\ericche.atom\packages\julia-client\node_modules\node-pty-prebuilt-multiarch\lib\windowsPtyAgent.js:160:29)
at WindowsTerminal. (C:\Users\ericche.atom\packages\julia-client\node_modules\node-pty-prebuilt-multiarch\lib\windowsTerminal.js:148:26)
at WindowsTerminal._defer (C:\Users\ericche.atom\packages\julia-client\node_modules\node-pty-prebuilt-multiarch\lib\windowsTerminal.js:155:24)
at WindowsTerminal.kill (C:\Users\ericche.atom\packages\julia-client\node_modules\node-pty-prebuilt-multiarch\lib\windowsTerminal.js:143:14)
at Object.kill (file:///C:/Users/ericche/.atom/packages/julia-client/lib/connection/process/basic.js:125:20)
at Socket. (file:///C:/Users/ericche/.atom/packages/julia-client/lib/connection/local.coffee:77:12)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)

2. Quickly Shutdown and Start a new Julia process

If REPL is interactive and responding, and I press CTRL - J CTRL - K to shut Julia down
2 second later press CTRL - J CTRL -S --> to start a new Julia process

then the inline evaluation does not work
i.e. When I select my code and “CTRL - ENTER”
REPL show nothing.

Status bar in the bottom of Atom show it is very busy.
Capture1

there is a winpty-agent.exe process running in background and never stop…

I think this two issue are related…

FYI I am using the “Basic” mode in julia client. I cannot use cycler since I need to restart Julia quite often.

I also enabled Powershell Wrapper but the “interrupt” command never works and once REPL is running some process, it will be frozen…

I am using Windows 10.

My debug info:

Atom:

Version: 1.44.0
Dev Mode: false
Official Release: true
{
“http_parser”: “2.8.0”,
“node”: “10.11.0”,
“v8”: “6.9.427.31-electron.0”,
“uv”: “1.23.0”,
“zlib”: “1.2.11”,
“ares”: “1.14.0”,
“modules”: “69”,
“nghttp2”: “1.33.0”,
“napi”: “3”,
“openssl”: “1.1.0”,
“electron”: “4.2.7”,
“chrome”: “69.0.3497.128”,
“icu”: “62.2”,
“unicode”: “11.0”,
“cldr”: “33.1”,
“tz”: “2019a”
}

julia-client:

Version: 0.12.2
Config:
{
“consoleOptions”: {
“cursorBlink”: true,
“shell”: “cmd.exe”
},
“firstBoot”: false,
“juliaOptions”: {
“bootMode”: “Basic”,
“formattingOptions”: {
“always_for_in”: true,
“remove_extra_newlines”: true,
“whitespace_ops_in_indices”: true,
“whitespace_typedefs”: true
},
“optimisationLevel”: 2,
“persistWorkingDir”: true
},
“juliaPath”: “C:\Users\ericche\AppData\Local\Julia-1.3.1\bin\julia.exe”,
“uiOptions”: {
“enableMenu”: true,
“errorInRepl”: true,
“layouts”: {
“defaultPanes”: {
“documentation”: false,
“plotPane”: false,
“workspace”: false
},
“openDefaultPanesOnStartUp”: false
},
“scrollToResult”: true,
“usePlotPane”: false
}
}

ink:

Version: 0.12.2
Config:
undefined

uber-juno:

Version: 0.3.0
Config:
{
“disable”: true
}

language-julia:

Version: 0.19.2
Config:
undefined

language-weave:not installed

indent-detective:

Version: 0.4.0
Config:
undefined

latex-completions:

Version: 0.3.6
Config:
undefined

versioninfo():

Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel® Xeon® CPU E5-2697 v4 @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, broadwell)
Environment:
JULIA_EDITOR = “C:\Users\ericche\AppData\Local\atom\app-1.44.0\atom.exe” -a
JULIA_NUM_THREADS = 18
Status C:\Users\ericche\.julia\environments\v1.3\Project.toml
[c52e3926] Atom v0.12.7
[6e4b80f9] BenchmarkTools v0.5.0
[336ed68f] CSV v0.5.25
[a93c6f00] DataFrames v0.20.2
[864edb3b] DataStructures v0.17.10
[e7dc6d0d] DataValues v0.4.13
[59287772] Formatting v0.4.1
[e5e0dc1b] Juno v0.8.0
[be6f12e9] ODBC v0.9.0
[a15396b6] OnlineStats v1.0.3
[925886fa] OnlineStatsBase v1.0.2
[429524aa] Optim v0.20.1
[91a5bcdd] Plots v0.29.4
[92933f4c] ProgressMeter v1.2.0
[d330b81b] PyPlot v2.8.2
[2913bbd2] StatsBase v0.32.1
[db12335b] StringBuilders v0.2.0
[f269a46b] TimeZones v1.0.1
[fdbf4ff8] XLSX v0.6.0
[ade2ca70] Dates
[37e2e46d] LinearAlgebra
[10745b16] Statistics