atom-community / atom-community/ide-python
failed to activate ide-python package
- Lenguaje dominante
- JavaScript
- Estrellas
- 238
- Forks
- 40
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza en node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js alrededor de las líneas 45 y 305, y luego sigue los imports de AutoGenLaunchAttachUiComponent.js y AutoGenLaunchAttachProvider.js que aparecen en el stack trace. Reproduce la activación en Arch Linux después de actualizar y confirma que ide-python se activa sin el error getFileName.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100