atom-community / atom-community/ide-python

failed to activate ide-python package

Aperta
#516 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
238
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

error:
`call.getFileName is not a function`

**OS:** arch linux

**Version:** latest, just got the issue when updating

Stack trace:
```
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 Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:45:21)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:305:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
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 (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:16:17)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:519:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)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 Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:45:21)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:305:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
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 (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:16:17)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:519:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
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 (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:14:62)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:109:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
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 (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:14:62)
at Object. (/home/computer/.atom/packages/ide-python/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:109:3)
at Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:252:23)
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 (internal/modules/cjs/loader.js:1032:19)
at require (/usr/lib/atom/src/native-compile-cache.js:67:27)
```

**Solutions tried:** reinstalling the package

I've also re-produced this exact same issue on another linux machine.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js intorno alle righe 45 e 305, quindi segui gli imports da AutoGenLaunchAttachUiComponent.js e AutoGenLaunchAttachProvider.js mostrati nello stack trace. Riproduci l’attivazione su Arch Linux dopo l’aggiornamento e conferma che ide-python si attivi senza l’errore getFileName.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, python
Ambito
tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.