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

currently uninstallable on 0.6.2. #187

Closed
iwelch opened this issue Apr 19, 2018 · 9 comments
Closed

currently uninstallable on 0.6.2. #187

iwelch opened this issue Apr 19, 2018 · 9 comments

Comments

@iwelch
Copy link

iwelch commented Apr 19, 2018

julia> using Plotly
INFO: Precompiling module Requests.
INFO: Precompiling module PlotlyJS.
WARNING: Module Hiccup with uuid 682827448898942 is missing from the cache.
This may mean module Hiccup does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:455
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /Users/ivo/.julia/v0.6/Mux/src/Mux.jl, in expression starting on line 22
ERROR: LoadError: LoadError: Failed to precompile Mux to /Users/ivo/.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 /Users/ivo/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /Users/ivo/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to /Users/ivo/.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 /Users/ivo/.julia/v0.6/PlotlyJS/src/PlotlyJS.jl, in expression starting on line 17
ERROR: LoadError: Failed to precompile PlotlyJS to /Users/ivo/.julia/lib/v0.6/PlotlyJS.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] eval(::Module, ::Any) at ./boot.jl:235
 [6] _require(::Symbol) at ./loading.jl:490
 [7] require(::Symbol) at ./loading.jl:405
while loading /Users/ivo/.julia/v0.6/Plotly/src/Plotly.jl, in expression starting on line 11
@sglyon
Copy link
Member

sglyon commented Apr 19, 2018

Thanks for reporting!

I'll look into this tomorrow unless someone beats me to it

@sglyon
Copy link
Member

sglyon commented Apr 20, 2018

This sometimes happens when packages aren't precompiled before loading a dependent package

Could you please try using Hiccup, Mux, Blink, PlotlyJS and report back what happens?

@iwelch
Copy link
Author

iwelch commented Apr 21, 2018

happy to do so. (PS: I do not need this right now. I am just trying to help. I presume by 1.0 with a new package manager, the stability will return.)

julia> using Hiccup, Mux, Blink, PlotlyJS
INFO: Precompiling module HttpServer.
INFO: Precompiling module WebSockets.
INFO: Precompiling module Blink.
WARNING: Module Mux with uuid 718528355770780 is missing from the cache.
This may mean module Mux does not support precompilation but is imported by a module that does.
ERROR: LoadError: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:455
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
while loading /Users/ivo/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /Users/ivo/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: Failed to precompile Blink to /Users/ivo/.julia/lib/v0.6/Blink.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:497
 [3] require(::Symbol) at ./loading.jl:405

@iwelch
Copy link
Author

iwelch commented Apr 21, 2018

Let me add that I had wiped ~/.julia/v0.6, and then proceeded to reinstall everything as follows:

Pkg.add.( [ "NLsolve",
"Gadfly",
"Optim",
"QuantEcon",
"CSV",
"Ipopt",
"JLD",
"JuMP",
"Roots",
"NamedTuples",
"DataFrames",
"JSON",
"IntervalRootFinding",
"TimeSeries",
"IntervalArithmetic",
"Clp",
"TimerOutputs",
"Plots",
"PyPlot",
"Formatting",
"Plotly",
"GLM",
"StatsBase",
"GZip",
"Missings",
"Iterators",
"RDatasets",
"Loess",
"Glob",
"DataStructures",
"CategoricalArrays",
"Distributions",
"BenchmarkTools",
"SQLite" ] );


using NLsolve
using Gadfly
using Optim
using QuantEcon
using CSV
using Ipopt
using JLD
using JuMP
using Roots
using NamedTuples
using DataFrames
using JSON
using IntervalRootFinding
using TimeSeries
using IntervalArithmetic
using Clp
using TimerOutputs
using Plots
using PyPlot
using Formatting
using Plotly
using GLM
using StatsBase
using GZip
using Missings
using Iterators
using RDatasets
using Loess
using Glob
using DataStructures
using CategoricalArrays
using Distributions
using BenchmarkTools
using SQLite

Unless the package installer is even more flaky than I think it is, this should reproduce the problem in case anyone is interested.

@sglyon
Copy link
Member

sglyon commented Apr 21, 2018

@iwelch thanks for being willing to help! Yes, I think stability will be much easier for package authors/maintainers to achieve once 1.0 is out -- in large part because of the new package manager like you mentioned.

Can you describe your setup a bit more? Which OS are you using? Which front end are you using to julia: command line version, jupyter notebook, juno?

Our tests are able to run on 0.6.2 on Linux and command line julia -- which includes the installation step, so I'm not sure exactly why this would be happening with your setup

@iwelch
Copy link
Author

iwelch commented Apr 21, 2018

OS: macOS. latest version.

julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Prescott)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

command line. (the error happens on using not on Pkg.add().)

two choices to try to replicate---[1] just ignore (its unimportant to me, too). [2] rm -rf the julia v0.6 contents, then run my long pkg.add / using list above. see if it replicates. takes a while, though.

regards,

/iaw

@iwelch
Copy link
Author

iwelch commented Apr 21, 2018

come to think of it, wait until I do it from scratch again. I will report back if I can recreate it on the same machine from scratch, first. if not, it was a package manager hiccup somewhere?!

@iwelch
Copy link
Author

iwelch commented Apr 21, 2018

full reinstall. bug is gone now. lovely. so, ignore.

@iwelch iwelch closed this as completed Apr 21, 2018
@sglyon
Copy link
Member

sglyon commented Apr 21, 2018

Thanks for following up

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

No branches or pull requests

2 participants