atom-community / atom-community/ide-python

Failed to activate the ide-python package

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

Description

### 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**: Microsoft Windows 7 Ultimate
**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 (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.63.1/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 (~/AppData/Local/atom/app-1.63.1/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 (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.63.1/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 (~/AppData/Local/atom/app-1.63.1/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 (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.63.1/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 (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:149229)
```

### Commands

```
```

### Non-Core Packages

```
atom-python-run 0.9.7
ide-python 1.9.7
my-package 0.0.0
script 3.32.2
```

### Additional Information

Contributor guide

Open the contributing guide

Research direction

Start with node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js at line 45 and trace its use from AutoGenLaunchAttachUiComponent.js and AutoGenLaunchAttachProvider.js. Reproduce activation with ide-python 1.9.7 on Atom 1.63.1, then verify the package activates without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.