Error precompiling Images package #1007
Unanswered
murlopoloi
asked this question in
Q&A
Replies: 1 comment 5 replies
-
This seems to be filesystem issues. Have you tried to release the file system lock via, e.g., restarting your Julia, or logging out your account, or even restarting the system? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry for the poor formatting of the post, I'm not used to writing in forums at all.
I am very naive regarding programming and computers, so I'm sorry if my problem has a trivial fix.
Down here are the versioninfo(), ] st and using Images outputs.
julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, haswell)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
details
(@v1.6) pkg> st
Status
C:\Users\murlo\.julia\environments\v1.6\Project.toml
[9c784101] CubicSplines v0.2.0
[b4f34e82] Distances v0.10.4
[5789e2e9] FileIO v1.13.0
[f6369f11] ForwardDiff v0.10.20
[28b8d3ca] GR v0.59.0
[82e4d734] ImageIO v0.6.1
[6218d12a] ImageMagick v1.2.1
[86fae568] ImageView v0.10.15
[916415d5] Images v0.25.1
[a98d9a8b] Interpolations v0.13.4
[42fd0dbc] IterativeSolvers v0.9.2
[91a5bcdd] Plots v1.22.2
[f27b6e38] Polynomials v2.0.16
[2913bbd2] StatsBase v0.33.10
[24249f21] SymPy v1.0.53
[37e2e46d] LinearAlgebra
julia> using Images
[ Info: Precompiling Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
┌ Error: mktemp cleanup
│ exception =
│ IOError: unlink("C:\Users\murlo\AppData\Local\Temp\jl_69BC.tmp"): resource busy or locked (EBUSY)
│ Stacktrace:
│ [1] uv_error
│ @ .\libuv.jl:97 [inlined]
│ [2] unlink(p::String)
│ @ Base.Filesystem .\file.jl:934
│ [3] rm(path::String; force::Bool, recursive::Bool)
│ @ Base.Filesystem .\file.jl:272
│ [4] rm
│ @ .\file.jl:263 [inlined]
│ [5] mktemp(fn::JLD2.var"#81#85", parent::String)
│ @ Base.Filesystem .\file.jl:707
│ [6] mktemp(fn::Function)
│ @ Base.Filesystem .\file.jl:701
│ [7] top-level scope
│ @ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\precompile.jl:2
│ [8] include(mod::Module, _path::String)
│ @ Base .\Base.jl:386
│ [9] include
│ @ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:1 [inlined]
│ [10] top-level scope
│ @ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:539
│ [11] include
│ @ .\Base.jl:386 [inlined]
│ [12] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
│ @ Base .\loading.jl:1235
│ [13] top-level scope
│ @ none:1
│ [14] eval
│ @ .\boot.jl:360 [inlined]
│ [15] eval(x::Expr)
│ @ Base.MainInclude .\client.jl:446
│ [16] top-level scope
│ @ none:1
│ [17] eval
│ @ .\boot.jl:360 [inlined]
│ [18] exec_options(opts::Base.JLOptions)
│ @ Base .\client.jl:261
│ [19] _start()
│ @ Base .\client.jl:485
└ @ Base.Filesystem file.jl:709
ERROR: LoadError: LoadError: IOError: realpath("C:\Users\murlo\AppData\Local\Temp\jl_69BC.tmp"): resource busy or locked (EBUSY)
Stacktrace:
[1] uv_error
@ .\libuv.jl:97 [inlined]
[2] realpath(path::String)
@ Base.Filesystem .\path.jl:448
[3] jldopen(fname::String, wr::Bool, create::Bool, truncate::Bool, iotype::Type{JLD2.MmapIO}; fallback::Type{IOStream}, compress::Bool, mmaparrays::Bool, typemap::Dict{String, Any})
@ JLD2 C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:292
[4] jldopen(fname::String, mode::String; iotype::Type, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:compress,), Tuple{Bool}}})
@ JLD2 C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:356
[5] jldopen(::Function, ::String, ::Vararg{String, N} where N; kws::Base.Iterators.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:compress, :iotype), Tuple{Bool, DataType}}})
@ JLD2 C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\loadsave.jl:2
[6] #jldsave#49
@ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\loadsave.jl:243 [inlined]
[7] (::JLD2.var"#81#85")(path::String, #unused#::IOStream)
@ JLD2 C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\precompile.jl:14
[8] mktemp(fn::JLD2.var"#81#85", parent::String)
@ Base.Filesystem .\file.jl:703
[9] mktemp(fn::Function)
@ Base.Filesystem .\file.jl:701
[10] top-level scope
@ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\precompile.jl:2
[11] include(mod::Module, _path::String)
@ Base .\Base.jl:386
[12] include
@ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:1 [inlined]
[13] top-level scope
@ C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:539
[14] include
@ .\Base.jl:386 [inlined]
[15] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String},
dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1235
[16] top-level scope
@ none:1
[17] eval
@ .\boot.jl:360 [inlined]
[18] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[19] top-level scope
@ none:1
in expression starting at C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\precompile.jl:1
in expression starting at C:\Users\murlo.julia\packages\JLD2\k9Gt0\src\JLD2.jl:1
┌ Warning: temp cleanup
│ exception =
│ IOError: unlink("C:\Users\murlo\AppData\Local\Temp\jl_69BC.tmp"): permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error
│ @ .\libuv.jl:97 [inlined]
│ [2] unlink(p::String)
│ @ Base.Filesystem .\file.jl:934
│ [3] rm(path::String; force::Bool, recursive::Bool)
│ @ Base.Filesystem .\file.jl:272
│ [4] temp_cleanup_purge(; force::Bool)
│ @ Base.Filesystem .\file.jl:518
│ [5] (::Base.var"#786#787")()
│ @ Base .\initdefs.jl:322
│ [6] _atexit()
│ @ Base .\initdefs.jl:343
│ [7] exit
│ @ .\initdefs.jl:28 [inlined]
│ [8] _start()
│ @ Base .\client.jl:488
└ @ Base.Filesystem file.jl:522
ERROR: LoadError: Failed to precompile JLD2 [033835bb-8acc-5ee8-8aae-3f567f8a3819] to C:\Users\murlo.julia\compiled\v1.6\JLD2\jl_56B8.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] include
@ .\Base.jl:386 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String},
dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1235
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:360 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[12] top-level scope
@ none:1
in expression starting at C:\Users\murlo.julia\packages\MetaGraphs\bffKb\src\MetaGraphs.jl:1
ERROR: LoadError: Failed to precompile MetaGraphs [626554b9-1ddb-594c-aa3c-2596fe9399a5] to C:\Users\murlo.julia\compiled\v1.6\MetaGraphs\jl_50C2.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] include
@ .\Base.jl:386 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String},
dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1235
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:360 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[12] top-level scope
@ none:1
in expression starting at C:\Users\murlo.julia\packages\ImageSegmentation\qcSsc\src\ImageSegmentation.jl:1
ERROR: LoadError: Failed to precompile ImageSegmentation [80713f31-8817-5129-9cf8-209ff8fb23e1] to C:\Users\murlo.julia\compiled\v1.6\ImageSegmentation\jl_12E5.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] include
@ .\Base.jl:386 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String},
dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1235
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:360 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[12] top-level scope
@ none:1
in expression starting at C:\Users\murlo.julia\packages\Images\7wV6k\src\Images.jl:1
ERROR: Failed to precompile Images [916415d5-f1e6-5110-898d-aaa5f9f070e0] to C:\Users\murlo.julia\compiled\v1.6\Images\jl_B7FB.tmp.
Stacktrace:julia>
[1]QUR (errorgeneric function( with 1 method)s
::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] eval
@ .\boot.jl:360 [inlined]
[8] eval
@ .\Base.jl:39 [inlined]
[9] repleval(m::Module, code::Expr, #unused#::String)
@ VSCodeServer c:\Users\murlo.vscode\extensions\julialang.language-julia-1.6.17\scripts\packages\VSCodeServer\src\repl.jl:157
[10] (::VSCodeServer.var"#76#78"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
@ VSCodeServer c:\Users\murlo.vscode\extensions\julialang.language-julia-1.6.17\scripts\packages\VSCodeServer\src\repl.jl:123
[11] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging .\logging.jl:491
[12] with_logger
@ .\logging.jl:603 [inlined]
[13] (::VSCodeServer.var"#75#77"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
@ VSCodeServer c:\Users\murlo.vscode\extensions\julialang.language-julia-1.6.17\scripts\packages\VSCodeServer\src\repl.jl:124
[14] #invokelatest#2
@ .\essentials.jl:708 [inlined]
[15] invokelatest(::Any)
@ Base .\essentials.jl:706
[16] macro expansion
@ c:\Users\murlo.vscode\extensions\julialang.language-julia-1.6.17\scripts\packages\VSCodeServer\src\eval.jl:34 [inlined]
[17] (::VSCodeServer.var"#58#59")()
@ VSCodeServer .\task.jl:411
Beta Was this translation helpful? Give feedback.
All reactions