[Problem Solved] Installing JUNO : non-understood error

juno

#1

I followed the instructions given in http://docs.junolab.org/latest/man/installation.html to install Juno, and when I typed 2+2 in the console to make the Julia-Atom interaction, I got the following errors in the console.

INFO:
Precompiling module Atom.
WARNING: @functorize is deprecated as functor objects are no longer supported in julia

Stacktrace:
[1]
depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
[7] eval(::Module, ::Any) at ./boot.jl:235
[8] process_options(::Base.JLOptions) at ./client.jl:286
[9] _start() at ./client.jl:371
while loading /home/arthur/.julia/v0.6/Lazy/src/liblazy.jl, in expression starting on line 4
WARNING: @functorize is deprecated as functor objects are no longer supported in julia
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
[7] eval(::Module, ::Any) at ./boot.jl:235
[8] process_options(::Base.JLOptions) at ./client.jl:286
[9] _start() at ./client.jl:371
while loading /home/arthur/.julia/v0.6/Lazy/src/liblazy.jl, in expression starting on line 4
ERROR: LoadError:
HttpParser not properly installed. Please run
Pkg.build(“HttpParser”)
Stacktrace:

[1]
error(::String, ::String, ::Vararg{String,N} where N) at ./error.jl:30
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] anonymous at ./:2
while loading /home/arthur/.julia/v0.6/HttpParser/src/HttpParser.jl, in expression starting on line 9
ERROR: LoadError: LoadError:
Failed to precompile HttpParser to /home/arthur/.julia/lib/v0.6/HttpParser.ji.
Stacktrace:
[1]
compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/arthur/.julia/v0.6/HttpServer/src/RequestParser.jl, in expression starting on line 16
while loading /home/arthur/.julia/v0.6/HttpServer/src/HttpServer.jl, in expression starting on line 12
ERROR: LoadError: LoadError:
Failed to precompile HttpServer to /home/arthur/.julia/lib/v0.6/HttpServer.ji.
Stacktrace:

[1]
compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/arthur/.julia/v0.6/Mux/src/server.jl, in expression starting on line 1
while loading /home/arthur/.julia/v0.6/Mux/src/Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError:
Failed to precompile Mux to /home/arthur/.julia/lib/v0.6/Mux.ji.
Stacktrace:

[1]
compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/arthur/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /home/arthur/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError:
Failed to precompile Blink to /home/arthur/.julia/lib/v0.6/Blink.ji.
Stacktrace:

[1]
compilecache
(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/arthur/.julia/v0.6/Atom/src/Atom.jl, in expression starting on line 5
ERROR:
LoadError:
Failed to precompile Atom to /home/arthur/.julia/lib/v0.6/Atom.ji.
Stacktrace:

[1]
compilecache
(
::
String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:490
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[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/arthur/.atom/packages/julia-client/script/boot.jl, in expression starting on line 34

“cmaker” and “curl” are installed. The Pkg.update() had no effect. I am a noob with Julia. Your help would be appreciated.

Sincerly.


#2

What does Pkg.build("HttpParser") in the REPL output?


#4

Hello Sebastian,

Thank you for answering me !

Here’s the REPL output. (REPL is the Julia interface in terminal, right ?)

=====================================================================
INFO: Building HttpParser
INFO: Attempting to Create directory /home/arthur/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/arthur/.julia/v0.6/HttpParser/deps/downloads already created
INFO: Attempting to Create directory /home/arthur/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/arthur/.julia/v0.6/HttpParser/deps/downloads already created
INFO: Downloading file https://github.com/nodejs/http-parser/archive/v2.7.1.zip
INFO: Done downloading file https://github.com/nodejs/http-parser/archive/v2.7.1.zip
INFO: Attempting to Create directory /home/arthur/.julia/v0.6/HttpParser/deps
INFO: Directory /home/arthur/.julia/v0.6/HttpParser/deps already created
INFO: Path /home/arthur/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1 already created
INFO: Attempting to Create directory /home/arthur/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/arthur/.julia/v0.6/HttpParser/deps/usr/lib already created
INFO: Changing Directory to /home/arthur/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing Directory to /home/arthur/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing Directory to /home/arthur/.julia/v0.6/HttpParser/deps/src
INFO: Attempting to Create directory /home/arthur/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/arthur/.julia/v0.6/HttpParser/deps/usr/lib already created
INFO: Changing Directory to /home/arthur/.julia/v0.6/HttpParser/deps/src
INFO: Changing Directory to /home/arthur/.julia/v0.6/HttpParser/deps/src
=====================================================================

Sounds like you spot what was wrong, because the atom seems to be correctly connected to Julia. I can compute 2+2 correctly. I was supposed to have gone through this step, but sounds like I actually missed it.

Thank you !
Regards.


#5

Glad it’s working for you now! :slight_smile:


#6

Where do I set “problem solved” on the post ?


#7

pick Solution check box on the reply

image


#8

Goodnight!

I have this message and i don’t work Atom + Julia

julia> using Atom
INFO: Precompiling module Atom.
ERROR: LoadError: HttpParser not properly installed. Please run
Pkg.build(“HttpParser”)
Stacktrace:
[1] error(::String, ::String, ::Vararg{String,N} where N) at ./error.jl:30
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] anonymous at ./:2
while loading /home/rudiney/.julia/v0.6/HttpParser/src/HttpParser.jl, in expression starting on line 9
ERROR: LoadError: LoadError: Failed to precompile HttpParser to /home/rudiney/.julia/lib/v0.6/HttpParser.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/rudiney/.julia/v0.6/HttpServer/src/RequestParser.jl, in expression starting on line 16
while loading /home/rudiney/.julia/v0.6/HttpServer/src/HttpServer.jl, in expression starting on line 12
ERROR: LoadError: LoadError: Failed to precompile HttpServer to /home/rudiney/.julia/lib/v0.6/HttpServer.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/rudiney/.julia/v0.6/Mux/src/server.jl, in expression starting on line 1
while loading /home/rudiney/.julia/v0.6/Mux/src/Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError: Failed to precompile Mux to /home/rudiney/.julia/lib/v0.6/Mux.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:569
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/rudiney/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /home/rudiney/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to /home/rudiney/.julia/lib/v0.6/Blink.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
[4] include_from_node1(::String) at ./loading.jl:569
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/rudiney/.julia/v0.6/Atom/src/Atom.jl, in expression starting on line 5
ERROR: Failed to precompile Atom to /home/rudiney/.julia/lib/v0.6/Atom.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:490
[3] require(::Symbol) at ./loading.jl:398

julia>