Skip to content

Instantly share code, notes, and snippets.

@ivirshup
Last active May 4, 2016 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivirshup/53b1d142934d73c866b8e0b6d6484647 to your computer and use it in GitHub Desktop.
Save ivirshup/53b1d142934d73c866b8e0b6d6484647 to your computer and use it in GitHub Desktop.
Error that occurs with `using LightGraphs; using Gadfly`
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0-dev+3875 (2016-05-04 06:47 UTC)
_/ |\__'_|_|_|\__'_| | Commit 90de028 (0 days old master)
|__/ | x86_64-apple-darwin15.4.0
julia> using LightGraphs # Requires throws error, but running it again after seems to work fine
using LiWARNING: symbol is deprecated, use Symbol instead.g
[inlined code] from ./error.jl:26
in depwarn(h::ASCIIString, ::Symbol) at ./deprecated.jl:64
[inlined code] from ./strings/io.jl:53
in symbol(::SubString{UTF8String}, ::Vararg{SubString{UTF8String}}) at ./deprecated.jl:30
[inlined code] from ./array.jl:310
in match(::Symbol, ::Symbol, ::Dict{Any,Any}) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:86
in match_inner(::Expr, ::Expr, ::Dict{Any,Any}) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:63
in match(::Expr, ::Expr, ::Dict{Any,Any}) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:89
in match_inner(::Expr, ::Expr, ::Dict{Any,Any}) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:63
in match(::Expr, ::Expr, ::Dict{Any,Any}) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:89
in match(::Expr, ::Expr) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:92
in trymatch(::Expr, ::Expr) at /Users/isaac/.julia/v0.5/MacroTools/src/match.jl:105
[inlined code] from /Users/isaac/.julia/v0.5/MacroTools/src/macro.jl:29
in (::MacroTools.##15#16)(::Expr) at /Users/isaac/.julia/v0.5/MacroTools/src/utils.jl:91
[inlined code] from /Users/isaac/.julia/v0.5/MacroTools/src/utils.jl:62
in shortdef(::Expr) at /Users/isaac/.julia/v0.5/MacroTools/src/utils.jl:90
[inlined code] from /Users/isaac/.julia/v0.5/MacroTools/src/macro.jl:57
in @hook(::Any) at /Users/isaac/.julia/v0.5/Requires/src/hook.jl:4
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/Requires.jl:3
in (::Requires.##8#9)() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in stale_cachefile(::ASCIIString, ::ASCIIString) at ./loading.jl:562
in recompile_stale(::Symbol, ::ASCIIString) at ./loading.jl:579
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:173
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in eval(::Module, ::Any) at ./boot.jl:236
while loading no file, in expression starting on line 0
tGERROR: InitError: type Method has no field func
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/Requires.jl:3
in (::Requires.##8#9)() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in stale_cachefile(::ASCIIString, ::ASCIIString) at ./loading.jl:562
in recompile_stale(::Symbol, ::ASCIIString) at ./loading.jl:579
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:173
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in eval(::Module, ::Any) at ./boot.jl:236
during initialization of module Requires
julia> using LightGraphs
WARNING: New definition
(::Type{DataStructures.HashDict{#K<:Any, #V<:Any, #O<:Union{Int64, Void}}})(Any, Any) at /Users/isaac/.julia/v0.5/DataStructures/src/hash_dict.jl:40
is ambiguous with:
(::Type{DataStructures.HashDict{#K<:Any, #V<:Any, #O<:Union{Int64, Void}}})(Base.Pair{A<:Any, B<:Any}...) at /Users/isaac/.julia/v0.5/DataStructures/src/hash_dict.jl:31.
To fix, define
(::Type{DataStructures.HashDict{#K<:Any, #V<:Any, #O<:Union{Int64, Void}}})(Base.Pair{A<:Any, B<:Any}, Base.Pair{A<:Any, B<:Any})
before the new definition.
WARNING: New definition
all(Function, Lazy.List) at /Users/isaac/.julia/v0.5/Lazy/src/liblazy.jl:179
is ambiguous with:
all(Base.#identity, Any) at reduce.jl:399.
To fix, define
all(Base.#identity, Lazy.List)
before the new definition.
WARNING: New definition
any(Function, Lazy.List) at /Users/isaac/.julia/v0.5/Lazy/src/liblazy.jl:176
is ambiguous with:
any(Base.#identity, Any) at reduce.jl:392.
To fix, define
any(Base.#identity, Lazy.List)
before the new definition.
usingWARNING: symbol is deprecated, use Symbol instead.
[inlined code] from ./error.jl:26
in depwarn(::ASCIIString, ::Symbol) at ./deprecated.jl:64
[inlined code] from ./strings/io.jl:53
in symbol(::SubString{ASCIIString}, ::Vararg{SubString{ASCIIString}}) at ./deprecated.jl:30
[inlined code] from ./generator.jl:22
in _collect(::Array{SubString{ASCIIString},1}, ::Base.Generator{Array{SubString{ASCIIString},1},Base.#symbol}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:250
[inlined code] from ./array.jl:226
in map(::Function, ::Array{SubString{ASCIIString},1}) at ./abstractarray.jl:1119
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/getthing.jl:15
in getthing(::Module, ::ASCIIString, ::Void) at /Users/isaac/.julia/v0.5/Requires/src/getthing.jl:44 (repeats 2 times)
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/require.jl:17
in listenmod(:: LightGraphs.Datasets.##2#9, ::ASCIIString) at /Users/isaac/.julia/v0.5/Requires/src/require.jl:21
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/require.jl:57
in (::LightGraphs.Datasets.##1#8)() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in eval(::Module, ::Any) at ./boot.jl:236
while loading no file, in expression starting on line 0
gaWARNING: symbol is deprecated, use Symbol instead.
[inlined code] from ./error.jl:26
in depwarn(::ASCIIString, ::Symbol) at ./deprecated.jl:64
[inlined code] from ./strings/io.jl:53
in symbol(::ASCIIString, ::Vararg{ASCIIString}) at ./deprecated.jl:30
in #getloopedcode#23(::Bool, ::Function, ::Expr, ::Expr, ::Expr, ::Array{Any,1}, ::Array{Any,1}, ::Array{JuMP.IndexPair,1}, ::Symbol) at /Users/isaac/.julia/v0.5/JuMP/src/macros.jl:144
in @variable(::Symbol, ::Vararg{Any}) at /Users/isaac/.julia/v0.5/JuMP/src/macros.jl:943
[inlined code] from /Users/isaac/.julia/v0.5/LightGraphs/src/LightGraphs.jl:2
in err(::LightGraphs.##79#86, ::Module, ::ASCIIString) at /Users/isaac/.julia/v0.5/Requires/src/require.jl:60
in (::LightGraphs.##78#85)() at /Users/isaac/.julia/v0.5/Requires/src/require.jl:59
in withpath(::LightGraphs.##78#85, ::ASCIIString) at /Users/isaac/.julia/v0.5/Requires/src/require.jl:37
in listenmod(::LightGraphs.##77#84, ::ASCIIString) at /Users/isaac/.julia/v0.5/Requires/src/require.jl:58
[inlined code] from /Users/isaac/.julia/v0.5/Requires/src/require.jl:57
in (::LightGraphs.##76#83)() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:17
in __init__() at /Users/isaac/.julia/v0.5/Requires/src/init.jl:24
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in eval(::Module, ::Any) at ./boot.jl:236
while loading no file, in expression starting on line 0
d
julia> using Gadfly
WARNING: New definition
size(DataFrames.ModelMatrix, Any...) at /Users/isaac/.julia/v0.5/DataFrames/src/statsmodels/formula.jl:48
is ambiguous with:
size(Any, Integer, Integer, Integer...) at abstractarray.jl:23.
To fix, define
size(DataFrames.ModelMatrix, Integer, Integer, Integer...)
before the new definition.
ERROR: MethodError: no method matching module_uuid(::LightGraphs.#Grid)
in stale_cachefile(::ASCIIString, ::ASCIIString) at ./loading.jl:564
in recompile_stale(::Symbol, ::ASCIIString) at ./loading.jl:579
in _require_from_serialized(::Int64, ::Symbol, ::ASCIIString, ::Bool) at ./loading.jl:173
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
in eval(::Module, ::Any) at ./boot.jl:236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment