Hi,
I tried installed the atom package Hydrogen (after I disabled my Antivirus ) . After an hour and a half of waiting I decided to restart Atom. Since then, Julia does not start.
I get the following from within Atom
Press Enter to start Julia.
juno-msg-precompilingINFO: Precompiling module Atom.
ERROR: LoadError: LoadError: Unable to load
lib (C:\Users\boris\.julia\v0.6\HttpParser\deps\usr\lib\libhttp_parser64.DLL)
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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\HttpParser\src\..\deps\deps.jl, in expression starting on l
ine 20
while loading C:\Users\boris\.julia\v0.6\HttpParser\src\HttpParser.jl, in expression starting on lin
e 9
ERROR: LoadError: LoadError: Failed to precompile HttpParser to C:\Users\boris\.julia\lib\v0.6\HttpP
arser.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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\HttpServer\src\RequestParser.jl, in expression starting on
line 16
while loading C:\Users\boris\.julia\v0.6\HttpServer\src\HttpServer.jl, in expression starting on lin
e 12
ERROR: LoadError: LoadError: Failed to precompile HttpServer to C:\Users\boris\.julia\lib\v0.6\HttpS
erver.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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Mux\src\server.jl, in expression starting on line 1
while loading C:\Users\boris\.julia\v0.6\Mux\src\Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError: Failed to precompile Mux to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Blink\src\content/content.jl, in expression starting on lin
e 1
while loading C:\Users\boris\.julia\v0.6\Blink\src\Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Atom\src\Atom.jl, in expression starting on line 5
juno-msg-loadERROR: LoadError: Failed to precompile Atom to C:\Users\boris\.julia\lib\v0.6\Atom.ji.
Stacktrace:
[1] compilecache(::String) at .\loading.jl:710
[2] _require(::Symbol) at .\loading.jl:497
[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 C:\Users\boris\.atom\packages\julia-client\script\boot_repl.jl, in expression starting
on line 35
it freezes at the last line and I have to stop Julia.
If i try “using Atom” from the Julia terminal (not in Atom) I get the following:
julia> using Atom
INFO: Precompiling module Atom.
ERROR: LoadError: LoadError: Unable to load
lib (C:\Users\boris\.julia\v0.6\HttpParser\deps\usr\lib\libhttp_parser64.DLL)
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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\HttpParser\src\..\deps\deps.jl, in expression starting on line 20
while loading C:\Users\boris\.julia\v0.6\HttpParser\src\HttpParser.jl, in expression starting on line 9
ERROR: LoadError: LoadError: Failed to precompile HttpParser to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\HttpServer\src\RequestParser.jl, in expression starting on line 16
while loading C:\Users\boris\.julia\v0.6\HttpServer\src\HttpServer.jl, in expression starting on line 12
ERROR: LoadError: LoadError: Failed to precompile HttpServer to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Mux\src\server.jl, in expression starting on line 1
while loading C:\Users\boris\.julia\v0.6\Mux\src\Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError: Failed to precompile Mux to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Blink\src\content/content.jl, in expression starting on line 1
while loading C:\Users\boris\.julia\v0.6\Blink\src\Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to C:\Users\boris\.julia\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 .\<missing>:2
while loading C:\Users\boris\.julia\v0.6\Atom\src\Atom.jl, in expression starting on line 5
ERROR: Failed to precompile Atom to C:\Users\boris\.julia\lib\v0.6\Atom.ji.
Stacktrace:
[1] compilecache(::String) at .\loading.jl:710
[2] _require(::Symbol) at .\loading.jl:497
[3] require(::Symbol) at .\loading.jl:405
Since everything was working before, it has to be something with Hydrogen/the IJulia kernel (on which hydrogen depends) and Juno.
Now, I guess, that if I reinstall Atom cleanly this would hopefully go away. However, I would prefer to actually learn how to get to the bottom of such things, if possible. E.g. if a package breaks the link between Atom and Julia, how could I reconfigure it? And how does this happen?
I would be grateful for some tips, as I am still testing the waters and would like to use a text editor and IDE that are sufficiently stable and so far, I am getting the short end of the stick.
Thanks!
Edit:
I should have included that if I try
Pkg.build(“Atom”) I get
julia> Pkg.build("Atom")
INFO: Building HttpParser
INFO: Attempting to create directory C:\Users\boris\.julia\v0.6\HttpParser\deps\downloads
INFO: Directory C:\Users\boris\.julia\v0.6\HttpParser\deps\downloads already exists
INFO: Downloading file https://s3.amazonaws.com/julialang/bin/winnt/extras/libhttp_parser_2_7_1.zip
INFO: Done downloading file https://s3.amazonaws.com/julialang/bin/winnt/extras/libhttp_parser_2_7_1.zip
INFO: Attempting to create directory C:\Users\boris\.julia\v0.6\HttpParser
INFO: Directory C:\Users\boris\.julia\v0.6\HttpParser already exists
INFO: Path C:\Users\boris\.julia\v0.6\HttpParser\deps\usr already exists
=================================================[ ERROR: HttpParser ]==================================================
LoadError: Provider BinDeps.Binaries failed to satisfy dependency libhttp_parser
while loading C:\Users\boris\.julia\v0.6\HttpParser\deps\build.jl, in expression starting on line 71
========================================================================================================================
INFO: Building MbedTLS
Using system libraries...
====================================================[ BUILD ERRORS ]====================================================
WARNING: HttpParser had build errors.
- packages with build errors remain installed in C:\Users\boris\.julia\v0.6
- build the package(s) and all dependencies with `Pkg.build("HttpParser")`
- build a single package by running its `deps/build.jl` script
========================================================================================================================
and then using Atom is again giving an error.