# \[BUG\] what does this mean and how can I fix the precompile on MIRT and HDF5?

**URL:** <https://discourse.julialang.org/t/bug-what-does-this-mean-and-how-can-i-fix-the-precompile-on-mirt-and-hdf5/70575>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [October 28, 2021, 6:19pm UTC](https://discourse.julialang.org/t/bug-what-does-this-mean-and-how-can-i-fix-the-precompile-on-mirt-and-hdf5/70575 "2021-10-28T18:19:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![finger1517](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/finger1517/32/30303_2.png) [@finger1517](https://discourse.julialang.org/u/finger1517)\
**Post date:** [October 28, 2021, 6:19pm UTC](https://discourse.julialang.org/t/bug-what-does-this-mean-and-how-can-i-fix-the-precompile-on-mirt-and-hdf5/70575/1 "2021-10-28T18:19:19Z")

</div>

```shell
(@v1.6) pkg> precompile
Precompiling project...
  ? HDF5
  ? MIRTio
  ? StatsPlots
  ? MIRT

```

and when I using MIRT module, it will give the error

```shell
julia> using MIRT
WARNING: could not import HDF5.Group into _hdf5_implementation
WARNING: could not import HDF5.Dataset into _hdf5_implementation
┌ Warning: Error requiring `HDF5` from `Plots`
│ exception =
│ LoadError: UndefVarError: Group not defined
│ Stacktrace:
│ [1] top-level scope
│ @ C:\Users\2060S-12\.julia\packages\Plots\T6yvp\src\backends\hdf5.jl:161
│ [2] include(mod::Module, _path::String)
│ @ Base .\Base.jl:386
│ [3] include(x::String)
│ @ Plots C:\Users\2060S-12\.julia\packages\Plots\T6yvp\src\Plots.jl:1
│ [4] top-level scope
│ @ C:\Users\2060S-12\.julia\packages\Plots\T6yvp\src\init.jl:46
│ [5] eval
│ @ .\boot.jl:360 [inlined]
│ [6] eval
│ @ C:\Users\2060S-12\.julia\packages\Plots\T6yvp\src\Plots.jl:1 [inlined]
│ [7] (::Plots.var"#288#324")()
│ @ Plots C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:99
│ [8] err(f::Any, listener::Module, modname::String)
│ @ Requires C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:47
│ [9] (::Plots.var"#287#323")()
│ @ Plots C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:98
│ [10] withpath(f::Any, path::String)
│ @ Requires C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:37
│ [11] (::Plots.var"#286#322")()
│ @ Plots C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:97
│ [12] #invokelatest#2
│ @ .\essentials.jl:708 [inlined]
│ [13] invokelatest
│ @ .\essentials.jl:706 [inlined]
│ [14] foreach(f::typeof(Base.invokelatest), itr::Vector{Function})
│ @ Base .\abstractarray.jl:2141
│ [15] loadpkg(pkg::Base.PkgId)
│ @ Requires C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:27
│ [16] #invokelatest#2
│ @ .\essentials.jl:708 [inlined]
│ [17] invokelatest
│ @ .\essentials.jl:706 [inlined]
│ [18] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
│ @ Base .\loading.jl:693
│ [19] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
│ @ Base .\loading.jl:749
│ [20] _require(pkg::Base.PkgId)
│ @ Base .\loading.jl:998
│ [21] require(uuidkey::Base.PkgId)
│ @ Base .\loading.jl:914
│ [22] require(into::Module, mod::Symbol)
│ @ Base .\loading.jl:901
│ [23] eval
│ @ .\boot.jl:360 [inlined]
│ [24] eval_user_input(ast::Any, backend::REPL.REPLBackend)
│ @ REPL C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:139
│ [26] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
│ @ REPL C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:185
│ [27] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
│ @ REPL C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:317
│ [28] run_repl(repl::REPL.AbstractREPL, consumer::Any)
│ @ REPL C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:305
│ [29] (::Base.var"#874#876"{Bool, Bool, Bool})(REPL::Module)
│ @ Base .\client.jl:387
│ [30] #invokelatest#2
│ @ .\essentials.jl:708 [inlined]
│ [31] invokelatest
│ @ .\essentials.jl:706 [inlined]
│ [32] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
│ @ Base .\client.jl:372
│ [33] exec_options(opts::Base.JLOptions)
│ @ Base .\client.jl:302
│ [34] _start()
│ @ Base .\client.jl:485
│ in expression starting at C:\Users\2060S-12\.julia\packages\Plots\T6yvp\src\backends\hdf5.jl:36
└ @ Requires C:\Users\2060S-12\.julia\packages\Requires\7Ncym\src\require.jl:49

```

and most importantly, when I use jupyternotebook, there comes the error that do not happen in the REPL like this

```julia
# Load all packages needed for this demo
using MIRT: ellipse_im, jim # https://github.com/JeffFessler/MIRT.jl
using FFTW: fft

```

```shell
┌ Info: Precompiling MIRT [7035ae7a-3787-11e9-139a-5545ed3dc201]
└ @ Base loading.jl:1317
ERROR: LoadError: ArgumentError: Package HDF5_jll does not have JLLWrappers in its dependencies:
- If you have HDF5_jll checked out for development and have
  added JLLWrappers as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with HDF5_jll
Stacktrace:
 [1] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:884
 [2] include
   @ .\Base.jl:386 [inlined]
 [3] 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:1213
 [4] top-level scope
   @ none:1
 [5] eval
   @ .\boot.jl:360 [inlined]
 [6] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [7] top-level scope
   @ none:1
in expression starting at C:\Users\2060S-12\.julia\packages\HDF5_jll\4m6ST\src\HDF5_jll.jl:2
ERROR: LoadError: LoadError: Failed to precompile HDF5_jll [0234f1f7-429e-5d53-9886-15a909be8d59] to C:\Users\2060S-12\.julia\compiled\v1.6\HDF5_jll\jl_CE99.tmp.
Stacktrace:
show more (open the raw output data in a text editor) ...

 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\2060S-12\.julia\packages\MIRT\O2fcB\src\MIRT.jl:4

```
