atom-community / atom-community/ide-python

Failed to activate the ide-python package

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

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Unknown Windows version
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.7

### Stack Trace

Failed to activate the ide-python package

```
At Cannot find module './debugger/main'
Require stack:
- C:\Users\Woffluon\.atom\packages\ide-python\dist\main.js
- C:\Users\Woffluon\AppData\Local\atom\app-1.58.0\resources\app.asar\static\index.html

Error: Cannot find module './debugger/main'
Require stack:
- C:\Users\Woffluon\.atom\packages\ide-python\dist\main.js
- C:\Users\Woffluon\AppData\Local\atom\app-1.58.0\resources\app.asar\static\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:157920)
at Module.require (/app.asar/static/index.js:61:43)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/dist/main.js:3:13)
at /packages/ide-python/dist/main.js:174:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (~/AppData/Local/atom/app-1.58.0/resources/app/static/:1:802772)
at requireModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:1195622)
at Package.requireMainModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:3520513)
at Package.activateNow (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:3508497)
at ~/AppData/Local/atom/app-1.58.0/resources/app/static/:14:2607
at Function.simpleDispatch (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1186925)
at Emitter.emit (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:1188366)
at PackageManager.triggerDeferredActivationHooks (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:386056)
at ~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:384807
at TextEditorRegistry.updateAndMonitorEditorSettings (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:515544)
```

### Commands

```
-0:53.7.0 application:open-folder (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
```

### Non-Core Packages

```
ide-python 1.9.7
language-vb 0.1.0-pre1
```

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the ide-python 1.9.7 activation entry point at dist/main.js and the reported require of ./debugger/main. Reproduce activation with Atom 1.58.0 on Windows, then verify that the package activates without the Cannot find module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.