atom-community / atom-community/ide-python

failed to activate ide-python package

未关闭
#516 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
238
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

从 node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js 的第 45 行和第 305 行附近开始,然后跟踪 stack trace 中显示的来自 AutoGenLaunchAttachUiComponent.js 和 AutoGenLaunchAttachProvider.js 的 imports。在更新后于 Arch Linux 上重现激活过程,并确认 ide-python 能够在没有 getFileName 错误的情况下激活。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, python
领域
tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。