atom-community / atom-community/ide-python

Uncaught Error: Connection is closed.

Open
#458 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Microsoft Windows 10 Pro
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.7

### Stack Trace

Uncaught Error: Connection is closed.

```
At C:\Users\Dragon\.atom\packages\ide-python\node_modules\atom-languageclient\node_modules\vscode-jsonrpc\lib\common\connection.js:723

Error: Connection is closed.
at throwIfClosedOrDisposed (/packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/connection.js:723:19)
at Object.sendNotification (/packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/connection.js:805:13)
at LanguageClientConnection._sendNotification (/packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:515:19)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:244:14)
at ServerManager.projectFilesChanged (/packages/ide-python/node_modules/atom-languageclient/build/lib/server-manager.js:284:41)
at Function.simpleDispatch (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1186925)
at Emitter.emit (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1188366)
at s (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:413685)
at PathWatcher.onNativeEvents (~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:27020)
at ~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:25756
at Function.simpleDispatch (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1186925)
at Emitter.emit (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1188366)
at NSFWNativeWatcher.onEvents (~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:23002)
at watcher.c.debounceMS (~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:24651)
```

### Commands

```
-5:24.3.0 editor:duplicate-lines (input.hidden-input)
-5:23 editor:move-to-first-character-of-line (input.hidden-input)
-5:21.5.0 editor:select-to-end-of-word (input.hidden-input)
-5:21.2.0 core:select-right (input.hidden-input)
-5:20.9.0 core:backspace (input.hidden-input)
-5:20.6.0 editor:move-to-end-of-screen-line (input.hidden-input)
2x -5:20.2.0 core:backspace (input.hidden-input)
-5:15.4.0 intentions:highlight (input.hidden-input)
-5:15.3.0 core:save (input.hidden-input)
-5:07.3.0 intentions:highlight (input.hidden-input)
10x -5:07.1.0 core:undo (input.hidden-input)
-5:02.9.0 intentions:highlight (input.hidden-input)
-5:02.8.0 core:save (input.hidden-input)
-4:43.9.0 core:backspace (input.hidden-input)
-4:40.8.0 intentions:highlight (input.hidden-input)
-4:40.6.0 core:save (input.hidden-input)
```

### Non-Core Packages

```
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
build 0.70.0
build-make 0.13.0
busy-signal 2.0.1
file-icons 2.1.47
gpp-compiler 3.0.7
ide-flex-bison 1.2.1
ide-python 1.9.7
intentions 2.1.1
kite 0.206.0
language-bison-flex 1.0.1
linter 3.4.0
linter-swagger 0.6.1
linter-ui-default 3.4.1
minimap 4.40.0
minimap-linter 2.2.2
screenshot 2.0.0
TabNine 4.0.7
teletype 0.13.4
tool-bar 1.4.4
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with Atom 1.58.0, Electron 9.4.4, Windows 10, and ide-python 1.9.7; the report does not provide actual reproduction steps. Trace the failure through node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/connection.js, build/lib/languageclient.js, and build/lib/server-manager.js, then establish the trigger and verify that it no longer produces an uncaught error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, python
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.