Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Load error with julia 0.6.0-pre.beta.0 (2017-03-31 12:58 UTC) #239

Open
dbrowne opened this issue Jun 16, 2017 · 4 comments
Open

Load error with julia 0.6.0-pre.beta.0 (2017-03-31 12:58 UTC) #239

dbrowne opened this issue Jun 16, 2017 · 4 comments

Comments

@dbrowne
Copy link

dbrowne commented Jun 16, 2017

using Graphs
warnings then
WARNING: deprecated syntax "inner constructor TopologicalSortVisitor(...) around /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/depth_first_visit.jl:131".
Use "TopologicalSortVisitor{V}(...) where V" instead.

WARNING: deprecated syntax "abstract AbstractMASVisitor<:AbstractGraphVisitor" at /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/maximum_adjacency_visit.jl:14.
Use "abstract type AbstractMASVisitor<:AbstractGraphVisitor end" instead.
ERROR: LoadError: LoadError: TypeError: Type{...} expression: expected UnionAll, got Base.Collections.#PriorityQueue
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:539
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:539
[4] eval(::Module, ::Any) at ./boot.jl:235
[5] require(::Symbol) at ./loading.jl:453
while loading /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/maximum_adjacency_visit.jl, in expression starting on line 15
while loading /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/Graphs.jl, in expression starting on line 140

@timholy
Copy link
Contributor

timholy commented Jun 16, 2017

Switch to LightGraphs? Packages in JuliaArchive most likely aren't maintained, but you can of course adopt one yourself if you really need it.

@dehann
Copy link
Contributor

dehann commented Jun 19, 2017

Hi, maintenance on Graphs.jl is slow, but some of us are still using it. LightGraphs.jl does not support separate memory storage or deep coupling with algorithm operation. LightGraphs seems better suited for studying graph properties than using the graph as an actual extendable data structure. I will look at bringing Graphs.jl up to speed for 0.6 in the next couple of weeks. Unlikely to look at it until mid July though.

@sbromberger
Copy link
Contributor

sbromberger commented Jul 9, 2017

LightGraphs.jl does not support separate memory storage

Just to clarify, this isn't strictly true. Have a look at SimpleWeightedEdges.jl and Networks.jl for implementations that allow graph metadata.

(Edited to add 20170823: Also see MetaGraphs.jl for metadata storage with LightGraphs.)

@dehann
Copy link
Contributor

dehann commented Jul 17, 2017

see fixes in PR #241

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

No branches or pull requests

5 participants