ERROR: Error opening package file C:\Users\yjzhe.julia\compiled\v1.11\Ogg_jll\gOU2R_fbzjd.dll: An Application Control policy has blocked this file.
Hi @yjzheng2023,
Looks like your system as quarantined that file. You will need to speak to your system admin to unblock the file.
Kind regards,
Michael
Hi Michael,
I’m using my personal computer. How exactly should I unblock it?
Thanks.
Yujuan
This would be dependent on what exactly is blocking it. Whatever “An Application Control policy” refers to is what you will have to go into and allow that file. That’s as much as I can assume given that there is no additional information to go on here.
Kind regards,
Michael
Here is the whole error message. What should I do?
julia> using NCAUtilities
ERROR: InitError: could not load library “C:\Users\yjzhe.julia\artifacts\56b95fdff0fcd1c059d414943c269f50b2ad6b3b\bin\libopenblas64_.dll”
An Application Control policy has blocked this file.
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:119
[3] macro expansion
@ C:\Users\yjzhe.julia\packages\JLLWrappers\m2Pjh\src\products\library_generators.jl:63 [inlined]
[4] init()
@ OpenBLASConsistentFPCSR_jll C:\Users\yjzhe.julia\packages\OpenBLASConsistentFPCSR_jll\p04PE\src\wrappers\x86_64-w64-mingw32-libgfortran5.jl:9
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{…}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [inlined]
[9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{…}, DEPOT_PATH::Vector{…})
@ Base .\loading.jl:2041
[10] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[15] macro expansion
@ .\loading.jl:2314 [inlined]
[16] macro expansion
@ .\lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[18] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[19] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
during initialization of module OpenBLASConsistentFPCSR_jll
Some type information was truncated. Use show(err) to see complete types.
julia> using NCA.Unitful
julia> using Pumas
julia> using PumasUtilities
ERROR: Error opening package file C:\Users\yjzhe.julia\compiled\v1.11\Makie\iZ1Bl_fbzjd.dll: An Application Control policy has blocked this file.
Stacktrace:
[1] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{…}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1245
[2] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [inlined]
[3] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{…}, DEPOT_PATH::Vector{…})
@ Base .\loading.jl:2041
[4] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[5] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[6] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[7] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[8] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[9] macro expansion
@ .\loading.jl:2314 [inlined]
[10] macro expansion
@ .\lock.jl:273 [inlined]
[11] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
Some type information was truncated. Use show(err) to see complete types.
Hi @yjzheng2023, you will need to provide more details on this specifically. What is this program that is blocking the file? It sounds like Smart App Control (Windows 11). Check Windows Security → App & browser control → Smart App Control. If it’s on, that’s very likely the cause.
Thanks. I turned Smart App Control off. No more error sign!![]()