You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to precompile the project, I get the following error ``ERROR: LoadError: UndefVarError: ThCategory not defined in `Catlab.Theories```. The full error is below. Any ideas on what's going on? If I try to load Catlab in an empty project, it works fine.
ERROR: LoadError: UndefVarError:`ThCategory` not defined in`Catlab.Theories`
Stacktrace:
[1] top-level scope
@ :0
[2] #macroexpand#74
@ ./expr.jl:125 [inlined]
[3] macroexpand(m::Module, x::Any)
@ Base ./expr.jl:123
[4] var"@symbolic_model"(__source__::LineNumberNode, __module__::Module, decl::Any, theoryname::Any, body::Any)
@ GATlab.Models.SymbolicModels ~/.julia/packages/GATlab/fO07H/src/models/SymbolicModels.jl:235
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[6] include(x::String)
@ Catlab.Theories ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:6
[7] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:37
[8] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[9] include(x::String)
@ Catlab ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
[10] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:5
[11] include
@ ./Base.jl:557 [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:2881
[13] top-level scope
@ stdin:6
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:1
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
in expression starting at stdin:6
GCSModeling
Failed to precompile GCSModeling [e93409f1-6d57-48c5-9fa8-1fd3b3493a8b] to "/Users/wusea/.julia/compiled/v1.11/GCSModeling/jl_OrHYxi".
ERROR: LoadError: UndefVarError:`ThCategory` not defined in`Catlab.Theories`
Stacktrace:
[1] top-level scope
@ :0
[2] #macroexpand#74
@ ./expr.jl:125 [inlined]
[3] macroexpand(m::Module, x::Any)
@ Base ./expr.jl:123
[4] var"@symbolic_model"(__source__::LineNumberNode, __module__::Module, decl::Any, theoryname::Any, body::Any)
@ GATlab.Models.SymbolicModels ~/.julia/packages/GATlab/fO07H/src/models/SymbolicModels.jl:235
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[6] include(x::String)
@ Catlab.Theories ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:6
[7] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:37
[8] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[9] include(x::String)
@ Catlab ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
[10] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:5
[11] include
@ ./Base.jl:557 [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::String)
@ Base ./loading.jl:2881
[13] top-level scope
@ stdin:6
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:1
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Catlab [134e5e36-593f-5add-ad60-77f754baafbe] to "/Users/wusea/.julia/compiled/v1.11/Catlab/jl_HSVurt".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at /Users/wusea/Desktop/git/dssi-dyve-gcs/src/GCSModeling.jl:1
in expression starting at stdin:6
CatlabDataFramesExt
Failed to precompile CatlabDataFramesExt [2ba0e0b3-fe25-51a6-b03e-95753f7b4923] to "/Users/wusea/.julia/compiled/v1.11/CatlabDataFramesExt/jl_JZdEmR".
ERROR: LoadError: UndefVarError:`ThCategory` not defined in`Catlab.Theories`
Stacktrace:
[1] top-level scope
@ :0
[2] #macroexpand#74
@ ./expr.jl:125 [inlined]
[3] macroexpand(m::Module, x::Any)
@ Base ./expr.jl:123
[4] var"@symbolic_model"(__source__::LineNumberNode, __module__::Module, decl::Any, theoryname::Any, body::Any)
@ GATlab.Models.SymbolicModels ~/.julia/packages/GATlab/fO07H/src/models/SymbolicModels.jl:235
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[6] include(x::String)
@ Catlab.Theories ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:6
[7] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:37
[8] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[9] include(x::String)
@ Catlab ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
[10] top-level scope
@ ~/.julia/packages/Catlab/jPXBM/src/Catlab.jl:5
[11] include
@ ./Base.jl:557 [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::String)
@ Base ./loading.jl:2881
[13] top-level scope
@ stdin:6
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Category.jl:15
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/theories/Theories.jl:1
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/src/Catlab.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Catlab [134e5e36-593f-5add-ad60-77f754baafbe] to "/Users/wusea/.julia/compiled/v1.11/Catlab/jl_51wok0".
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; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base ./loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.11.3+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1057 [inlined]
[8] invokelatest
@ ./essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3698
[10] maybe_cachefile_lock
@ ./loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[13] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[16] macro expansion
@ ./loading.jl:2314 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[19] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[22] include
@ ./Base.jl:557 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at /Users/wusea/.julia/packages/Catlab/jPXBM/ext/CatlabDataFramesExt.jl:1
in expression starting at stdin:6
The text was updated successfully, but these errors were encountered:
Hi all, I'm working in a project with the following deps:
With the following versions (on Julia 1.11.3):
When trying to precompile the project, I get the following error ``ERROR: LoadError: UndefVarError:
ThCategory
not defined in `Catlab.Theories```. The full error is below. Any ideas on what's going on? If I try to load Catlab in an empty project, it works fine.The text was updated successfully, but these errors were encountered: