HarrisonGrodin/Rewrite.jl

Cannot install package

saschatimme opened this issue · 1 comments

Hi,

just tried to install your package following your JuliaCon talk. But I hit this rather strange problem:

(computations) pkg> add https://github.com/HarrisonGrodin/Rewrite.jl.git
  Updating git-repo `https://github.com/HarrisonGrodin/Rewrite.jl.git`
 Resolving package versions...
  Updating `~/Dropbox/math/computations/Project.toml`
  [faceda62] + Rewrite v0.1.0 #master (https://github.com/HarrisonGrodin/Rewrite.jl.git)
  Updating `~/Dropbox/math/computations/Manifest.toml`
  [864edb3b] + DataStructures v0.17.0
  [faceda62] + Rewrite v0.1.0 #master (https://github.com/HarrisonGrodin/Rewrite.jl.git)

julia> using Rewrite
[ Info: Precompiling Rewrite [faceda62-1099-11e9-2df8-4d2b97a880ac]
ERROR: LoadError: LoadError: LoadError: cannot replace module Rewrite during compilation
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /Users/sascha/.julia/packages/Rewrite/DD0FH/src/Rewrite.jl:1
 [5] top-level scope at none:0
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include at ./sysimg.jl:29 [inlined]
 [9] include(::String) at /Users/sascha/.julia/packages/Rewrite/DD0FH/src/Rewrite.jl:1
 [10] top-level scope at none:0
 [11] include at ./boot.jl:326 [inlined]
 [12] include_relative(::Module, ::String) at ./loading.jl:1038
 [13] include(::Module, ::String) at ./sysimg.jl:29
 [14] top-level scope at none:2
 [15] eval at ./boot.jl:328 [inlined]
 [16] eval(::Expr) at ./client.jl:404
 [17] top-level scope at ./none:3
in expression starting at /Users/sascha/.julia/packages/Rewrite/DD0FH/src/rewrite.jl:1
in expression starting at /Users/sascha/.julia/packages/Rewrite/DD0FH/src/core.jl:19
in expression starting at /Users/sascha/.julia/packages/Rewrite/DD0FH/src/Rewrite.jl:3
ERROR: Failed to precompile Rewrite [faceda62-1099-11e9-2df8-4d2b97a880ac] to /Users/sascha/.julia/compiled/v1.1/Rewrite/Xb8Ps.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

Hmm, strange. Did you ever have the old version of Rewrite installed?