usnistgov / NeXLUncertainties.jl

Tools for handling correlated uncertainties in Julia
The Unlicense
1 stars 3 forks source link

Build error #1

Open gfmoorhead opened 8 months ago

gfmoorhead commented 8 months ago

Hi, trying to look into NeXL I see that the Build Status is 'Error', and indeed, trying several platforms and julia versions I am encountering a similar error:

using NeXLCore ┌ Error: Error during loading of extension NeXLUncertaintiesLaTeXStringsExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ exception = │ 1-element ExceptionStack: │ ArgumentError: Package NeXLUncertaintiesLaTeXStringsExt [e7102ed6-5e95-546b-8e3b-f432f4257805] is required but does not seem to be installed: ....

and also

Error during loading of extension NeXLUncertaintiesDataFramesExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ exception = │ 1-element ExceptionStack: │ ArgumentError: Package NeXLUncertaintiesDataFramesExt [b1bcebf0-f92e-5482-a63d-8d2f95f776fe] is required but does not seem to be installed: │ - Run Pkg.instantiate() to install all recorded dependencies. ....

Trying the various instantiate hints does not resolve the error. Similar errors with Julia 1.10 and 1.8 and on ubuntu x64 and MacOS arm.

NicholasWMRitchie commented 8 months ago

I recently moved from using Requires to the new extensions feature introduced in Julia 1.9 for NeXLUncertainties, NeXLCore, etc. I know this won't work on 1.8 so I've updated the Project.toml to require julia = "1.9". However, I'm puzzled that the extensions are failing on 1.10. Can you run ]st so I can see what versions you are running? (From 1.10 preferably)

PS C:\Users\nritchie> julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0 (2023-12-25)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using NeXLCore, LaTeXStrings

julia> latexstring(uv(1.0,0.1))
L"$1.00 \pm 0.10$"
(@v1.10) pkg> st
Status `C:\Users\nritchie\.julia\environments\v1.10\Project.toml`
  [39de3d68] AxisArrays v0.4.7
  [6e4b80f9] BenchmarkTools v1.4.0
  [fe54227b] BoteSalvatICX v2.0.2
  [336ed68f] CSV v0.10.12
  [159f3aea] Cairo v1.0.5
  [324d7699] CategoricalArrays v0.10.8
  [35d6a980] ColorSchemes v3.24.0
  [5ae59095] Colors v0.12.10
  [a81c6b42] Compose v0.9.5
  [150eb455] CoordinateTransformations v0.6.3
  [f68482b8] Cthulhu v2.10.0
  [124859b0] DataDeps v0.7.11
  [a93c6f00] DataFrames v1.6.1
  [85a47980] Dictionaries v0.3.25
⌃ [31c24e10] Distributions v0.25.106
  [35a29f4d] DocumenterTools v0.1.18
  [634d3b9d] DrWatson v2.13.0
  [da5c29d0] EllipsisNotation v1.8.0
  [10506e09] FFAST v2.0.5
  [7a1cc6ca] FFTW v1.7.2
  [5789e2e9] FileIO v1.16.2
  [186bb1d3] Fontconfig v0.4.1
  [59287772] Formatting v0.4.2
  [c91e804a] Gadfly v1.4.0
  [7073ff75] IJulia v1.24.2
  [82e4d734] ImageIO v0.6.7
  [4e3cecfd] ImageShow v0.3.8
  [916415d5] Images v0.26.0
⌃ [613c443e] IndexFunArrays v0.2.6
  [41ab1584] InvertedIndices v1.3.0
  [682c06a0] JSON v0.21.4
  [98e50ef6] JuliaFormatter v1.0.45
  [b964fa9f] LaTeXStrings v1.3.1
  [23fbe1c1] Latexify v0.16.1
  [bdcacae8] LoopVectorization v0.12.166
  [eff96d63] Measurements v2.11.0
  [6f286f6a] MultivariateStats v0.10.2
  [98581153] NDTools v0.5.3
  [93a0284f] NeXLCore v0.3.12
  [3ab34fdf] NeXLMatrixCorrection v0.3.10
  [9f92fee6] NeXLParticle v0.1.2-dev `C:\Users\nritchie\.julia\dev\NeXLParticle`
  [6c578565] NeXLSpectrum v0.3.9
  [7127f3d6] NeXLUncertainties v0.2.12
  [5fb14364] OhMyREPL v0.5.23
  [a15396b6] OnlineStats v1.6.3
  [925886fa] OnlineStatsBase v1.6.1
  [e4faabce] PProf v3.1.0
⌃ [9b87118b] PackageCompiler v2.1.16
  [d96e819e] Parameters v0.12.3
  [7b2266bf] PeriodicTable v1.2.0 `C:\Users\nritchie\.julia\dev\PeriodicTable`
  [5ad8b20f] PhysicalConstants v0.2.3
⌃ [14b8a8f1] PkgTemplates v0.7.47
  [a83a3aaf] PkgVersionHelper v0.1.2
  [91a5bcdd] Plots v1.39.0
  [c3e4b0f8] Pluto v0.19.36
  [7f904dfe] PlutoUI v0.7.54
  [08abe8d2] PrettyTables v2.3.1
  [3362a694] Procrastinate v0.1.1
  [132c30aa] ProfileSVG v0.2.1
  [c46f51b8] ProfileView v1.7.2
  [92933f4c] ProgressMeter v1.9.0
  [81acdcc5] PtyLab v0.1.0 `https://github.com/PtyLab/PtyLab.jl/#main`
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
⌃ [295af30f] Revise v3.5.12
  [0aa819cd] SQLite v1.6.0
  [3d38dfc6] ScanImageTiffReader v1.3.0
  [fff527a3] SimpleANOVA v0.8.2
  [aa65fe97] SnoopCompile v2.10.8
  [276daf66] SpecialFunctions v2.3.1
  [90137ffa] StaticArrays v1.9.0
⌅ [2913bbd2] StatsBase v0.33.21
  [69024149] StringEncodings v0.3.7
⌃ [0c5d862f] Symbolics v5.15.1
  [ac1d9e8a] ThreadsX v0.1.11
  [37b6cedf] Traceur v0.3.1
⌃ [28d57a85] Transducers v0.4.79
  [b8865327] UnicodePlots v3.6.3
  [1986cc42] Unitful v1.19.0
  [45397f5d] UnitfulLatexify v1.6.3
⌃ [3c954167] WeatherReport v0.20.0
  [44d3d7a6] Weave v0.10.12
  [a5390f91] ZipFile v0.10.1
  [37e2e46d] LinearAlgebra
  [d6f4376e] Markdown
  [de0858da] Printf
  [10745b16] Statistics v1.10.0
  [3f19e933] p7zip_jll v17.4.0+2
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated`
gfmoorhead commented 8 months ago

I tried a fresh install: here's the listing.

() | Documentation: https://docs.julialang.org () | () () | | |_ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ ` | | | | || | | | (| | | Version 1.10.0 (2023-12-25) / |_'|||_'_| | Official https://julialang.org/ release |/ |

(@v1.10) pkg> activate . Activating new project at /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2

(NeXL2) pkg> add NeXLCore Resolving package versions... Updating /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2/Project.toml [93a0284f] + NeXLCore v0.3.12 Updating /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2/Manifest.toml [621f4979] + AbstractFFTs v1.5.0 [7d9f7c33] + Accessors v0.1.35 ⌅ [79e6a3ab] + Adapt v3.7.2 [dce04be8] + ArgCheck v2.3.0 [198e06fe] + BangBang v0.3.39 [9718e550] + Baselet v0.1.1 [d1d4a3ce] + BitFlags v0.1.8 [fe54227b] + BoteSalvatICX v2.0.2 ⌅ [96374032] + CRlibm v0.8.0 [336ed68f] + CSV v0.10.12 [49dc2e85] + Calculus v0.5.1 [324d7699] + CategoricalArrays v0.10.8 [d360d2e6] + ChainRulesCore v1.19.1 [944b1d66] + CodecZlib v0.7.3 [3da002f7] + ColorTypes v0.11.4 [c3611d14] + ColorVectorSpace v0.10.0 [5ae59095] + Colors v0.12.10 [38540f10] + CommonSolve v0.2.4 [34da2185] + Compat v4.12.0 [a81c6b42] + Compose v0.9.5 [a33af91c] + CompositionsBase v0.1.2 [5060bff5] + ConcurrentCollections v0.1.1 [f0e56b4a] + ConcurrentUtilities v2.3.0 [187b0558] + ConstructionBase v1.5.4 [150eb455] + CoordinateTransformations v0.6.3 [a8cc5b0e] + Crayons v4.1.1 [a10d1c49] + DBInterface v2.5.0 [9a962f9c] + DataAPI v1.15.0 [124859b0] + DataDeps v0.7.11 [a93c6f00] + DataFrames v1.6.1 [864edb3b] + DataStructures v0.18.16 [e2d170a0] + DataValueInterfaces v1.0.0 [244e2a9f] + DefineSingletons v0.1.2 [39dd38d3] + Dierckx v0.5.3 [31c24e10] + Distributions v0.25.107 [ffbed154] + DocStringExtensions v0.9.3 [fa6b7ba4] + DualNumbers v0.6.8 [90fa49ef] + ErrorfreeArithmetic v0.5.2 [460bff9d] + ExceptionUnwrapping v0.1.10 [411431e0] + Extents v0.1.2 ⌅ [fa42c844] + FastRounding v0.2.0 [5789e2e9] + FileIO v1.16.2 [48062228] + FilePathsBase v0.9.21 [1a297f60] + FillArrays v1.9.3 [53c48c17] + FixedPointNumbers v0.8.4 ⌃ [46192b85] + GPUArraysCore v0.1.5 [cf35fbd7] + GeoInterface v1.3.3 [5c1252a2] + GeometryBasics v0.4.9 [cd3eb016] + HTTP v1.10.1 [34004b35] + HypergeometricFunctions v0.3.23 [a09fc81d] + ImageCore v0.10.1 [22cec73e] + InitialValues v0.3.1 [842dd82b] + InlineStrings v1.4.0 ⌅ [d1acc4aa] + IntervalArithmetic v0.17.8 [3587e190] + InverseFunctions v0.1.12 [41ab1584] + InvertedIndices v1.3.0 [92d709cd] + IrrationalConstants v0.2.2 [c8e1da08] + IterTools v1.10.0 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.5.0 [682c06a0] + JSON v0.21.4 [b964fa9f] + LaTeXStrings v1.3.1 [2ab3a3ac] + LogExpFunctions v0.3.26 [e6f89c97] + LoggingExtras v1.0.3 [1914dd2f] + MacroTools v0.5.13 [dbb5928d] + MappedArrays v0.4.2 [739be429] + MbedTLS v1.1.9 [eff96d63] + Measurements v2.11.0 [442fdcdd] + Measures v0.3.2 [128add7d] + MicroCollections v0.1.4 [e1d29d7a] + Missings v1.1.0 [e94cdb99] + MosaicViews v0.3.4 [77ba4419] + NaNMath v1.0.2 [93a0284f] + NeXLCore v0.3.12 [7127f3d6] + NeXLUncertainties v0.2.12 [978898f6] + NumberIntervals v0.2.2 [6fe1bfb0] + OffsetArrays v1.13.0 [4d8831e6] + OpenSSL v1.4.1 [bac558e1] + OrderedCollections v1.6.3 [90014a1f] + PDMats v0.11.31 [5432bcbf] + PaddedViews v0.5.12 [69de0a69] + Parsers v2.8.1 [7b2266bf] + PeriodicTable v1.2.0 [5ad8b20f] + PhysicalConstants v0.2.3 [f27b6e38] + Polynomials v4.0.6 [2dfb63ee] + PooledArrays v1.4.3 [aea7be01] + PrecompileTools v1.2.0 [21216c6a] + Preferences v1.4.1 [08abe8d2] + PrettyTables v2.3.1 [1fd47b50] + QuadGK v2.9.4 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [42d2dcc6] + Referenceables v0.1.3 [ae029012] + Requires v1.3.0 [79098fc4] + Rmath v0.7.1 [f2b01f46] + Roots v2.1.0 [5eaf0fd0] + RoundingEmulator v0.2.1 [0aa819cd] + SQLite v1.6.0 [91c51154] + SentinelArrays v1.4.1 [3cc68bcd] + SetRounding v0.2.1 [efcf1570] + Setfield v1.1.1 [777ac1f9] + SimpleBufferStream v1.1.0 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.3.1 [171d559e] + SplittablesBase v0.1.15 [cae243ae] + StackViews v0.1.1 [90137ffa] + StaticArrays v1.9.1 [1e83bf80] + StaticArraysCore v1.4.2 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.2 [4c63d2b9] + StatsFuns v1.3.0 [892a3eda] + StringManipulation v0.3.4 [09ab397b] + StructArrays v0.6.16 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.11.1 [62fd8b95] + TensorCore v0.1.1 [ac1d9e8a] + ThreadsX v0.1.11 [3bb67fe8] + TranscodingStreams v0.10.2 [28d57a85] + Transducers v0.4.80 [5c2747f8] + URIs v1.5.1 [1986cc42] + Unitful v1.19.0 [ea10d353] + WeakRefStrings v1.4.2 [76eceee3] + WorkerUtilities v1.6.1 [cd4c43a9] + Dierckx_jll v0.1.0+0 [5ae413db] + EarCut_jll v2.2.4+0 [458c3c95] + OpenSSL_jll v3.0.12+0 [efe28fd5] + OpenSpecFun_jll v0.5.5+0 [f50d1b31] + Rmath_jll v0.4.0+0 [76ed43ae] + SQLite_jll v3.43.0+0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [8ba89e20] + Distributed [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [9fa8497b] + Future [b77e0a4c] + InteractiveUtils [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.10.0 [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.0.5+1 [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+2 [05823500] + OpenLibm_jll v0.8.1+2 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.8.0+1 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use status --outdated -m Precompiling project... 17 dependencies successfully precompiled in 26 seconds. 160 already precompiled. 1 dependency had output during precompilation: ┌ NeXLCore │ ┌ Error: Error during loading of extension NeXLUncertaintiesLaTeXStringsExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ │ exception = │ │ 1-element ExceptionStack: │ │ ArgumentError: Package NeXLUncertaintiesLaTeXStringsExt [e7102ed6-5e95-546b-8e3b-f432f4257805] is required but does not seem to be installed: │ │ - Run Pkg.instantiate() to install all recorded dependencies. │ │
│ │ Stacktrace: │ │ [1] _require(pkg::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1920 │ │ [2] require_prelocked(uuidkey::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1806 │ │ [3] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [4] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [5] _require_prelocked │ │ @ Base ./loading.jl:1797 [inlined] │ │ [6] _require_prelocked │ │ @ Base ./loading.jl:1796 [inlined] │ │ [7] run_extension_callbacks(extid::Base.ExtensionId) │ │ @ Base ./loading.jl:1289 │ │ [8] run_extension_callbacks(pkgid::Base.PkgId) │ │ @ Base ./loading.jl:1324 │ │ [9] run_package_callbacks(modkey::Base.PkgId) │ │ @ Base ./loading.jl:1158 │ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1813 │ │ [11] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [12] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1797 │ │ [14] macro expansion │ │ @ Base ./loading.jl:1784 [inlined] │ │ [15] macro expansion │ │ @ Base ./lock.jl:267 [inlined] │ │ [16] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1747 │ │ [17] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [18] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [19] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1740 │ │ [20] include │ │ @ Base ./Base.jl:495 [inlined] │ │ [21] 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:2216 │ │ [22] top-level scope │ │ @ stdin:3 │ │ [23] eval │ │ @ Core ./boot.jl:385 [inlined] │ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base ./loading.jl:2070 │ │ [25] include_string │ │ @ Base ./loading.jl:2080 [inlined] │ │ [26] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:316 │ │ [27] _start() │ │ @ Base ./client.jl:552 │ └ @ Base loading.jl:1295 │ ┌ Error: Error during loading of extension NeXLUncertaintiesDataFramesExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ │ exception = │ │ 1-element ExceptionStack: │ │ ArgumentError: Package NeXLUncertaintiesDataFramesExt [b1bcebf0-f92e-5482-a63d-8d2f95f776fe] is required but does not seem to be installed: │ │ - Run Pkg.instantiate() to install all recorded dependencies. │ │
│ │ Stacktrace: │ │ [1] _require(pkg::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1920 │ │ [2] require_prelocked(uuidkey::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1806 │ │ [3] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [4] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [5] _require_prelocked │ │ @ Base ./loading.jl:1797 [inlined] │ │ [6] _require_prelocked │ │ @ Base ./loading.jl:1796 [inlined] │ │ [7] run_extension_callbacks(extid::Base.ExtensionId) │ │ @ Base ./loading.jl:1289 │ │ [8] run_extension_callbacks(pkgid::Base.PkgId) │ │ @ Base ./loading.jl:1324 │ │ [9] run_package_callbacks(modkey::Base.PkgId) │ │ @ Base ./loading.jl:1158 │ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1813 │ │ [11] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [12] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1797 │ │ [14] macro expansion │ │ @ Base ./loading.jl:1784 [inlined] │ │ [15] macro expansion │ │ @ Base ./lock.jl:267 [inlined] │ │ [16] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1747 │ │ [17] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [18] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [19] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1740 │ │ [20] include │ │ @ Base ./Base.jl:495 [inlined] │ │ [21] 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:2216 │ │ [22] top-level scope │ │ @ stdin:3 │ │ [23] eval │ │ @ Core ./boot.jl:385 [inlined] │ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base ./loading.jl:2070 │ │ [25] include_string │ │ @ Base ./loading.jl:2080 [inlined] │ │ [26] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:316 │ │ [27] _start() │ │ @ Base ./client.jl:552 │ └ @ Base loading.jl:1295 └

NicholasWMRitchie commented 8 months ago

I wonder if it is a capitalization issue? The filenames of the extensions are not capitalized like the name of the module. Could you try renaming the files nexluncertaintiesdataframesext.jl and nexluncertaintieslatexstringsext.jl to NeXLUncertaintiesDataFramesExt.jl and NeXLUncertaintiesLaTeXStringsExt.jl?

Does this help?

Nicholas


Nicholas W. M. Ritchie Physicist, Microanalysis Group National Institute of Standards and Technology Gaithersburg, MD 20899-8372 (301) 975-3929 (Office) (240) 883-8982 (Personal cell)

From: gfmoorhead @.> Sent: Tuesday, January 16, 2024 4:39 PM To: usnistgov/NeXLUncertainties.jl @.> Cc: Ritchie, Nicholas W. (Fed) @.>; Comment @.> Subject: Re: [usnistgov/NeXLUncertainties.jl] Build error (Issue #1)

I tried a fresh install: here's the listing. () | Documentation: https://docs.julialang.org () | () () | | |_ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ ` | | | | || | | | (| | | Version 1.10.0 (2023-12-25) / |_'|||_'_| | Official https://julialang.org/ release |/ |

@.***) pkg> activate . Activating new project at /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2

(NeXL2) pkg> add NeXLCore Resolving package versions... Updating /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2/Project.toml [93a0284f] + NeXLCore v0.3.12 Updating /Volumes/work/svn/hsi/moo293/julia/trials/NeXL2/Manifest.toml [621f4979] + AbstractFFTs v1.5.0 [7d9f7c33] + Accessors v0.1.35 ⌅ [79e6a3ab] + Adapt v3.7.2 [dce04be8] + ArgCheck v2.3.0 [198e06fe] + BangBang v0.3.39 [9718e550] + Baselet v0.1.1 [d1d4a3ce] + BitFlags v0.1.8 [fe54227b] + BoteSalvatICX v2.0.2 ⌅ [96374032] + CRlibm v0.8.0 [336ed68f] + CSV v0.10.12 [49dc2e85] + Calculus v0.5.1 [324d7699] + CategoricalArrays v0.10.8 [d360d2e6] + ChainRulesCore v1.19.1 [944b1d66] + CodecZlib v0.7.3 [3da002f7] + ColorTypes v0.11.4 [c3611d14] + ColorVectorSpace v0.10.0 [5ae59095] + Colors v0.12.10 [38540f10] + CommonSolve v0.2.4 [34da2185] + Compat v4.12.0 [a81c6b42] + Compose v0.9.5 [a33af91c] + CompositionsBase v0.1.2 [5060bff5] + ConcurrentCollections v0.1.1 [f0e56b4a] + ConcurrentUtilities v2.3.0 [187b0558] + ConstructionBase v1.5.4 [150eb455] + CoordinateTransformations v0.6.3 [a8cc5b0e] + Crayons v4.1.1 [a10d1c49] + DBInterface v2.5.0 [9a962f9c] + DataAPI v1.15.0 [124859b0] + DataDeps v0.7.11 [a93c6f00] + DataFrames v1.6.1 [864edb3b] + DataStructures v0.18.16 [e2d170a0] + DataValueInterfaces v1.0.0 [244e2a9f] + DefineSingletons v0.1.2 [39dd38d3] + Dierckx v0.5.3 [31c24e10] + Distributions v0.25.107 [ffbed154] + DocStringExtensions v0.9.3 [fa6b7ba4] + DualNumbers v0.6.8 [90fa49ef] + ErrorfreeArithmetic v0.5.2 [460bff9d] + ExceptionUnwrapping v0.1.10 [411431e0] + Extents v0.1.2 ⌅ [fa42c844] + FastRounding v0.2.0 [5789e2e9] + FileIO v1.16.2 [48062228] + FilePathsBase v0.9.21 [1a297f60] + FillArrays v1.9.3 [53c48c17] + FixedPointNumbers v0.8.4 ⌃ [46192b85] + GPUArraysCore v0.1.5 [cf35fbd7] + GeoInterface v1.3.3 [5c1252a2] + GeometryBasics v0.4.9 [cd3eb016] + HTTP v1.10.1 [34004b35] + HypergeometricFunctions v0.3.23 [a09fc81d] + ImageCore v0.10.1 [22cec73e] + InitialValues v0.3.1 [842dd82b] + InlineStrings v1.4.0 ⌅ [d1acc4aa] + IntervalArithmetic v0.17.8 [3587e190] + InverseFunctions v0.1.12 [41ab1584] + InvertedIndices v1.3.0 [92d709cd] + IrrationalConstants v0.2.2 [c8e1da08] + IterTools v1.10.0 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.5.0 [682c06a0] + JSON v0.21.4 [b964fa9f] + LaTeXStrings v1.3.1 [2ab3a3ac] + LogExpFunctions v0.3.26 [e6f89c97] + LoggingExtras v1.0.3 [1914dd2f] + MacroTools v0.5.13 [dbb5928d] + MappedArrays v0.4.2 [739be429] + MbedTLS v1.1.9 [eff96d63] + Measurements v2.11.0 [442fdcdd] + Measures v0.3.2 [128add7d] + MicroCollections v0.1.4 [e1d29d7a] + Missings v1.1.0 [e94cdb99] + MosaicViews v0.3.4 [77ba4419] + NaNMath v1.0.2 [93a0284f] + NeXLCore v0.3.12 [7127f3d6] + NeXLUncertainties v0.2.12 [978898f6] + NumberIntervals v0.2.2 [6fe1bfb0] + OffsetArrays v1.13.0 [4d8831e6] + OpenSSL v1.4.1 [bac558e1] + OrderedCollections v1.6.3 [90014a1f] + PDMats v0.11.31 [5432bcbf] + PaddedViews v0.5.12 [69de0a69] + Parsers v2.8.1 [7b2266bf] + PeriodicTable v1.2.0 [5ad8b20f] + PhysicalConstants v0.2.3 [f27b6e38] + Polynomials v4.0.6 [2dfb63ee] + PooledArrays v1.4.3 [aea7be01] + PrecompileTools v1.2.0 [21216c6a] + Preferences v1.4.1 [08abe8d2] + PrettyTables v2.3.1 [1fd47b50] + QuadGK v2.9.4 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [42d2dcc6] + Referenceables v0.1.3 [ae029012] + Requires v1.3.0 [79098fc4] + Rmath v0.7.1 [f2b01f46] + Roots v2.1.0 [5eaf0fd0] + RoundingEmulator v0.2.1 [0aa819cd] + SQLite v1.6.0 [91c51154] + SentinelArrays v1.4.1 [3cc68bcd] + SetRounding v0.2.1 [efcf1570] + Setfield v1.1.1 [777ac1f9] + SimpleBufferStream v1.1.0 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.3.1 [171d559e] + SplittablesBase v0.1.15 [cae243ae] + StackViews v0.1.1 [90137ffa] + StaticArrays v1.9.1 [1e83bf80] + StaticArraysCore v1.4.2 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.2 [4c63d2b9] + StatsFuns v1.3.0 [892a3eda] + StringManipulation v0.3.4 [09ab397b] + StructArrays v0.6.16 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.11.1 [62fd8b95] + TensorCore v0.1.1 [ac1d9e8a] + ThreadsX v0.1.11 [3bb67fe8] + TranscodingStreams v0.10.2 [28d57a85] + Transducers v0.4.80 [5c2747f8] + URIs v1.5.1 [1986cc42] + Unitful v1.19.0 [ea10d353] + WeakRefStrings v1.4.2 [76eceee3] + WorkerUtilities v1.6.1 [cd4c43a9] + Dierckx_jll v0.1.0+0 [5ae413db] + EarCut_jll v2.2.4+0 [458c3c95] + OpenSSL_jll v3.0.12+0 [efe28fd5] + OpenSpecFun_jll v0.5.5+0 [f50d1b31] + Rmath_jll v0.4.0+0 [76ed43ae] + SQLite_jll v3.43.0+0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [8ba89e20] + Distributed [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [9fa8497b] + Future [b77e0a4c] + InteractiveUtils [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.10.0 [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.0.5+1 [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+2 [05823500] + OpenLibm_jll v0.8.1+2 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.8.0+1 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use status --outdated -m Precompiling project... 17 dependencies successfully precompiled in 26 seconds. 160 already precompiled. 1 dependency had output during precompilation: ┌ NeXLCore │ ┌ Error: Error during loading of extension NeXLUncertaintiesLaTeXStringsExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ │ exception = │ │ 1-element ExceptionStack: │ │ ArgumentError: Package NeXLUncertaintiesLaTeXStringsExt [e7102ed6-5e95-546b-8e3b-f432f4257805] is required but does not seem to be installed: │ │ - Run Pkg.instantiate() to install all recorded dependencies. │ │ │ │ Stacktrace: │ │ [1] _require(pkg::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1920 │ │ [2] require_prelocked(uuidkey::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1806 │ │ [3] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [4] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [5] _require_prelocked │ │ @ Base ./loading.jl:1797 [inlined] │ │ [6] _require_prelocked │ │ @ Base ./loading.jl:1796 [inlined] │ │ [7] run_extension_callbacks(extid::Base.ExtensionId) │ │ @ Base ./loading.jl:1289 │ │ [8] run_extension_callbacks(pkgid::Base.PkgId) │ │ @ Base ./loading.jl:1324 │ │ [9] run_package_callbacks(modkey::Base.PkgId) │ │ @ Base ./loading.jl:1158 │ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1813 │ │ [11] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [12] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1797 │ │ [14] macro expansion │ │ @ Base ./loading.jl:1784 [inlined] │ │ [15] macro expansion │ │ @ Base ./lock.jl:267 [inlined] │ │ [16] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1747 │ │ [17] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [18] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [19] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1740 │ │ [20] include │ │ @ Base ./Base.jl:495 [inlined] │ │ [21] 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:2216 │ │ [22] top-level scope │ │ @ stdin:3 │ │ [23] eval │ │ @ Core ./boot.jl:385 [inlined] │ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base ./loading.jl:2070 │ │ [25] include_string │ │ @ Base ./loading.jl:2080 [inlined] │ │ [26] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:316 │ │ [27] _start() │ │ @ Base ./client.jl:552 │ └ @ Base loading.jl:1295 │ ┌ Error: Error during loading of extension NeXLUncertaintiesDataFramesExt of NeXLUncertainties, use Base.retry_load_extensions() to retry. │ │ exception = │ │ 1-element ExceptionStack: │ │ ArgumentError: Package NeXLUncertaintiesDataFramesExt [b1bcebf0-f92e-5482-a63d-8d2f95f776fe] is required but does not seem to be installed: │ │ - Run Pkg.instantiate() to install all recorded dependencies. │ │ │ │ Stacktrace: │ │ [1] _require(pkg::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1920 │ │ [2] require_prelocked(uuidkey::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1806 │ │ [3] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [4] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [5] _require_prelocked │ │ @ Base ./loading.jl:1797 [inlined] │ │ [6] _require_prelocked │ │ @ Base ./loading.jl:1796 [inlined] │ │ [7] run_extension_callbacks(extid::Base.ExtensionId) │ │ @ Base ./loading.jl:1289 │ │ [8] run_extension_callbacks(pkgid::Base.PkgId) │ │ @ Base ./loading.jl:1324 │ │ [9] run_package_callbacks(modkey::Base.PkgId) │ │ @ Base ./loading.jl:1158 │ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1813 │ │ [11] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [12] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1797 │ │ [14] macro expansion │ │ @ Base ./loading.jl:1784 [inlined] │ │ [15] macro expansion │ │ @ Base ./lock.jl:267 [inlined] │ │ [16] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1747 │ │ [17] #invoke_in_world#3 │ │ @ Base ./essentials.jl:921 [inlined] │ │ [18] invoke_in_world │ │ @ Base ./essentials.jl:918 [inlined] │ │ [19] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1740 │ │ [20] include │ │ @ Base ./Base.jl:495 [inlined] │ │ [21] 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:2216 │ │ [22] top-level scope │ │ @ stdin:3 │ │ [23] eval │ │ @ Core ./boot.jl:385 [inlined] │ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base ./loading.jl:2070 │ │ [25] include_string │ │ @ Base ./loading.jl:2080 [inlined] │ │ [26] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:316 │ │ [27] _start() │ │ @ Base ./client.jl:552 │ └ @ Base loading.jl:1295 └

— Reply to this email directly, view it on GitHubhttps://github.com/usnistgov/NeXLUncertainties.jl/issues/1#issuecomment-1894557291, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB7QDSCF5UCCOI3ML4BVIMLYO3XQZAVCNFSM6AAAAABB2QBUPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGU2TOMRZGE. You are receiving this because you commented.Message ID: @.**@.>>

gfmoorhead commented 8 months ago

OK: I have cloned NeXLCore and NeXLUncertainties, switched to 'dev' rather than 'add' in julila Pkg, and then changed the filenames as you suggest in ~/.julia/dev/NeXLUncertainties/ext, and now it precompiles. So yes, it does help! Many thanks... Gareth

gfmoorhead commented 8 months ago

However, continuing to add NeXL packages I now encounter this error trying to use NeXLSpectrum:

julia> using NeXLSpectrum Precompiling NeXLSpectrum Info Given NeXLSpectrum was explicitly requested, output will be shown live ERROR: LoadError: UndefVarError: Rect3 not defined Stacktrace: [1] include(mod::Module, _path::String) @ Base ./Base.jl:495 [2] include(x::String) @ NeXLCore ~/.julia/dev/NeXLCore/src/NeXLCore.jl:1 [3] top-level scope @ ~/.julia/dev/NeXLCore/src/NeXLCore.jl:293 ...

However, GeometryBasics itself adds and precompiles without error.

NicholasWMRitchie commented 8 months ago

@gfmoorhead Thanks for the bug reports on Linux & Mac. I've updated NeXLUncertainties, NeXLCore and NeXLSpectrum in an attempt to address these issues. NeXLSpectrum dependencies were missing GeometryBasics. I'm not sure why it ever passed the registration checks but it failed this time. Please update NeXLSpectrum and tell me how it goes.

gfmoorhead commented 8 months ago

Updated all three, actually. clean install, on arm MacOS and all went well. Some precompile warnings like this:

   Info Given NeXLCore was explicitly requested, output will be shown live 

WARNING: Method definition ==(PeriodicTable.Element, PeriodicTable.Element) in module PeriodicTable at /Users/moo293/.julia/packages/PeriodicTable/arZxb/src/PeriodicTable.jl:279 overwritten in module NeXLCore at /Users/moo293/.julia/packages/NeXLCore/kYGvK/src/element.jl:56. ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

which I think just relate to my configuration.