Seems to be fixed with
rm -rf ~/.julia

Strange that Pkg.rm/Pkg.add didn't seem to fix it

Neal Becker wrote:

> Seems like nothing I try is working now:
> Version 0.6.0-dev.896 (2016-10-07 08:16 UTC)
> Commit 38a63bd* (3 days old master)
> x86_64-redhat-linux
> 
> julia> using Polynomials
> INFO: Recompiling stale cache file
> /home/nbecker/.julia/lib/v0.6/Polynomials.ji for module Polynomials.
> WARNING: The call to compilecache failed to create a usable precompiled
> cache file for module Polynomials. Got:
> WARNING: Precompile file header verification checks failed.
> ERROR: LoadError: Declaring __precompile__(true) is only allowed in module
> files being imported.
>  in __precompile__(::Bool) at ./loading.jl:311
>  in __precompile__() at ./loading.jl:307
>  in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
>  in macro expansion at ./REPL.jl:97 [inlined]
>  in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
> while loading /home/nbecker/.julia/v0.6/Polynomials/src/Polynomials.jl, in
> expression starting on line 3
> 
> julia> Pkg.add("DSP")
> INFO: Installing DSP v0.1.1
> INFO: Package database updated
> 
> julia> using DSP
> INFO: Recompiling stale cache file /home/nbecker/.julia/lib/v0.6/DSP.ji
> for module DSP.
> WARNING: The call to compilecache failed to create a usable precompiled
> cache file for module DSP. Got:
> WARNING: Precompile file header verification checks failed.
> ERROR: LoadError: Declaring __precompile__(true) is only allowed in module
> files being imported.
>  in __precompile__(::Bool) at ./loading.jl:311
>  in __precompile__() at ./loading.jl:307
>  in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
>  in macro expansion at ./REPL.jl:97 [inlined]
>  in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
> while loading /home/nbecker/.julia/v0.6/DSP/src/DSP.jl, in expression
> starting on line 1
> 
> julia> using PyPlot
> INFO: Precompiling module PyPlot.
> WARNING: Precompile file header verification checks failed.
> ERROR: Module PyPlot declares __precompile__(true) but require failed to
> create a usable precompiled cache file.
>  in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
>  in macro expansion at ./REPL.jl:97 [inlined]
>  in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68


Reply via email to