Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in precompilation (Missing path) #39

Closed
neuralian opened this issue Apr 22, 2020 · 2 comments
Closed

Error in precompilation (Missing path) #39

neuralian opened this issue Apr 22, 2020 · 2 comments

Comments

@neuralian
Copy link

It does not compile on my machine: (Windows 10, Julia 1.4.0).

[ Info: Precompiling Matte [b0b859e2-eb2e-45cd-bd98-8fc21bfdc9fa]
ERROR: LoadError: InitError: UndefVarError: sorcepath not defined
Stacktrace:
 [1] filter_valid_cachefiles(::String, ::Array{String,1}) at D:\Users\paumi69p\.julia\packages\Revise\xLyiS\src\pkgs.jl:84
 [2] pkg_fileinfo(::Base.PkgId) at D:\Users\paumi69p\.julia\packages\Revise\xLyiS\src\pkgs.jl:99
 [3] parse_pkg_files(::Base.PkgId) at D:\Users\paumi69p\.julia\packages\Revise\xLyiS\src\pkgs.jl:163
 [4] __init__() at D:\Users\paumi69p\.julia\packages\Revise\xLyiS\src\Revise.jl:1201
 [5] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
 [6] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:781
 [7] _require(::Base.PkgId) at .\loading.jl:1006
 [8] require(::Base.PkgId) at .\loading.jl:927
 [9] require(::Module, ::Symbol) at .\loading.jl:922
 [10] include(::Module, ::String) at .\Base.jl:377
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:331 [inlined]
 [13] eval(::Expr) at .\client.jl:449
 [14] top-level scope at .\none:3
during initialization of module Revise
in expression starting at D:\Users\paumi69p\.julia\packages\Genie\9ipqT\src\Genie.jl:6
ERROR: LoadError: Failed to precompile Genie [c43c736e-a2d1-11e8-161f-af95117fbd1e] to D:\Users\paumi69p\.julia\compiled\v1.4\Genie\8eazC_fO3aY.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
 [3] _require(::Base.PkgId) at .\loading.jl:1029
 [4] require(::Base.PkgId) at .\loading.jl:927
 [5] require(::Module, ::Symbol) at .\loading.jl:922
 [6] include(::Module, ::String) at .\Base.jl:377
 [7] top-level scope at none:2
 [8] eval at .\boot.jl:331 [inlined]
 [9] eval(::Expr) at .\client.jl:449
 [10] top-level scope at .\none:3
in expression starting at D:\Users\paumi69p\.julia\packages\Matte\nYRds\src\Matte.jl:3
ERROR: Failed to precompile Matte [b0b859e2-eb2e-45cd-bd98-8fc21bfdc9fa] to D:\Users\paumi69p\.julia\compiled\v1.4\Matte\VMBvG_fO3aY.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
 [3] _require(::Base.PkgId) at .\loading.jl:1029
 [4] require(::Base.PkgId) at .\loading.jl:927
 [5] require(::Module, ::Symbol) at .\loading.jl:922
@angusmoore
Copy link
Owner

Thanks for the report. This is an upstream issue (with Revise - I've already opened a PR: timholy/Revise.jl#462).

In the meantime, you can try downgrading revise to 2.6.1:

]add Revise@2.6.1

and see if that fixes it?

@neuralian
Copy link
Author

Yes, that fixed it. Thanks!

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

No branches or pull requests

2 participants