atom-community / atom-community/ide-python

failed to activate ide-python package

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

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start at node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js around lines 45 and 305, then trace the imports from AutoGenLaunchAttachUiComponent.js and AutoGenLaunchAttachProvider.js shown in the stack trace. Reproduce activation on Arch Linux after updating, and confirm ide-python activates without the getFileName error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.