GenieFramework / Stipple.jl

The reactive UI library for interactive data applications with pure Julia.
MIT License
321 stars 27 forks source link

StippleJSONExt precompilation fails on new install #250

Closed PGimenez closed 8 months ago

PGimenez commented 8 months ago

When installing GenieFramework.jl, the warning/error below appears during precompilation. There are no issues when running the app.

Precompiling project...
  101 dependencies successfully precompiled in 115 seconds. 6 already precompiled.
  2 dependencies had warnings during precompilation:
┌ StippleDataFramesExt [978d162b-f31d-52c8-8e73-2585f2220699]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StippleJSONExt [3886c52f-dab8-57e2-b0ae-82bbfec347da]
│  │   exception = ArgumentError: Invalid checksum in cache file /Users/pere/.julia/compiled/v1.9/StippleJSONExt/hUNUR_pnFdy.dylib.
│  └ @ Base loading.jl:1818
│  ┌ Error: Error during loading of extension StippleJSONExt of Stipple, use `Base.retry_load_extensions()` to retry.
│  │   exception =
│  │    1-element ExceptionStack:
│  │    Declaring __precompile__(false) is not allowed in files that are being precompiled.
│  │    Stacktrace:
│  │      [1] _require(pkg::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1825
│  │      [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1660
│  │      [3] _require_prelocked(uuidkey::Base.PkgId)
│  │        @ Base ./loading.jl:1658
│  │      [4] run_extension_callbacks(extid::Base.ExtensionId)
│  │        @ Base ./loading.jl:1255
│  │      [5] run_extension_callbacks(pkgid::Base.PkgId)
│  │        @ Base ./loading.jl:1290
│  │      [6] run_package_callbacks(modkey::Base.PkgId)
│  │        @ Base ./loading.jl:1124
│  │      [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
│  │        @ Base ./loading.jl:1667
│  │      [8] macro expansion
│  │        @ ./loading.jl:1648 [inlined]
│  │      [9] macro expansion
│  │        @ ./lock.jl:267 [inlined]
│  │     [10] require(into::Module, mod::Symbol)
│  │        @ Base ./loading.jl:1611
│  │     [11] include
│  │        @ ./Base.jl:457 [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, UInt128}}, source::Nothing)
│  │        @ Base ./loading.jl:2049
│  │     [13] top-level scope
│  │        @ stdin:3
│  │     [14] eval
│  │        @ ./boot.jl:370 [inlined]
│  │     [15] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│  │        @ Base ./loading.jl:1903
│  │     [16] include_string
│  │        @ ./loading.jl:1913 [inlined]
│  │     [17] exec_options(opts::Base.JLOptions)
│  │        @ Base ./client.jl:305
│  │     [18] _start()
│  │        @ Base ./client.jl:522
│  └ @ Base loading.jl:1261
essenciary commented 8 months ago

@PGimenez I can't reproduce - can you try with the latest version? (the one that solves the Revise problem)

PGimenez commented 8 months ago

I haven't encountered this problem again, closing.