atom-community / atom-community/ide-python
Uncaught TypeError: invalid options argument
- 主要语言
- JavaScript
- 星标
- 238
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
描述
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Ubuntu 20.04.3
**Thrown From**: 'ide-python' package vundefined
### Stack Trace
Uncaught TypeError: invalid options argument
```
At /home/morteza/.atom/packages/ide-python/node_modules/mkdirp/lib/opts-arg.js:13
TypeError: invalid options argument
at optsArg (/packages/ide-python/node_modules/mkdirp/lib/opts-arg.js:13:11)
at mkdirp (/packages/ide-python/node_modules/mkdirp/index.js:11:10)
at Object.save (/packages/save-session/lib/files.coffee:34:5)
at /packages/save-session/lib/files.coffee:67:24
```
### Commands
```
-1:45.1.0 snippets:next-tab-stop (input.hidden-input)
-1:45.1.0 snippets:expand (input.hidden-input)
-1:45.1.0 editor:indent (input.hidden-input)
-1:43.7.0 core:backspace (input.hidden-input)
```
### Non-Core Packages
```
advanced-open-file 0.16.8
atom-beautify 0.33.4
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
atom-ide-datatip 0.25.0
atom-ide-debugger-python 0.7.3
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
auto-update-plus 0.11.4
busy-signal 2.0.1
expose 0.15.0
file-icons 2.1.47
highlight-selected 0.17.0
Hydrogen 2.16.3
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
minimap 4.40.0
minimap-highlight-selected 4.6.6
platformio-ide-terminal 2.10.1
python-debugger 0.2.0
python-indent 1.2.6
save-session 0.15.7
TabNine 4.0.7
```
贡献指南
调研方向
首先检查 node_modules/mkdirp/lib/opts-arg.js、node_modules/mkdirp/index.js 和 save-session/lib/files.coffee 中堆栈跟踪所指向的位置。该 issue 没有提供可用的复现步骤,因此首先确定无效选项参数发生时 save-session 正在执行什么操作。完成的标准是能够复现原因,并验证产生的行为不会出现未捕获的 TypeError。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- coffeescript, electron, javascript, python
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100