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

Unable to install #26

Open
aasdelat opened this issue Apr 7, 2024 · 1 comment
Open

Unable to install #26

aasdelat opened this issue Apr 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aasdelat
Copy link

aasdelat commented Apr 7, 2024

What happened?

Trying to install following the instructions. I have DimensionalData and AxisArrays alredy installed on my system.
julia> VERSION
v"1.10.2"

What are the steps to reproduce the bug?

I type:
(CfGRIB) pkg> activate .
(CfGRIB) pkg> instantiate
Then backslash and:
using CfGRIB
and get
Precompiling CfGRIB
Info Given CfGRIB was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: _extrema_dims not defined
and a long Stacktrace.

Version

0.1.0

Platform (OS and architecture)

Linux ryzen-casa 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Relevant log output

(@v1.10) pkg> activate .
  Activating project at `~/Documentos/codigo/cfgrib.jl`

(CfGRIB) pkg> instantiate

julia> using CfGRIB
Precompiling CfGRIB
        Info Given CfGRIB was explicitly requested, output will be shown live 
ERROR: LoadError: UndefVarError: `_extrema_dims` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [4] include(x::String)
   @ DimensionalData ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
 [5] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:58
 [6] include
   @ ./Base.jl:495 [inlined]
 [7] 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, UInt128}}, source::String)
   @ Base ./loading.jl:2222
 [8] top-level scope
   @ stdin:3
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0] to "/home/antonio/.julia/compiled/v1.10/DimensionalData/jl_Nppgv0".Data
Stacktrace:
 [1] top-level scope
   @ ~/Documentos/codigo/cfgrib.jl/src/backends.jl:46
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [3] include(x::String)
   @ CfGRIB ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:4
 [4] top-level scope
   @ ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:43
 [5] include
   @ ./Base.jl:495 [inlined]
 [6] 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, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2222
 [7] top-level scope
   @ stdin:3
in expression starting at /home/antonio/Documentos/codigo/cfgrib.jl/src/backends.jl:39
in expression starting at /home/antonio/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:1
in expression starting at stdin:3

caused by: Failed to precompile DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0] to "/home/antonio/.julia/compiled/v1.10/DimensionalData/jl_Nppgv0".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2468
  [3] compilecache
    @ ./loading.jl:2340 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base ./loading.jl:1974
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
  [6] #mkpidlock#6
    @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
  [8] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [9] invokelatest
    @ ./essentials.jl:889 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2983
 [11] maybe_cachefile_lock
    @ ./loading.jl:2980 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1970
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [14] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [15] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [17] macro expansion
    @ ./loading.jl:1790 [inlined]
 [18] macro expansion
    @ ./lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [20] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [21] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [23] top-level scope
    @ ~/Documentos/codigo/cfgrib.jl/src/backends.jl:40
 [24] include(mod::Module, _path::String)
    @ Base ./Base.jl:495
 [25] include(x::String)
    @ CfGRIB ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:4
 [26] top-level scope
    @ ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:43
 [27] include
    @ ./Base.jl:495 [inlined]
 [28] 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, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2222
 [29] top-level scope
    @ stdin:3
  ✗ DimensionalData
  ✗ CfGRIB
  0 dependencies successfully precompiled in 3 seconds. 38 already precompiled.

ERROR: The following 2 direct dependencies failed to precompile:

CfGRIB [b476ad61-2aff-463c-b862-1d4433a0d503]

Failed to precompile CfGRIB [b476ad61-2aff-463c-b862-1d4433a0d503] to "/home/antonio/.julia/compiled/v1.10/CfGRIB/jl_iMRNEH".
ERROR: LoadError: UndefVarError: `_extrema_dims` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [4] include(x::String)
   @ DimensionalData ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
 [5] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:58
 [6] include
   @ ./Base.jl:495 [inlined]
 [7] 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, UInt128}}, source::String)
   @ Base ./loading.jl:2222
 [8] top-level scope
   @ stdin:3
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0] to "/home/antonio/.julia/compiled/v1.10/DimensionalData/jl_Nppgv0".
Stacktrace:
 [1] top-level scope
   @ ~/Documentos/codigo/cfgrib.jl/src/backends.jl:46
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [3] include(x::String)
   @ CfGRIB ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:4
 [4] top-level scope
   @ ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:43
 [5] include
   @ ./Base.jl:495 [inlined]
 [6] 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, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2222
 [7] top-level scope
   @ stdin:3
in expression starting at /home/antonio/Documentos/codigo/cfgrib.jl/src/backends.jl:39
in expression starting at /home/antonio/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:1
in expression starting at stdin:3

caused by: Failed to precompile DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0] to "/home/antonio/.julia/compiled/v1.10/DimensionalData/jl_Nppgv0".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2468
  [3] compilecache
    @ ./loading.jl:2340 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base ./loading.jl:1974
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
  [6] #mkpidlock#6
    @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
  [8] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [9] invokelatest
    @ ./essentials.jl:889 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2983
 [11] maybe_cachefile_lock
    @ ./loading.jl:2980 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1970
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [14] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [15] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [17] macro expansion
    @ ./loading.jl:1790 [inlined]
 [18] macro expansion
    @ ./lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [20] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [21] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [23] top-level scope
    @ ~/Documentos/codigo/cfgrib.jl/src/backends.jl:40
 [24] include(mod::Module, _path::String)
    @ Base ./Base.jl:495
 [25] include(x::String)
    @ CfGRIB ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:4
 [26] top-level scope
    @ ~/Documentos/codigo/cfgrib.jl/src/CfGRIB.jl:43
 [27] include
    @ ./Base.jl:495 [inlined]
 [28] 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, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2222
 [29] top-level scope
    @ stdin:3
DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0]

Failed to precompile DimensionalData [0703355e-b756-11e9-17c0-8b28908087d0] to "/home/antonio/.julia/compiled/v1.10/DimensionalData/jl_Thk7Y6".
ERROR: LoadError: UndefVarError: `_extrema_dims` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [4] include(x::String)
   @ DimensionalData ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
 [5] top-level scope
   @ ~/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:58
 [6] include
   @ ./Base.jl:495 [inlined]
 [7] 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, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2222
 [8] top-level scope
   @ stdin:3
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/methods.jl:59
in expression starting at /home/antonio/.julia/packages/DimensionalData/Z5pRw/src/DimensionalData.jl:1
in expression starting at stdin:3
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{…})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1659
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [7] invokelatest
    @ ./essentials.jl:889 [inlined]
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1963
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [10] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [11] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [13] macro expansion
    @ ./loading.jl:1790 [inlined]
 [14] macro expansion
    @ ./lock.jl:267 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [16] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [17] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
Some type information was truncated. Use `show(err)` to see complete types.

Accompanying data

No response

Organisation

No response

@aasdelat aasdelat added the bug Something isn't working label Apr 7, 2024
@tcarion
Copy link

tcarion commented Apr 8, 2024

Hi @aasdelat,

This package seems quite unmaintained. If you need to read GRIB files with Julia, I would recommend you to try GRIBDatasets.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants