JunoLab / atom-ink

IDE toolkit for Atom
MIT License
228 stars 40 forks source link

Ink activation in atom #109

Closed davidzentlermunro closed 7 years ago

davidzentlermunro commented 7 years ago

I raised this in a previous thread, though that has been closed so trying a new one:

I got similar issues after installing an ink update. I tried uninstalling juno and julia and reinstalling, and now get the following error when julia automatically tries to install ink (atom tells me I have installed v0.6.2 of ink, v0.5.11 of julia and v0.1.1 of uber-juno):

Failed to activate the ink package
_etch2.default.initialize is not a function
Hide Stack Trace
TypeError: _etch2.default.initialize is not a function
    at new PlotPane (C:/Users/uctpdtz/.atom/packages/ink/lib/plots/pane.js:22:10)
    at Function.fromId (C:/Users/uctpdtz/.atom/packages/ink/lib/util/pane-item.js:74:36)
    at Function.activate (C:/Users/uctpdtz/.atom/packages/ink/lib/plots/pane.js:12:26)
    at Object.module.exports.Ink.activate (file:///C:/Users/uctpdtz/.atom/packages/ink/lib/ink.coffee:23:9)
    at Package.module.exports.Package.activateNow (C:\Atom\resources\app.asar\src\package.js:183:20)
    at C:\Atom\resources\app.asar\src\package.js:156:32
    at Package.module.exports.Package.measure (C:\Atom\resources\app.asar\src\package.js:92:15)
    at C:\Atom\resources\app.asar\src\package.js:149:26
    at Package.module.exports.Package.activate (C:\Atom\resources\app.asar\src\package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Atom\resources\app.asar\src\package-manager.js:538:21)
    at C:\Users\uctpdtz\.atom\packages\julia-client\node_modules\atom-package-deps\lib\index.js:29:35
    at [object Generator].next (native)
    at step (C:\Users\uctpdtz\.atom\packages\julia-client\node_modules\atom-package-deps\lib\index.js:59:191)
    at C:\Users\uctpdtz\.atom\packages\julia-client\node_modules\atom-package-deps\lib\index.js:59:368
    at process._tickCallback (node.js:392:9)
The error was thrown from the ink package. This issue has already been reported.
View Issue
pfitzseb commented 7 years ago

Does this only happen on installation or always when you start Atom? Also, are you running the latest version of Atom?

davidzentlermunro commented 7 years ago

Always when I start Atom. I'm running v1,8.0 of atom.

pfitzseb commented 7 years ago

I'd recommend updating then -- current version is 1.12.9.

davidzentlermunro commented 7 years ago

thanks. I note atom should auto-update (I'm using on windows) but that doesn't seem to have happened. Would you recommend uninstalling and redownloading? In package settings, it says everything is up-to-date.

pfitzseb commented 7 years ago

If Help > Check for Update doesn't suggest the update, then yes, I'd download the latest version from atom.io and install that (afaik you don't need to uninstall first).

davidzentlermunro commented 7 years ago

Help does not have a Check for Update option in my version, so I'll try downloading and let you know how it goes with ink (unfortunately I need to get my network administrator to install the new version).

davidzentlermunro commented 7 years ago

Thanks that update has done the trick

pfitzseb commented 7 years ago

Sweet, glad you got that sorted! :)