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

Julia 0.4: Load error : Range1 not defined` #178

Open
AlainLich opened this issue May 18, 2015 · 6 comments
Open

Julia 0.4: Load error : Range1 not defined` #178

AlainLich opened this issue May 18, 2015 · 6 comments

Comments

@AlainLich
Copy link
Contributor

Hi,

I am experiencing a load error with message:
ERROR: LoadError: LoadError: UndefVarError: Range1 not defined

with Graphs version corresponding to following commit:

commit 6de2f20dc982c5d0bd4813797d2c2cfb270931e4
Author: Dahua Lin <[email protected]>
Date:   Sun Apr 19 07:47:19 2015 +0800

    REQUIRE DataStructures 0.3.8
julia> versioninfo()
Julia Version 0.4.0-dev+4704
Commit cd2c363* (2015-05-07 03:55 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

using Graphs
ERROR: LoadError: LoadError: UndefVarError: Range1 not defined
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:53
while loading /home/alain/.julia/v0.4/Graphs/src/edge_list.jl, in expression starting on line 11
while loading /home/alain/.julia/v0.4/Graphs/src/Graphs.jl, in expression starting on line 127

Is any correction available? I would also appreciate some precision about what is (or was) Range1

@mlubin
Copy link
Contributor

mlubin commented May 19, 2015

DataStructures 0.3.9 has been released, give it a try with Pkg.update()

@timholy
Copy link
Contributor

timholy commented May 19, 2015

Range1 is the old name for a UnitRange. This was the inspiration for JuliaLang/julia#11200

@AlainLich
Copy link
Contributor Author

Thanks, I am currently using DataStructures 0.3.9, and (still) experiencing the load error.

@Keno
Copy link
Contributor

Keno commented May 20, 2015

I have this fixed locally, will make a PR.

@Keno
Copy link
Contributor

Keno commented May 20, 2015

#180

@AlainLich
Copy link
Contributor Author

Hi,
could you please add a new tag so that the commit corresponding to this fix #180 gets automatically loaded by Pkg.update().

PS: I would appreciate comments (and possibly approval) for my PRs #182 #183 since they enable interesting graphs in https://github.com/AlainLich/MetadataTools.jl (another candidate for a PR this time in https://github.com/IainNZ/MetadataTools.jl). Otherwise, I'll need to find a workaround.

KristofferC pushed a commit to KristofferC/Graphs.jl that referenced this issue Oct 9, 2021
KristofferC pushed a commit to KristofferC/Graphs.jl that referenced this issue Oct 9, 2021
…allgraphs

changed smallgraph creation to unsafe_add_edge\!() - closes JuliaAttic#178
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