-
Notifications
You must be signed in to change notification settings - Fork 50
Precompile of Requests failing in Julia 0.4.2 #338
Comments
Likely not a JuliaBox issue. This is what I see:
|
Copying your check approach, I get the error. Could it be some irregularity in write permissions in my juliabox session? Or perhaps a space quota has been met? (my jb folder itself has very little data in it, but I don't know about temp files)
|
I'm not sure why it's trying to update Probably there are some locally installed packages that are stale? Does it help if you remove your locally installed packages?
|
I removed locally installed packages and the issue went away, but I've figured out it returns after I add PyPlot.
|
i have the exact same problem. |
The problem seems to be that JuliaBox ships some precompiled cache files in a read-only directory This needs to be fixed in Julia itself—it shouldn't try to delete cache files from a read-only directory when recompiling. Update: I've filed a Julia issue, see the link below: |
A workaround is to add splice!(Base.LOAD_CACHE_PATH, 3) to your |
Thanks. The suggested workaround works for 0.4.2 (using But apparently LOAD_CACHE_PATH isn't defined on launching Julia 0.3.12 so this fails |
@ianshmean, just do |
Fantastic, that works. Thanks. |
Thanks @stevengj for looking into it. |
Closed via JuliaLang/julia#14368 |
I'm trying to load the following but I get stuck at Requests and hit the error below. DataStructures also gives me the same error if I reorder them in the using instruction
Any ideas?
using Compat, Requests, DataStructures, JSON, PyPlot, LsqFit, HypothesisTests
error:
INFO: Precompiling module Requests...
INFO: Recompiling stale cache file /opt/julia_packages/.julia/lib/v0.4/URIParser.ji for module URIParser.
ERROR: LoadError: unlink: read-only file system (EROFS)
in unlink at fs.jl:102
in rm at file.jl:59
in create_expr_cache at loading.jl:330
in recompile_stale at loading.jl:461
in _require_from_serialized at loading.jl:83
in _require_from_serialized at ./loading.jl:109
in require at ./loading.jl:219
in include at ./boot.jl:261
in include_from_node1 at ./loading.jl:304
[inlined code] from none:2
in anonymous at no file:0
in process_options at ./client.jl:257
in _start at ./client.jl:378
while loading /home/juser/.julia/v0.4/Requests/src/Requests.jl, in expression starting on line 11
The text was updated successfully, but these errors were encountered: