atom-community / atom-community/atom-script

Failed to activate the script package

Open
#2,616 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.57.0 x64
**Electron**: 9.4.4
**OS**: macOS 11.6.1
**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/python.js:55:1)
at /packages/script/lib/grammars/python.js:56:10)
at Module.get_Module._compile (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149837)
at Object.value [as .js] (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:153385)
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 (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149153)
at /packages/script/lib/grammars.js:18:33)
at /packages/script/lib/grammars.js:46:24)
at Module.get_Module._compile (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149837)
at Object.value [as .js] (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:153385)
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 (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149153)
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 (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149837)
at Object.value [as .js] (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:153385)
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 (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149153)
at /packages/script/lib/script.js:3:43)
at /packages/script/lib/script.js:239:2)
at Module.get_Module._compile (/private/var/folders/2d/41w0dq1n00gf89nz_ff1y0480000gn/T/AppTranslocation/17B472F5-C712-48DD-A63D-A78935E9A6D3/d/Atom.app/Contents/Resources/app/static/:11:149837)
```

### Commands

```
```

### Non-Core Packages

```
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
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
busy-signal 2.0.1
ide-python 1.9.7
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
script 3.32.2
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.