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

[BUG] Julia exits right away. #410

Open
xanfus opened this issue Oct 24, 2019 · 11 comments
Open

[BUG] Julia exits right away. #410

xanfus opened this issue Oct 24, 2019 · 11 comments
Labels

Comments

@xanfus
Copy link

xanfus commented Oct 24, 2019

Details

  • Atom version: 1.41.0
  • Julia version: 1.3.0-rc4.1
  • OS: Windows 10 1903 build 18362.418
  • Package versions:
    • Atom.jl: 0.11.1
    • julia-client: 0.11.2
    • ink: 0.11.5

I've just updated Atom 1.40.1 -> 1.41.0. Julia:

Press Enter to start Julia. 

Julia has exited.
Press Enter to start a new session.

Julia has exited.
Press Enter to start a new session.
@xanfus xanfus added the bug label Oct 24, 2019
@xanfus
Copy link
Author

xanfus commented Oct 24, 2019

Back on 1.40.1 with Atom.jl 0.11.2. Compiling...Success. Atom 1.42.0-beta0 has previously mentioned issue too. On Ubuntu Mate 18.04.5 Atom 1.41.0 is not so restricting; one does require only to reinstall julia-client package or remove .atom folder altogether.

@aviatesk
Copy link
Member

You may wan to watch on JunoLab/atom-julia-client#642

@CNelias
Copy link

CNelias commented Oct 25, 2019

I have the same issue.

@pfitzseb
Copy link
Member

Did you try un- and reinstalling julia-client?

@xanfus
Copy link
Author

xanfus commented Oct 25, 2019

Did you try un- and reinstalling julia-client?

I'll try that.

@CNelias
Copy link

CNelias commented Oct 25, 2019

It fixed the issue for me, thanks !

@xanfus
Copy link
Author

xanfus commented Oct 25, 2019

Did you try un- and reinstalling julia-client?

I'll try that.

I've deleted .atom folder and reinstalled "uber-juno". Works nominally.

@braamvandyk
Copy link

Windows 10. Atom updated to 1.41.0 and this problem started. Uninstalled julia-client, after which it refuses to reinstall. Log file extract below. I wiped Atom completely and started from a clean install - julia-client refuses to install, even from the command prompt, with admin rights and McAfee disabled completely. Also tried this from Anaconda terminal, as the error displayed stated that the Python executable could not be found. It is in the path and the PYTHON environment variable is set. Typing python at the same prompt as I'm running apm from found Python just fine (Anaconda3 - Python 3.7).

I copied the julia-client package from another machine and could get Julia running in an external console only.

Then the other machine updated Atom (automatic updates - I must remember to switch that off!) and the exact same problem started. Uninstalling the client led to the same problem - it refuses to reinstall with the same errors. This machine does not run McAfee, so that is probably not the issue.

2435 verbose lifecycle @pfitzseb/[email protected]~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/[email protected]~install: Args: [ '/d /s /c', 'prebuild-install || node scripts/install.js' ]
2437 silly lifecycle @pfitzseb/[email protected]~install: Returned: code: 1  signal: null
2438 info lifecycle @pfitzseb/[email protected]~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 `-- [email protected]
2443 silly saveTree   +-- @pfitzseb/[email protected]
2443 silly saveTree   | +-- [email protected]
2443 silly saveTree   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | `-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   +-- [email protected]
2443 silly saveTree   |   | |   `-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | | +-- [email protected]
2443 silly saveTree   |   | | | +-- [email protected]
2443 silly saveTree   |   | | | | `-- [email protected]
2443 silly saveTree   |   | | | `-- [email protected]
2443 silly saveTree   |   | | |   `-- [email protected]
2443 silly saveTree   |   | | +-- [email protected]
2443 silly saveTree   |   | | `-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | | `-- [email protected]
2443 silly saveTree   |   | |   `-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | | `-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   | +-- [email protected]
2443 silly saveTree   |   |   | `-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   `-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   | +-- [email protected]
2443 silly saveTree   | | `-- [email protected]
2443 silly saveTree   | |   `-- [email protected]
2443 silly saveTree   | `-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   | +-- [email protected]
2443 silly saveTree   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   | +-- [email protected]
2443 silly saveTree   |   |   | | `-- [email protected]
2443 silly saveTree   |   |   | |   +-- [email protected]
2443 silly saveTree   |   |   | |   | +-- [email protected]
2443 silly saveTree   |   |   | |   | | `-- [email protected]
2443 silly saveTree   |   |   | |   | `-- [email protected]
2443 silly saveTree   |   |   | |   +-- [email protected]
2443 silly saveTree   |   |   | |   `-- [email protected]
2443 silly saveTree   |   |   | +-- [email protected]
2443 silly saveTree   |   |   | +-- [email protected]
2443 silly saveTree   |   |   | | `-- [email protected]
2443 silly saveTree   |   |   | `-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   +-- [email protected]
2443 silly saveTree   |   |   `-- [email protected]
2443 silly saveTree   |   |     `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   `-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   +-- [email protected]
2443 silly saveTree   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   +-- [email protected]
2443 silly saveTree   |   | `-- [email protected]
2443 silly saveTree   |   `-- [email protected]
2443 silly saveTree   `-- [email protected]
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/[email protected] 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/[email protected]
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/[email protected] install: `prebuild-install || node scripts/install.js`
2459 error Exit status 1
2460 error Failed at the @pfitzseb/[email protected] install script.
2460 error This is probably not a problem with npm. There is likely additional logging output above.
2461 verbose exit [ 1, true ]

@pfitzseb
Copy link
Member

Ok, I have no idea what's going on there.
If you're willing to help debug this further: Can you try the dev install instructions and report back?

@braamvandyk
Copy link

Happy to. I'll wipe Atom on my home PC and start with a fresh install of 1.41.0. Will report back ASAP.

@braamvandyk
Copy link

Clean Atom 1.41.0 install - I uninstalled and wiped the folders, including the packages.
Ran the dev installs from a Git bash and they all went without a hitch:

braam@Braam-PC2 MINGW64 ~
$ apm dev julia-client
Cloning https://github.com/JunoLab/atom-julia-client done
Installing modules done
C:\Users\braam\.atom\dev\packages\julia-client -> C:\Users\braam\github\julia-client

braam@Braam-PC2 MINGW64 ~
$ apm dev ink
Cloning https://github.com/JunoLab/atom-ink done
Installing modules done
C:\Users\braam\.atom\dev\packages\ink -> C:\Users\braam\github\ink

braam@Braam-PC2 MINGW64 ~
$ apm dev language-julia
Cloning https://github.com/JuliaEditorSupport/atom-language-julia done
Installing modules done
C:\Users\braam\.atom\dev\packages\language-julia -> C:\Users\braam\github\language-julia

braam@Braam-PC2 MINGW64 ~
$ apm dev latex-completions
Cloning https://github.com/JunoLab/atom-latex-completions done
Installing modules done
C:\Users\braam\.atom\dev\packages\latex-completions -> C:\Users\braam\github\latex-completions

Ran Atom in dev mode and Julia prompt started up smoothly. All good!

Is there a log file or similar somewhere that I can post? If needed, I'll wipe Atom again and repeat the exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants