Atom 1.41 and Julia

Does the update break Juno for anyone else? Julia exits immediately after pressing any button.
grafik

This is on Julia 1.2 and up-to-date versions of Atom.jl, Juno etc.

Yes. The instructions here fixed it for me: (apm uninstall) http://docs.junolab.org/latest/man/faq/#Juno-doesn’t-work-properly-after-some-Atom-packages-were-updated.-What-do-I-do?-1

5 Likes

Great, thanks

This, unfortunately, is not working on my work laptop. I have wiped all traces of atom and done a clean install. The julia-client package does not install. I have disabled McAfee during the install and tried installing from a console apm install julia-client, with the console opened with admin rights.

I would appreciate any guidance on this.

The bottom part of the log file:

2435 verbose lifecycle @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3~install: CWD: C:\Users\vdykb\AppData\Local\Temp\apm-install-dir-119927-45072-rulg6d.t66s\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
2436 silly lifecycle @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3~install: Args: [ '/d /s /c', 'prebuild-install || node scripts/install.js' ]
2437 silly lifecycle @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3~install: Returned: code: 1  signal: null
2438 info lifecycle @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3~install: Failed to exec install script
2439 timing action:install Completed in 8322ms
2440 verbose unlock done using C:\Users\vdykb\.atom\.apm\_locks\staging-334847f4048a279e.lock for C:\Users\vdykb\AppData\Local\Temp\apm-install-dir-119927-45072-rulg6d.t66s\node_modules\.staging
2441 timing stage:rollbackFailedOptional Completed in 2274ms
2442 timing stage:runTopLevelLifecycles Completed in 43517ms
2443 silly saveTree apm-install-dir-119927-45072-rulg6d.t66s
2443 silly saveTree `-- julia-client@0.11.2
2443 silly saveTree   +-- @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3
2443 silly saveTree   | +-- nan@2.14.0
2443 silly saveTree   | `-- prebuild-install@5.3.0
2443 silly saveTree   |   +-- detect-libc@1.0.3
2443 silly saveTree   |   +-- expand-template@2.0.3
2443 silly saveTree   |   +-- github-from-package@0.0.0
2443 silly saveTree   |   +-- minimist@1.2.0
2443 silly saveTree   |   +-- mkdirp@0.5.1
2443 silly saveTree   |   | `-- minimist@0.0.8
2443 silly saveTree   |   +-- napi-build-utils@1.0.1
2443 silly saveTree   |   +-- node-abi@2.12.0
2443 silly saveTree   |   | `-- semver@5.7.1
2443 silly saveTree   |   +-- noop-logger@0.1.1
2443 silly saveTree   |   +-- npmlog@4.1.2
2443 silly saveTree   |   | +-- are-we-there-yet@1.1.5
2443 silly saveTree   |   | | +-- delegates@1.0.0
2443 silly saveTree   |   | | `-- readable-stream@2.3.6
2443 silly saveTree   |   | |   +-- core-util-is@1.0.2
2443 silly saveTree   |   | |   +-- inherits@2.0.4
2443 silly saveTree   |   | |   +-- isarray@1.0.0
2443 silly saveTree   |   | |   +-- process-nextick-args@2.0.1
2443 silly saveTree   |   | |   +-- safe-buffer@5.1.2
2443 silly saveTree   |   | |   +-- string_decoder@1.1.1
2443 silly saveTree   |   | |   `-- util-deprecate@1.0.2
2443 silly saveTree   |   | +-- console-control-strings@1.1.0
2443 silly saveTree   |   | +-- gauge@2.7.4
2443 silly saveTree   |   | | +-- aproba@1.2.0
2443 silly saveTree   |   | | +-- has-unicode@2.0.1
2443 silly saveTree   |   | | +-- object-assign@4.1.1
2443 silly saveTree   |   | | +-- signal-exit@3.0.2
2443 silly saveTree   |   | | +-- string-width@1.0.2
2443 silly saveTree   |   | | | +-- code-point-at@1.1.0
2443 silly saveTree   |   | | | +-- is-fullwidth-code-point@1.0.0
2443 silly saveTree   |   | | | | `-- number-is-nan@1.0.1
2443 silly saveTree   |   | | | `-- strip-ansi@3.0.1
2443 silly saveTree   |   | | |   `-- ansi-regex@2.1.1
2443 silly saveTree   |   | | +-- strip-ansi@3.0.1
2443 silly saveTree   |   | | `-- wide-align@1.1.3
2443 silly saveTree   |   | `-- set-blocking@2.0.0
2443 silly saveTree   |   +-- os-homedir@1.0.2
2443 silly saveTree   |   +-- pump@2.0.1
2443 silly saveTree   |   | +-- end-of-stream@1.4.4
2443 silly saveTree   |   | | `-- once@1.4.0
2443 silly saveTree   |   | |   `-- wrappy@1.0.2
2443 silly saveTree   |   | `-- once@1.4.0
2443 silly saveTree   |   +-- rc@1.2.8
2443 silly saveTree   |   | +-- deep-extend@0.6.0
2443 silly saveTree   |   | +-- ini@1.3.5
2443 silly saveTree   |   | `-- strip-json-comments@2.0.1
2443 silly saveTree   |   +-- simple-get@2.8.1
2443 silly saveTree   |   | +-- decompress-response@3.3.0
2443 silly saveTree   |   | | `-- mimic-response@1.0.1
2443 silly saveTree   |   | `-- simple-concat@1.0.0
2443 silly saveTree   |   +-- tar-fs@1.16.3
2443 silly saveTree   |   | +-- chownr@1.1.3
2443 silly saveTree   |   | +-- pump@1.0.3
2443 silly saveTree   |   | `-- tar-stream@1.6.2
2443 silly saveTree   |   |   +-- bl@1.2.2
2443 silly saveTree   |   |   +-- buffer-alloc@1.2.0
2443 silly saveTree   |   |   | +-- buffer-alloc-unsafe@1.1.0
2443 silly saveTree   |   |   | `-- buffer-fill@1.0.0
2443 silly saveTree   |   |   +-- fs-constants@1.0.0
2443 silly saveTree   |   |   +-- to-buffer@1.1.1
2443 silly saveTree   |   |   `-- xtend@4.0.2
2443 silly saveTree   |   +-- tunnel-agent@0.6.0
2443 silly saveTree   |   `-- which-pm-runs@1.0.0
2443 silly saveTree   +-- atom-package-deps@5.1.0
2443 silly saveTree   | +-- sb-fs@4.0.0
2443 silly saveTree   | | `-- strip-bom-buf@1.0.0
2443 silly saveTree   | |   `-- is-utf8@0.2.1
2443 silly saveTree   | `-- semver@6.3.0
2443 silly saveTree   +-- atom-space-pen-views@2.2.0
2443 silly saveTree   | +-- fuzzaldrin@2.1.0
2443 silly saveTree   | `-- space-pen@5.1.2
2443 silly saveTree   |   +-- grim@1.5.0
2443 silly saveTree   |   | `-- emissary@1.3.3
2443 silly saveTree   |   |   +-- es6-weak-map@0.1.4
2443 silly saveTree   |   |   | +-- d@0.1.1
2443 silly saveTree   |   |   | | `-- es5-ext@0.10.51
2443 silly saveTree   |   |   | |   +-- es6-iterator@2.0.3
2443 silly saveTree   |   |   | |   | +-- d@1.0.1
2443 silly saveTree   |   |   | |   | | `-- type@1.2.0
2443 silly saveTree   |   |   | |   | `-- es6-symbol@3.1.2
2443 silly saveTree   |   |   | |   +-- es6-symbol@3.1.2
2443 silly saveTree   |   |   | |   `-- next-tick@1.0.0
2443 silly saveTree   |   |   | +-- es5-ext@0.10.51
2443 silly saveTree   |   |   | +-- es6-iterator@0.1.3
2443 silly saveTree   |   |   | | `-- es6-symbol@2.0.1
2443 silly saveTree   |   |   | `-- es6-symbol@2.0.1
2443 silly saveTree   |   |   +-- mixto@1.0.0
2443 silly saveTree   |   |   +-- property-accessors@1.1.3
2443 silly saveTree   |   |   `-- underscore-plus@1.7.0
2443 silly saveTree   |   |     `-- underscore@1.9.1
2443 silly saveTree   |   +-- jquery@2.1.4
2443 silly saveTree   |   `-- underscore-plus@1.7.0
2443 silly saveTree   +-- etch@0.14.0
2443 silly saveTree   +-- fuzzaldrin-plus@0.6.0
2443 silly saveTree   +-- physical-cpu-count@2.0.0
2443 silly saveTree   +-- semver@6.3.0
2443 silly saveTree   +-- ssh2@0.8.5
2443 silly saveTree   | `-- ssh2-streams@0.4.6
2443 silly saveTree   |   +-- asn1@0.2.4
2443 silly saveTree   |   | `-- safer-buffer@2.1.2
2443 silly saveTree   |   +-- bcrypt-pbkdf@1.0.2
2443 silly saveTree   |   | `-- tweetnacl@0.14.5
2443 silly saveTree   |   `-- streamsearch@0.1.2
2443 silly saveTree   `-- underscore-plus@1.7.0
2444 warn enoent ENOENT: no such file or directory, open 'C:\Users\vdykb\AppData\Local\Temp\apm-install-dir-119927-45072-rulg6d.t66s\package.json'
2445 verbose enoent This is related to npm not being able to find a file.
2446 warn apm-install-dir-119927-45072-rulg6d.t66s No description
2447 warn apm-install-dir-119927-45072-rulg6d.t66s No repository field.
2448 warn apm-install-dir-119927-45072-rulg6d.t66s No README data
2449 warn apm-install-dir-119927-45072-rulg6d.t66s No license field.
2450 verbose stack Error: @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
2450 verbose stack Exit status 1
2450 verbose stack     at EventEmitter.<anonymous> (c:\Users\vdykb\AppData\Local\atom\app-1.41.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\index.js:304:16)
2450 verbose stack     at EventEmitter.emit (events.js:182:13)
2450 verbose stack     at ChildProcess.<anonymous> (c:\Users\vdykb\AppData\Local\atom\app-1.41.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2450 verbose stack     at ChildProcess.emit (events.js:182:13)
2450 verbose stack     at maybeClose (internal/child_process.js:961:16)
2450 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
2451 verbose pkgid @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3
2452 verbose cwd C:\Users\vdykb\AppData\Local\Temp\apm-install-dir-119927-45072-rulg6d.t66s
2453 verbose Windows_NT 10.0.16299
2454 verbose argv "c:\\Users\\vdykb\\AppData\\Local\\atom\\app-1.41.0\\resources\\app\\apm\\bin\\node.exe" "c:\\Users\\vdykb\\AppData\\Local\\atom\\app-1.41.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\vdykb\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\vdykb\\.atom\\.apmrc" "install" "https://www.atom.io/api/packages/julia-client/versions/0.11.2/tarball" "--target=4.2.7" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
2455 verbose node v10.2.1
2456 verbose npm  v6.2.0
2457 error code ELIFECYCLE
2458 error errno 1
2459 error @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
2459 error Exit status 1
2460 error Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install script.
2460 error This is probably not a problem with npm. There is likely additional logging output above.
2461 verbose exit [ 1, true ]

For what it’s worth: I copied the julia-client package from another PC, which still leaves me with Julia not opening in the console, but does work when I set Juno to open an external console.

And then the other PC updated automatically to Atom 1.41.0 and now Juno is broken there too. Same symptoms: with the julia-client already installed when Atom updates, you simply get the original error of Julia not opening in the console. If you uninstall julia-client, it refuses to install again.

This problem starts only with the update to Atom 1.41.0. At least on Windows 10, which is what both machines are running.

I have a problem with starting Juno with Julia - 1.2.0 on Windows - 10. When starting Julia in the REPL window, an external console opens with Julia - 1.2.0 instead of opening in REPL.
Problems setting up Julia client or another problem?

My system:

Windows - 10;
Atom - 1.41.0;
Julia - 1.2.0;
julia client - 0.11.3.

Thank you in advance!

You need to disable the “Legacy Console” mode as described for example here. I’m not sure why that’s required, but the workaround is simple enough.

1 Like

Thank you Sebastian! It’s works!

1 Like