-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Loading PlotlyJS fails on Julia V0.5-rc1 #62
Comments
Hey @asbisen I have PlotlyJS working on my Julia 0.5, but I have many packages checked out to their master versions, not the latest release. I think the problem here is with the Requires.jl package. Maybe you can try If we can work together to get a list of packages that need to be checked out we can make sure new releases of those packages are tagged so other users don't have to do this when they switch to 0.5. |
Richt now it seems to be an issue with abisen➜~/opt/julia-dev(cede539)» ./julia [12:22:47]
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0-rc1+0 (2016-08-04 08:48 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-apple-darwin15.6.0
julia> Pkg.add("Requires")
INFO: Initializing package repository /Users/abisen/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
INFO: Installing MacroTools v0.3.0
INFO: Installing Requires v0.2.2
INFO: Package database updated
julia> using Requires
INFO: Precompiling module Requires...
WARNING: symbol is deprecated, use Symbol instead.
.
.
WARNING: symbol is deprecated, use Symbol instead.
.
.
WARNING: symbol is deprecated, use Symbol instead.
.
.
WARNING: symbol is deprecated, use Symbol instead.
.
.
WARNING: symbol is deprecated, use Symbol instead.
.
.
WARNING: symbol is deprecated, use Symbol instead.
.
.
ERROR: InitError: type Method has no field func
in macro expansion at /Users/abisen/.julia/v0.5/Requires/src/require.jl:9 [inlined]
in (::Requires.##8#9)() at /Users/abisen/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/abisen/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:174
in require(::Symbol) at ./loading.jl:365
during initialization of module Requires Then after checking out the master julia> Pkg.checkout("Requires")
INFO: Checking out Requires master...
INFO: Pulling Requires latest master...
WARNING: Cannot perform fast-forward merge.
INFO: No packages to install, update or remove
julia> using Requires
INFO: Recompiling stale cache file /Users/abisen/.julia/lib/v0.5/Requires.ji for module Requires.
.
.
ERROR: InitError: type Method has no field func
in macro expansion at /Users/abisen/.julia/v0.5/Requires/src/require.jl:9 [inlined]
in (::Requires.##8#9)() at /Users/abisen/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/abisen/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
during initialization of module Requires |
The issue is related to an open issue in |
So the problem was resolved once i was able to checkout julia> Pkg.checkout("Requires")
INFO: Checking out Requires master...
INFO: Pulling Requires latest master...
WARNING: Cannot perform fast-forward merge.
INFO: No packages to install, update or remove
but I was able to perform a manual merge by visiting |
@asbisen can this be closed now? |
I did check this again in Julia 0.5.0-rc2 by performing Pkg.free() for PlotlyJS and Requires and can confirm that I was able to load the module and plot a chart. So yes we can close this. |
I am able to
Pkg.add(PlotlyJS)
but loading it failsThe text was updated successfully, but these errors were encountered: