# Uncaught Error: Pty seems to have been killed already

**URL:** https://discourse.julialang.org/t/uncaught-error-pty-seems-to-have-been-killed-already/35447
**Category:** Juno
**Created:** [March 3, 2020, 9:53am UTC](https://discourse.julialang.org/t/uncaught-error-pty-seems-to-have-been-killed-already/35447 "2020-03-03T09:53:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Eric\_Chen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eric_chen/32/5992_2.png) [@Eric\_Chen](https://discourse.julialang.org/u/Eric_Chen)
#### Post date: [March 3, 2020, 9:53am UTC](https://discourse.julialang.org/t/uncaught-error-pty-seems-to-have-been-killed-already/35447/1 "2020-03-03T09:53:52Z")

</div>

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](https://global.discourse-cdn.com/julialang/original/3X/1/e/1ee276a144a125fd4861465e24e4ec683f019416.png)

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

 ![Capture2](https://global.discourse-cdn.com/julialang/original/3X/b/d/bdad9ed7e7e30c8528e92c1c351039044b291a49.png)

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(R) Xeon(R) 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
