atom-community / ide-python

Python language support for Atom-IDE :atom: :snake:
https://atom.io/packages/ide-python
Other
236 stars 39 forks source link

Failed to activate the ide-python package #474

Open CinarBenli opened 2 years ago

CinarBenli commented 2 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Pro Thrown From: ide-python package 1.9.7

Stack Trace

Failed to activate the ide-python package

At Cannot find module './ril'
Require stack:
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\node_modules\vscode-jsonrpc\lib\node\main.js
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\build\lib\auto-languageclient.js
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\build\lib\main.js
- C:\Users\lenovo\.atom\packages\ide-python\dist\main.js
- C:\Users\lenovo\AppData\Local\atom\app-1.58.0\resources\app.asar\static\index.html

Error: Cannot find module './ril'
Require stack:
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\node_modules\vscode-jsonrpc\lib\node\main.js
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\build\lib\auto-languageclient.js
- C:\Users\lenovo\.atom\packages\ide-python\node_modules\atom-languageclient\build\lib\main.js
- C:\Users\lenovo\.atom\packages\ide-python\dist\main.js
- C:\Users\lenovo\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/<embedded>:11:157920)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149207)
    at /packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/node/main.js:18:15)
    at /packages/ide-python/node_modules/atom-languageclient/node_modules/vscode-jsonrpc/lib/node/main.js:214:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>: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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149207)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:14:13)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:952:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>: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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149207)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/main.js:18:31)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/main.js:35:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>: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)

Commands

Non-Core Packages

ide-python 1.9.7 
platformio-ide-terminal 2.10.1 
script 3.32.2