JunoLab/atom-julia-client

Failed to activate the julia-client package

Closed this issue · 4 comments

Got this error having updated to Julia 1.3, reinstalled julia-client and atom-ink and restarted Atom, but none of it seems to work.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.43.0 x64
Electron: 4.2.7
OS: Mac OS X 10.14.5
Thrown From: julia-client package 0.11.3

Stack Trace

Failed to activate the julia-client package

At Cannot read property 'fromId' of undefined

TypeError: Cannot read property 'fromId' of undefined
    at Object.activate (/packages/julia-client/lib/runtime/outline.js:12:22)
    at Object.consumeInk (/packages/julia-client/lib/runtime.coffee:33:11)
    at Object.consumeInk (/packages/julia-client/lib/julia-client.coffee:120:7)
    at Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1121629)
    at ServiceHub.consume (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3207383)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3215615)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3212370)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3211694)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3209304)
    at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3211554)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3211497)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382452)
    at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382068)
    at Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:331716)
    at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382018)
    at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:381568)
    at t.loadState.then (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:715032)

Commands

Non-Core Packages

atom-runner 2.7.1 
awoerner undefined 
busy-signal 2.0.1 
indent-detective 0.4.0 
ink 0.10.12 
intentions 1.1.5 
julia-client 0.11.3 
language-ethereum 0.3.9 
language-julia 0.19.1 
latex-completions 0.3.6 
linter 2.3.1 
linter-julia 0.7.4 
linter-ui-default 1.7.1 
pretty-json 2.0.3 
script 3.18.1 
tool-bar 1.1.12 
uber-juno 0.2.0 

Your ink isn't latest version so try update ink first.

Close all the Atom process and then

apm uninstall ink
apm uninstall julia-client
apm install ink
apm install julia-client

This problem has been there for very long time. The only solution is to manually rebuild. Apparently, there are problems with the binary 0.11.3. What I do not understand is why not the author just publish a new binary instead of letting the problem hanging there for so long.

Is this still a problem with the latest release?
Make sure to follow the instructions posted by @aviatesk above when upgrading.

For Atom 1.44 with julia-client 0.12.2, this problem is gone.