Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#346 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript, python

调研方向

从 node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138 的堆栈跟踪条目开始,检查 ide-python 如何调用该消息读取器。使用列出的 Atom、Electron、OS 和 ide-python 版本调查该错误,然后验证报告的未捕获 Content-Length 错误不再发生。

由索引模型根据 Issue 内容生成。

描述

bug

[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 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 
主要语言
JavaScript
星标
238
派生
41
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

atom-community/ide-python 的其他 Issue

查看 atom-community/ide-python 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。