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

Queryverse fails to compile on Julia 1.0.0 #11

Closed
ldesousa opened this issue Oct 10, 2018 · 4 comments
Closed

Queryverse fails to compile on Julia 1.0.0 #11

ldesousa opened this issue Oct 10, 2018 · 4 comments
Labels

Comments

@ldesousa
Copy link

I am trying to install Queryverse on Julia 1.0.0. It downloads correctly, but fails to install. The full log is below.

$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Pkg

julia> Pkg.add("Queryverse")
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]

julia> using Queryverse
[ Info: Precompiling Queryverse [612083be-0b0f-5412-89c1-4e7c75506a58]
ERROR: LoadError: LoadError: PyCall not properly installed. Please run Pkg.build("PyCall")
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at /home/duque004/.julia/packages/PyCall/rUul9/src/startup.jl:44 [inlined]
 [3] top-level scope at ./none:0
 [4] include at ./boot.jl:317 [inlined]
 [5] include_relative(::Module, ::String) at ./loading.jl:1038
 [6] include at ./sysimg.jl:29 [inlined]
 [7] include(::String) at /home/duque004/.julia/packages/PyCall/rUul9/src/PyCall.jl:3
 [8] top-level scope at none:0
 [9] include at ./boot.jl:317 [inlined]
 [10] include_relative(::Module, ::String) at ./loading.jl:1038
 [11] include(::Module, ::String) at ./sysimg.jl:29
 [12] top-level scope at none:2
 [13] eval at ./boot.jl:319 [inlined]
 [14] eval(::Expr) at ./client.jl:389
 [15] top-level scope at ./none:3
in expression starting at /home/duque004/.julia/packages/PyCall/rUul9/src/startup.jl:41
in expression starting at /home/duque004/.julia/packages/PyCall/rUul9/src/PyCall.jl:37
ERROR: LoadError: Failed to precompile PyCall [438e738f-606a-5dbb-bf0a-cddfbfd45ab0] to /home/duque004/.julia/compiled/v1.0/PyCall/GkzkC.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1038
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:389
 [14] top-level scope at ./none:3
in expression starting at /home/duque004/.julia/packages/ExcelReaders/O29uZ/src/ExcelReaders.jl:3
ERROR: LoadError: Failed to precompile ExcelReaders [c04bee98-12a5-510c-87df-2a230cb6e075] to /home/duque004/.julia/compiled/v1.0/ExcelReaders/yiZD3.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1038
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:389
 [14] top-level scope at ./none:3
in expression starting at /home/duque004/.julia/packages/ExcelFiles/A2Rsj/src/ExcelFiles.jl:4
ERROR: LoadError: Failed to precompile ExcelFiles [89b67f3b-d1aa-5f6f-9ca4-282e8d98620d] to /home/duque004/.julia/compiled/v1.0/ExcelFiles/cZRj4.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1038
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:389
 [14] top-level scope at ./none:3
in expression starting at /home/duque004/.julia/packages/Queryverse/PUhwL/src/Queryverse.jl:10
ERROR: Failed to precompile Queryverse [612083be-0b0f-5412-89c1-4e7c75506a58] to /home/duque004/.julia/compiled/v1.0/Queryverse/hLJnW.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

julia> 

@davidanthoff
Copy link
Member

Can you try to build PyCall? Just type ]build PyCall at the REPL.

I've had this error as well in the past, somehow PyCall build doesn't get triggered at the right moment, or something like that... Something we really should investigate, but for now it would be good to know whether an extra manual build solves this for you.

Thanks for reporting!

@hedgefair
Copy link

Thanks for your work with Queyverse. I'm loving it.
Unistalled previous versions of Julia.
Changed to 1.0.1 downloaded from julialang.org for windows. I have build Pycall and still getting this:

INFO: Precompiling module HTTP.
ERROR: LoadError: LoadError: base64 binary data: G1s5MW1lcnJvciBjb21waWxpbmcgVHlwZTogY291bGQgbm90IGxvYWQgbGlicmFyeSAiQzpcVXNlcnNcanBuaWVcLmp1bGlhXHYwLjZcTWJlZFRMU1xzcmNcLi5cZGVwc1x1c3JcYmluXGxpYm1iZWR0bHMuZGxsIgqKG1szOW0KU3RhY2t0cmFjZTo=

[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\jpnie.julia\v0.6\HTTP\src\compat.jl, in expression starting on line 82
while loading C:\Users\jpnie.julia\v0.6\HTTP\src\HTTP.jl, in expression starting on line 14
LoadError: LoadError: Failed to precompile HTTP to C:\Users\jpnie.julia\lib\v0.6\HTTP.ji.
while loading C:\Users\jpnie.julia\v0.6\CSVFiles\src\CSVFiles.jl, in expression starting on line 3
while loading C:\Users\jpnie.julia\v0.6\Queryverse\src\Queryverse.jl, in expression starting on line 12

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] eval(::Module, ::Any) at .\boot.jl:235
[6] _require(::Symbol) at .\loading.jl:490
[7] require(::Symbol) at .\loading.jl:405
[8] include_from_node1(::String) at .\loading.jl:576
[9] eval(::Module, ::Any) at .\boot.jl:235
[10] _require(::Symbol) at .\loading.jl:490
[11] require(::Symbol) at .\loading.jl:405
[12] include_string(::String, ::String) at .\loading.jl:522
[13] execute_request(::ZMQ.Socket, ::IJulia.Msg) at C:\Users\jpnie.julia\v0.6\IJulia\src\execute_request.jl:193
[14] (::Compat.#inner#14{Array{Any,1},IJulia.#execute_request,Tuple{ZMQ.Socket,IJulia.Msg}})() at C:\Users\jpnie.julia\v0.6\Compat\src\Compat.jl:332
[15] eventloop(::ZMQ.Socket) at C:\Users\jpnie.julia\v0.6\IJulia\src\eventloop.jl:8
[16] (::IJulia.##13#16)() at .\task.jl:335

@davidanthoff
Copy link
Member

@hedgefair It looks like you are running on julia v0.6? And that there is some problem with HTTP.jl? I just tried to load Queryverse on julia 0.6 after a Pkg.update(), and it all seems to work.

@davidanthoff
Copy link
Member

I'm going to close this for now. I have run into issues with PyCall, but those will have to solved in that package.

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

3 participants