atom-community / atom-community/ide-python

failed to activate ide-python package

Offen
#516 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
238
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne bei node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js ungefähr bei den Zeilen 45 und 305 und verfolge dann die in der Stack trace angezeigten Imports aus AutoGenLaunchAttachUiComponent.js und AutoGenLaunchAttachProvider.js. Reproduziere die Aktivierung unter Arch Linux nach der Aktualisierung und bestätige, dass ide-python ohne den getFileName-Fehler aktiviert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, python
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.