atom-community / atom-community/atom-script
Failed to activate the script package
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
### Prerequisites
* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:
### Description
### Steps to Reproduce
1.
2.
3.
**Expected behavior:**
**Actual behavior:**
### Versions
**Atom**: 1.60.0 x64
**Electron**: 9.4.4
**OS**: Microsoft Windows 10 Enterprise
**Thrown From**: [script](https://github.com/atom-ide-community/atom-script) package 3.32.2
### Stack Trace
Failed to activate the script package
```
At python3 is not defined
ReferenceError: python3 is not defined
at /packages/script/lib/grammars.js:41:6)
at /packages/script/lib/grammars.js:46:24)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149229)
at /packages/script/lib/code-context-builder.js:5:41)
at /packages/script/lib/code-context-builder.js:135:2)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149229)
at /packages/script/lib/script.js:3:43)
at /packages/script/lib/script.js:239:2)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (~/AppData/Local/atom/app-1.60.0/resources/app/static/:1:802772)
at requireModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/:14:1175135)
at Package.requireMainModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:3543231)
```
### Commands
```
```
### Non-Core Packages
```
atom-ide-base 3.4.0
atom-ide-code-format 1.0.3
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
atom-python-run 0.9.7
busy-signal 2.0.1
git-control 0.9.0
git-diff-details 1.4.0
git-log 0.4.1
git-plus 8.7.1
ide-python 1.9.7
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
script 3.32.2
```
### Additional Information
Contributor guide
Assessment
This issue has not been assessed yet.