Skip to content

Error during loading of extension TestExt of TranscodingStreams, use Base.retry_load_extensions() to retry #234

Closed
@ForceBru

Description

@ForceBru

I'm getting this weird error when importing CairoMakie:

julia> using DrWatson; quickactivate(@__DIR__)
  Activating project at `...`

julia> import CairoMakie as M
Precompiling CairoMakie
  2 dependencies successfully precompiled in 160 seconds. 231 already precompiled.
[ Info: Precompiling CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0]
┌ Warning: Module TestExt with build ID fafbfcfd-69b6-3fd5-0000-03ffd98fc331 is missing from the cache.
│ This may mean TestExt [29286dec-c893-52d1-88fe-e07e79eb4405] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1948
┌ Error: Error during loading of extension TestExt of TranscodingStreams, 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:1952
│      [2] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│        @ Base ./loading.jl:1812
│      [3] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│      [4] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│      [5] _require_prelocked
│        @ ./loading.jl:1803 [inlined]
│      [6] _require_prelocked
│        @ ./loading.jl:1802 [inlined]
│      [7] run_extension_callbacks(extid::Base.ExtensionId)
│        @ Base ./loading.jl:1295
│      [8] run_extension_callbacks(pkgid::Base.PkgId)
│        @ Base ./loading.jl:1330
│      [9] run_package_callbacks(modkey::Base.PkgId)
│        @ Base ./loading.jl:1164
│     [10] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
│        @ Base ./loading.jl:1487
│     [11] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
│        @ Base ./loading.jl:1574
│     [12] _require(pkg::Base.PkgId, env::String)
│        @ Base ./loading.jl:1938
│     [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] include
│        @ ./Base.jl:495 [inlined]
│     [24] 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
│     [25] top-level scope
│        @ stdin:3
│     [26] eval
│        @ ./boot.jl:385 [inlined]
│     [27] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│        @ Base ./loading.jl:2076
│     [28] include_string
│        @ ./loading.jl:2086 [inlined]
│     [29] exec_options(opts::Base.JLOptions)
│        @ Base ./client.jl:316
│     [30] _start()
│        @ Base ./client.jl:552
└ @ Base loading.jl:1301
┌ Warning: Module TestExt with build ID fafbfcfd-69b6-3fd5-0000-03ffd98fc331 is missing from the cache.
│ This may mean TestExt [29286dec-c893-52d1-88fe-e07e79eb4405] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1948
┌ Error: Error during loading of extension TestExt of TranscodingStreams, 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:1952
│      [2] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│        @ Base ./loading.jl:1812
│      [3] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│      [4] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│      [5] _require_prelocked
│        @ ./loading.jl:1803 [inlined]
│      [6] _require_prelocked
│        @ ./loading.jl:1802 [inlined]
│      [7] run_extension_callbacks(extid::Base.ExtensionId)
│        @ Base ./loading.jl:1295
│      [8] run_extension_callbacks(pkgid::Base.PkgId)
│        @ Base ./loading.jl:1330
│      [9] run_package_callbacks(modkey::Base.PkgId)
│        @ Base ./loading.jl:1164
│     [10] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt128)
│        @ Base ./loading.jl:1451
│     [11] _tryrequire_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String)
│        @ Base ./loading.jl:1524
│     [12] _require(pkg::Base.PkgId, env::String)
│        @ Base ./loading.jl:1990
│     [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] include
│        @ ./Base.jl:495 [inlined]
│     [24] 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
│     [25] top-level scope
│        @ stdin:3
│     [26] eval
│        @ ./boot.jl:385 [inlined]
│     [27] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│        @ Base ./loading.jl:2076
│     [28] include_string
│        @ ./loading.jl:2086 [inlined]
│     [29] exec_options(opts::Base.JLOptions)
│        @ Base ./client.jl:316
│     [30] _start()
│        @ Base ./client.jl:552
└ @ Base loading.jl:1301

julia> 

Versions

  • Julia 1.10.4 and 1.11-rc1
  • CairoMakie v0.12.5
  • DrWatson v2.15.0
  • TranscodingStreams v0.10.10

Can't upgrade TranscodingStreams because:

pkg> status -m --outdated
Status `Manifest.toml`
⌅ [5078a376] LazyArrays v1.10.0 (<v2.1.9): Parquet2
⌅ [a3b82374] MatrixFactorizations v2.2.0 (<v3.0.0): LazyArrays
⌃ [59d4ed8c] Snappy v0.4.0 (<v0.4.2)
⌅ [3bb67fe8] TranscodingStreams v0.10.10 (<v0.11.1): ProtoBuf
⌅ [e9f186c6] Libffi_jll v3.2.2+1 (<v3.4.6+0): Glib_jll, HarfBuzz_jll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions