Fail to start Julia in Juno. `execvp(3) failed`

Freshly installed JuliaPro. Failed to start Julia in REPL. Anyone can give me a hint?

Press Enter to start a new session.
Starting Julia...
execvp(3) failed.: No such file or directory
Julia has exited.

Bump up. No problem with installation. But just can’t start Julia in REPL.

Samesies. On Linux Mint 19. Did get an error during installation:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-8yo3kxsm/functools32/
from which the installation continued fine.

Executing Juno, I get the following note:

jacob@Plato:~/julia/JuliaPro-0.6.3.1$ ./Juno
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

That said, Atom loads fine for general editing. and IJulia works fine from jupyter notebook. Edit: the REPL works fine from terminal. It works even better now that I added the folder to PATH and made it executable. Still no joy inside the Juno REPL.

Was there ever a solution to this problem. I have the same problem on Linux Mint 19.

Same issue here… no solution yet?

What (if any) Atom projects do you have loaded? It could be we’re messing something up when the directory we’re trying to start Julia in doesn’t exist.
Also, what happens if you use the Julia Client: New Terminal command (with the first option presented)?

Hello,
I have the same issue with JuliaPro on Ubuntu 18.04.
I have no other Atom project it’s just installed.

I did as you suggested so
ctrl + shift + P to open the control panel and I typed Julia Client: New Terminal
Then it asked me a relative path, I gave
/home/alessandro/julia/JuliaPro-0.6.4.1
I got a terminal in which I executed ./julia

However, plots of any command generated in this terminal do not appear in Juno. Plots appear in a browser tab for example.

Where do I go from there?

What happens if you just use the first suggested item (if there is one) when you’re prompted for a path after using the Julia Client: New Terminal command?

It doesnt’ suggest anything I am facing an empty field.

Ah, I see. Can you try opening a project in Atom (e.g. via File > Open Project Folder) and then start Julia?

That doesn’t work but the error message is different.
But first, I just noticed when launching Juno from the terminal it complains

Gtk-Message: 11:40:13.409: Failed to load module “canberra-gtk-module”

So back to Atom and starting Julia after opening a Project Folder

Press Enter to start Julia.
Starting Julia…
INFO: Precompiling module Atom.
ERROR: LoadError: LoadError: Unable to load

lib (/lib64/libhttp_parser.so.2)

Please re-run Pkg.build(package), and restart Julia.
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./:2
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/HttpParser/src/…/deps/deps.jl, in expression starting on line 20
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/HttpParser/src/HttpParser.jl, in expression starting on line 9
ERROR: LoadError: LoadError: Failed to precompile HttpParser to /home/alessandro/.juliapro-0.6.4.1/lib/v0.6/HttpParser.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/HttpServer/src/RequestParser.jl, in expression starting on line 16
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/HttpServer/src/HttpServer.jl, in expression starting on line 12
ERROR: LoadError: LoadError: Failed to precompile HttpServer to /home/alessandro/.juliapro-0.6.4.1/lib/v0.6/HttpServer.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/Mux/src/server.jl, in expression starting on line 1
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/Mux/src/Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError: Failed to precompile Mux to /home/alessandro/.juliapro-0.6.4.1/lib/v0.6/Mux.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to /home/alessandro/.juliapro-0.6.4.1/lib/v0.6/Blink.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/alessandro/julia/JuliaPro-0.6.4.1/JuliaPro/pkgs-0.6.4.1/v0.6/Atom/src/Atom.jl, in expression starting on line 5
juno-msg-loadERROR: LoadError: Failed to precompile Atom to /home/alessandro/.juliapro-0.6.4.1/lib/v0.6/Atom.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] process_options(::Base.JLOptions) at ./client.jl:305
[7] _start() at ./client.jl:371
while loading /home/alessandro/.julia_atom_0.6.4.1/packages/julia-client/script/boot_repl.jl, in expression starting on line 16

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

Hm, you seem to be working with a JuliaPro setup – did you manually try updating any (Atom or Julia) packages? If so, all kinds of breakage should be expected.

I’d recommend a clean re-installation of Juno without JuliaPro.

indeed I installed everything from JuliaPro and I am using their provided Juno script.
However I did not update any julia or atom package.

Alright. Until the next version of JuliaPro is out (which should be pretty soon, I think, but also 1.0 only) you’ll probably need to install Juno yourself anyways for a more bug-free experience :slight_smile:

that’s fine!
Thanks for the support.

I am waiting …

Same error

Press Enter to start Julia. 
execvp(3) failed.: No such file or directory

Julia has exited.
Press Enter to start a new session.
execvp(3) failed.: No such file or directory

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


Update:
Seems like there is something wrong with julia’s path I gave the absolute path in settings and now it works :grinning: