atom-community / atom-community/ide-python

Failed to activate the ide-python package

未关闭
#570 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
238
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:

### Description

### Steps to Reproduce

1.
2.
3.

**Expected behavior:**

**Actual behavior:**

### Versions

**Atom**: 1.63.1 x64
**Electron**: 11.5.0
**OS**: macOS 12.3.1
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.7

### Stack Trace

Failed to activate the ide-python package

```
At call.getFileName is not a function

TypeError: call.getFileName is not a function
at getErrMessage (assert.js:278:25)
at innerOk (assert.js:372:17)
at ok (assert.js:392:3)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:45:21)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:305:3)
at Module.get_Module._compile (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom 2.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149229)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:16:17)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:519:3)
at Module.get_Module._compile (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom 2.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149229)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:14:62)
at /packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:109:3)
at Module.get_Module._compile (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom 2.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom 2.app/Contents/Resources/app/static/:11:149229)
```

### Commands

```
```

### Non-Core Packages

```
atom-python-run 0.9.7
ide-python 1.9.7
```

### Additional Information

贡献指南

打开贡献指南

调研方向

首先在 macOS 12.3.1 上使用 Atom 1.63.1 和 ide-python 1.9.7 重现激活过程,然后检查 node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:45 处的 stack trace。完成标准是 ide-python 包能够在不出现所报告的 TypeError 的情况下激活。

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

评估

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

把新 issue 发到你的邮箱

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