Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to activate the ide-gopls package #12

Open
xh3b4sd opened this issue May 25, 2020 · 0 comments
Open

Failed to activate the ide-gopls package #12

xh3b4sd opened this issue May 25, 2020 · 0 comments

Comments

@xh3b4sd
Copy link

xh3b4sd commented May 25, 2020

I am not really sure how to reproduce it but the workaround is to close all golang source files, restart atom and disable/enable atom-ide-definitions, atom-ide-ui and ide-gopls. Note that all of these three packages are only in use to have the "go to definition" feature. I am not sure if there is a better way to do that. I could just not find one so far. Also note that this happened when I disabled the go-plus package, which I get more and more sick off as it is kind of broken and not supported anymore either.

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.4
Thrown From: ide-gopls package 0.2.2

Stack Trace

Failed to activate the ide-gopls package

At Package not initialized

Error: Package not initialized
    at /packages/atom-ide-ui/modules/nuclide-commons-atom/createPackage.js:61:15)
    at Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1119354)
    at ServiceHub.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3180262)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3188548)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3185524)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3184848)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3182458)
    at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3184708)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3184651)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382700)
    at n.forEach.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377866)
    at Array.forEach (<anonymous>)
    at disabledPackagesSubscription.disabledPackagesSubscription.config.onDidChange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377850)
    at emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:334901)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1215907)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1217348)
    at Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:337389)
    at Config.setRawValue (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:334629)
    at Config.set (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:330423)
    at Config.removeAtKeyPath (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:332446)
    at Package.enable (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3182243)
    at PackageManager.enablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:375564)
    at HTMLButtonElement.enablementButtonClickHandler (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2636518)

Commands

  2x -3:57.3.0 vim-mode-plus:move-to-next-word (input.hidden-input)
     -3:55.7.0 vim-mode-plus:reset-normal-mode (input.hidden-input)
     -3:55.3.0 core:save (input.hidden-input)
     -3:41.3.0 settings-view:open (input.hidden-input)
  2x -3:30.2.0 window:toggle-dev-tools (button.btn.icon.enablement.icon-playback-play)
     -3:23 core:close (div.panels-item)
     -2:47.1.0 atom-ide-go-to-definition:go-to-definition (input.hidden-input)
     -2:43.6.0 vim-mode-plus:move-down (input.hidden-input)
     -2:43.3.0 vim-mode-plus:move-up (input.hidden-input)
     -2:42.8.0 atom-ide-go-to-definition:go-to-definition (input.hidden-input)
     -2:36.3.0 window:toggle-dev-tools (input.hidden-input)
     -2:15 settings-view:open (input.hidden-input)
     -1:50.9.0 core:close (button.btn.icon.enablement.icon-playback-pause)
     -1:47.7.0 atom-ide-go-to-definition:go-to-definition (input.hidden-input)
     -1:45.9.0 window:toggle-dev-tools (input.hidden-input)
     -1:21.6.0 settings-view:open (input.hidden-input)

Non-Core Packages

atom-ide-definitions 0.3.4 
atom-ide-markdown-service 1.2.4 
atom-ide-ui 0.13.0 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
busy-signal 2.0.1 
cursor-history 0.14.0 
format-shell 2.2.1 
go-plus 6.1.0 
hyperclick 0.1.5 
ide-gopls 0.2.2 
language-hcl 0.4.0 
language-protobuf 0.7.1 
package-sync 1.1.0 
project-manager 3.3.8 
relative-numbers 0.9.1 
seti-ui 1.11.0 
vim-mode-plus 1.36.4 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant