atom-community / atom-community/ide-python

Uncaught Error: Header must provide a Content-Length property.

Ouverte
#346 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
238
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.57.0 x64
**Electron**: 9.4.4
**OS**: Mac OS X 10.15.7
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.3

### Stack Trace

Uncaught Error: Header must provide a Content-Length property.

```
At /Users/jeremiahwise/.atom/packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138

Error: Header must provide a Content-Length property.
at StreamMessageReader.onData (/packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138:27)
at /packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/messageReader.js:122:18)
at Socket.emit (events.js:223:5)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:290:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:181:23)
```

### Commands

```
-1:43.5.0 intentions:highlight (input.hidden-input)
-1:43.3.0 core:save (input.hidden-input)
-1:42.6.0 intentions:highlight (input.hidden-input)
-1:42.6.0 core:save (input.hidden-input)
-1:41.9.0 intentions:highlight (input.hidden-input)
-1:41.8.0 core:save (input.hidden-input)
-1:41.1.0 intentions:highlight (input.hidden-input)
-1:41.1.0 core:save (input.hidden-input)
-1:40.3.0 intentions:highlight (input.hidden-input)
-1:40.1.0 core:save (input.hidden-input)
-1:38.9.0 intentions:highlight (input.hidden-input)
-1:38.8.0 core:save (input.hidden-input)
-1:38.1.0 intentions:highlight (input.hidden-input)
-1:38 core:save (input.hidden-input)
-1:37.2.0 intentions:highlight (input.hidden-input)
-1:37.1.0 core:save (input.hidden-input)
```

### Non-Core Packages

```
atom-beautify 0.33.4
atom-css-comb 3.5.1
atom-html-preview 0.2.6
atom-ide-ui 0.13.0
atom-path-intellisense 1.2.2
atom-ternjs 0.20.0
autoclose-html 0.23.0
autocomplete-html-entities 0.2.0
busy-signal 2.0.1
color-picker 2.3.0
csslint 1.2.0
django-atom 0.2.4
emmet 2.4.3
file-icons 2.1.47
hyperclick 0.0.0
ide-json 0.2.1
ide-python 1.9.3
intentions 2.1.1
javascript-snippets 1.2.1
language-ejs 0.4.0
linter 3.4.0
linter-eslint 8.6.6
linter-ui-default 3.3.1
pigments 0.40.6
react 0.18.0
Sublime-Style-Column-Selection 1.7.5
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par l’entrée de la trace de pile à node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138 et examinez comment ide-python invoque ce lecteur de messages. Utilisez les versions indiquées de Atom, Electron, OS et ide-python pour étudier l’erreur, puis vérifiez que l’erreur Content-Length non interceptée signalée ne se produit plus.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, python
Domaine
developer-experience
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.