Package evaluation to test SpineOpt on Julia 1.12.6 (15346901f00) started at 2026-06-29T12:05:22.470 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.12` Set-up completed after 6.11s ################################################################################ # Installation # Installing SpineOpt... Resolving package versions... Installed PyCall ─── v1.96.4 Installed Conda ──── v1.10.3 Installed SpineOpt ─ v1.0.0 Updating `~/.julia/environments/v1.12/Project.toml` [0d8fc150] + SpineOpt v1.0.0 Updating `~/.julia/environments/v1.12/Manifest.toml` [7d9f7c33] + Accessors v0.1.45 [66dad0bd] + AliasTables v1.1.3 [69666777] + Arrow v2.8.1 [31f734f8] + ArrowTypes v2.3.0 [c3b6d118] + BitIntegers v0.3.7 [523fee87] + CodecBzip2 v0.8.5 [5ba52731] + CodecLz4 v0.4.6 [944b1d66] + CodecZlib v0.7.8 [6b39b394] + CodecZstd v0.8.7 [38540f10] + CommonSolve v0.2.9 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [f0e56b4a] + ConcurrentUtilities v2.5.1 [8f4d0f93] + Conda v1.10.3 [187b0558] + ConstructionBase v1.6.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.6 [e2d170a0] + DataValueInterfaces v1.0.0 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.16.0 [31c24e10] + Distributions v0.25.129 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.7 [e2ba6199] + ExprTools v0.1.10 [1a297f60] + FillArrays v1.16.0 [f6369f11] + ForwardDiff v1.4.1 [87dc4568] + HiGHS v1.24.0 [34004b35] + HypergeometricFunctions v0.3.28 [842dd82b] + InlineStrings v1.4.5 [3587e190] + InverseFunctions v0.1.17 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.8.0 ⌅ [682c06a0] + JSON v0.21.4 [4076af6c] + JuMP v1.30.1 [2ab3a3ac] + LogExpFunctions v1.0.1 [1914dd2f] + MacroTools v0.5.16 [8c4f8055] + MathOptIIS v0.2.0 [b8f27783] + MathOptInterface v1.51.1 [e1d29d7a] + Missings v1.2.0 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.8.0 [77ba4419] + NaNMath v1.1.4 ⌅ [bac558e1] + OrderedCollections v1.8.2 [90014a1f] + PDMats v0.11.40 [69de0a69] + Parsers v2.8.6 [2dfb63ee] + PooledArrays v1.4.3 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [43287f4e] + PtrArrays v1.4.0 [438e738f] + PyCall v1.96.4 [1fd47b50] + QuadGK v2.11.3 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.9.0 [f2b01f46] + Roots v3.0.0 [6c6a2e73] + Scratch v1.3.0 [91c51154] + SentinelArrays v1.4.10 [a2af1166] + SortingAlgorithms v1.2.3 [276daf66] + SpecialFunctions v2.8.0 [0cda1612] + SpineInterface v0.18.0 [0d8fc150] + SpineOpt v1.0.0 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.8.0 [2913bbd2] + StatsBase v0.34.12 [4c63d2b9] + StatsFuns v2.2.0 ⌅ [354b36f9] + StringViews v1.3.7 [dc5dba14] + TZJData v1.5.0+2025b [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.13.0 [f269a46b] + TimeZones v1.22.2 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.6.1 [81def892] + VersionParsing v1.3.0 [6e34b625] + Bzip2_jll v1.0.9+0 [8fd58aa0] + HiGHS_jll v1.15.0+0 [5ced341a] + Lz4_jll v1.10.1+0 [656ef2d0] + OpenBLAS32_jll v0.3.33+1 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [3161d3a3] + Zstd_jll v1.5.7+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.15.0+0 [e37daf67] + LibGit2_jll v1.9.0+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.11.4 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.7+0 [458c3c95] + OpenSSL_jll v3.5.4+0 [bea87d4a] + SuiteSparse_jll v7.8.3+2 [83775a58] + Zlib_jll v1.3.1+2 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.64.0+1 [3f19e933] + p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building Conda ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/8f06b0cfa4c514c7b9546756dbae91fcfbc92dc9/build.log` Building PyCall ──→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Building SpineOpt → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/24179a97eea84f26be62bf8bfb4e7262fc2a9ff1/build.log` Installation completed after 120.11s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling packages... 1594.4 ms ✓ StringViews 796.1 ms ✓ InlineStrings → ArrowTypesExt 1221.8 ms ✓ Roots → RootsForwardDiffExt 13352.0 ms ✓ Arrow 102599.8 ms ✓ SpineOpt 5 dependencies successfully precompiled in 122 seconds. 132 already precompiled. Precompilation completed after 134.38s ################################################################################ # Testing # Testing SpineOpt Status `/tmp/jl_KxKFWU/Project.toml` [864edb3b] DataStructures v0.19.6 [8bb1440f] DelimitedFiles v1.9.1 [87dc4568] HiGHS v1.24.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 [b8f27783] MathOptInterface v1.51.1 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.18.0 [0d8fc150] SpineOpt v1.0.0 `~/.julia/packages/SpineOpt/1NRBB` [ade2ca70] Dates v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.12.1 [8dfed614] Test v1.11.0 Status `/tmp/jl_KxKFWU/Manifest.toml` [7d9f7c33] Accessors v0.1.45 [66dad0bd] AliasTables v1.1.3 [69666777] Arrow v2.8.1 [31f734f8] ArrowTypes v2.3.0 [c3b6d118] BitIntegers v0.3.7 [523fee87] CodecBzip2 v0.8.5 [5ba52731] CodecLz4 v0.4.6 [944b1d66] CodecZlib v0.7.8 [6b39b394] CodecZstd v0.8.7 [38540f10] CommonSolve v0.2.9 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [f0e56b4a] ConcurrentUtilities v2.5.1 [8f4d0f93] Conda v1.10.3 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.6 [e2d170a0] DataValueInterfaces v1.0.0 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [31c24e10] Distributions v0.25.129 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.7 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.16.0 [f6369f11] ForwardDiff v1.4.1 [87dc4568] HiGHS v1.24.0 [34004b35] HypergeometricFunctions v0.3.28 [842dd82b] InlineStrings v1.4.5 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.8.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 [2ab3a3ac] LogExpFunctions v1.0.1 [1914dd2f] MacroTools v0.5.16 [8c4f8055] MathOptIIS v0.2.0 [b8f27783] MathOptInterface v1.51.1 [e1d29d7a] Missings v1.2.0 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.8.0 [77ba4419] NaNMath v1.1.4 ⌅ [bac558e1] OrderedCollections v1.8.2 [90014a1f] PDMats v0.11.40 [69de0a69] Parsers v2.8.6 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [43287f4e] PtrArrays v1.4.0 [438e738f] PyCall v1.96.4 [1fd47b50] QuadGK v2.11.3 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.9.0 [f2b01f46] Roots v3.0.0 [6c6a2e73] Scratch v1.3.0 [91c51154] SentinelArrays v1.4.10 [a2af1166] SortingAlgorithms v1.2.3 [276daf66] SpecialFunctions v2.8.0 [0cda1612] SpineInterface v0.18.0 [0d8fc150] SpineOpt v1.0.0 `~/.julia/packages/SpineOpt/1NRBB` [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.12 [4c63d2b9] StatsFuns v2.2.0 ⌅ [354b36f9] StringViews v1.3.7 [dc5dba14] TZJData v1.5.0+2025b [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.13.0 [f269a46b] TimeZones v1.22.2 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [81def892] VersionParsing v1.3.0 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.15.0+0 [5ced341a] Lz4_jll v1.10.1+0 [656ef2d0] OpenBLAS32_jll v0.3.33+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [3161d3a3] Zstd_jll v1.5.7+1 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.12.1 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.15.0+0 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.64.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... find_version: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:21 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:22 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:25 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [17] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:22 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:25 [inlined] [10] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [18] _start() @ Base ./client.jl:550 run_migrations: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:60 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#578#579"{Bool, Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:929 [6] _db @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:920 [inlined] [7] without_filters @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:877 [inlined] [8] #run_migrations#576 @ ~/.julia/packages/SpineOpt/1NRBB/src/data_structure/migration.jl:116 [inlined] [9] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/1NRBB/src/data_structure/migration.jl:115 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:61 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:63 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#578#579"{Bool, Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:929 [7] _db @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:920 [inlined] [8] without_filters @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:877 [inlined] [9] #run_migrations#576 @ ~/.julia/packages/SpineOpt/1NRBB/src/data_structure/migration.jl:116 [inlined] [10] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/1NRBB/src/data_structure/migration.jl:115 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:61 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:63 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 successful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:131 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:133 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:132 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:107 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:617 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:133 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:132 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:107 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:617 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 unsuccessful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:141 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:145 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:142 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:107 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:617 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:145 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:142 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:107 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:617 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 rename_model_types: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:152 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:168 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:153 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:618 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:168 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:153 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:618 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 translate_ramp_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:179 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:203 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:180 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:619 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:203 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:180 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:619 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 remove_model_tb_ss: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:215 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:225 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:216 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:620 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:225 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:216 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:620 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 update_investment_variable_type: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:236 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:256 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:237 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:621 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:256 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:237 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:621 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 add_model_algorithm: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:272 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:289 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:273 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:622 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:289 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:273 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:622 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 rename_lifetime_to_tech_lifetime: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:302 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:318 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:303 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:623 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:318 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:303 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:623 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 translate_heatrate_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:331 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:349 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [9] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:332 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:624 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:349 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:332 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:624 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:385 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 migration scripts: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:615 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [8] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:431 [9] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [20] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:373 [9] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:431 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/migration.jl:625 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 check data structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_data_structure.jl:21 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_data_structure.jl:22 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_data_structure.jl:23 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:161 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [19] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_data_structure.jl:22 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_data_structure.jl:23 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:161 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [20] _start() @ Base ./client.jl:550 test discounted duration - using milestone years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:229 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:230 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:230 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:230 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:230 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test discounted duration - using consecutive years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:275 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:276 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:276 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:564 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:276 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:276 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:564 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test investment costs, salvage fraction, capacity transfer factor, decommissioning: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:330 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:331 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:331 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:566 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:331 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:331 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:566 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test technological discount factor, investment costs, salvage fraction: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:380 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:381 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:381 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:567 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:381 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:381 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:567 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test rolling error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:417 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:418 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:418 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:568 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:418 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:418 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:568 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test Benders error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:443 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:444 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:444 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:569 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:444 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:444 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:569 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test no investment temporal block error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:469 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:224 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:470 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:470 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:570 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:224 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:470 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:470 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:570 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 test saving outputs: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:496 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:183 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:497 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:497 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:571 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:183 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:497 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:497 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/check_economic_structure.jl:571 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 process_lossless_bidirectional_connections: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:20 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:21 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:31 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [19] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:21 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:31 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [20] _start() @ Base ./client.jl:550 expand groups: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:49 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:50 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:72 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [19] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:50 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:72 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [20] _start() @ Base ./client.jl:550 lossless_bidirectional_capacities: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:90 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:180 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:91 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [19] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/preprocess_data_structure.jl:91 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:163 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [20] _start() @ Base ./client.jl:550 representative_time_slice: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:86 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:87 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:87 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:87 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:87 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 zero_resolution: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:147 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:148 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:148 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:558 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:148 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:148 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:558 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 block_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:162 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:163 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_block_start() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:163 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:559 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:163 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_block_start() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:163 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:559 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 block_end: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:192 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_block_end() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:193 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:560 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_block_end() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:193 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:560 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 one_two_four_even: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:222 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:223 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:223 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:561 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:223 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:223 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:561 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 two_three_uneven: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:300 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:301 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:301 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:562 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:301 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:301 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:562 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 gaps: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:353 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:354 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_gaps() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:354 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:563 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:354 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_gaps() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:354 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:563 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 to_time_slice with rolling: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:420 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:421 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:421 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:564 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:421 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:421 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:564 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 history: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:447 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:448 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_history() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:448 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:565 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:448 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_history() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:448 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:565 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 master_temporal_structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:478 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:479 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:479 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:566 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:479 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:479 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:566 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 subwindows: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:512 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:513 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:513 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:567 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:513 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:513 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:567 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 discontinuity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:59 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:60 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:60 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:568 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:60 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:60 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/temporal_structure.jl:568 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:164 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 stochastic structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:308 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _load_stochastic_structure_test_data() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:157 [9] _test_stochastic_structure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:162 [10] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:309 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:309 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:165 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [21] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _load_stochastic_structure_test_data() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:157 [10] _test_stochastic_structure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:162 [11] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:309 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/stochastic_structure.jl:309 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:165 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:489 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [22] _start() @ Base ./client.jl:550 save_connection_avg_throughflow_unidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:76 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:78 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:78 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:78 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:78 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_a: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:88 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:91 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:91 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:91 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:91 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_b: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:105 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:108 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:108 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:108 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:108 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 save_connection_avg_throughflow_bidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:122 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:124 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:124 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:124 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:124 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 save_contingency_is_binding: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:227 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:222 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:228 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:228 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:336 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:222 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:228 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:228 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/data_structure/postprocess_results.jl:336 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 expression_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:110 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:105 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:111 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:111 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:168 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:168 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:105 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:111 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:111 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:168 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/expressions/expression.jl:168 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:125 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:126 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:126 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:126 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:126 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_available_units_unavailable: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:162 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:163 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:163 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2265 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:163 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:163 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2265 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_available_units_unavailable_default: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:199 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:200 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:200 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2265 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:200 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:200 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2265 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_unit_state_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:240 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:241 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:241 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2266 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:241 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:241 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2266 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_unit_flow_capacity_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:310 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:311 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:311 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2267 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:311 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:311 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2267 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [28] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:367 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2268 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:489 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [29] _start() @ Base ./client.jl:550 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:462 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 constraint_minimum_operating_point_online_variable_type_none: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:537 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:560 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:538 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:560 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:538 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2269 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_operating_point_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:733 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:734 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:734 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2270 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:734 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:734 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2270 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_operating_point_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:778 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:779 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:779 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2271 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:779 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:779 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2271 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_unit_flow_op_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:826 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:827 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:827 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2272 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:827 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:827 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2272 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_unit_flow_op_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:895 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:896 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:896 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2273 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:896 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:896 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2273 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_unit_flow_op_sum: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:956 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:957 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:957 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2274 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:957 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:957 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2274 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 (p, a, b) = ("min", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("fix", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("max", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("min", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("fix", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("max", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("min", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("fix", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("max", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("min", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("fix", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a, b) = ("max", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:986 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2275 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a) = ("min", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a) = ("min", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a) = ("max", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (p, a) = ("max", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1096 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2276 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1151 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2277 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1197 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2278 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 outage_scheduled_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1248 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1285 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2280 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 45: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1345 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 90: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1405 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2282 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 constraint_units_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1477 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1478 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1478 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2283 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1478 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1478 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2283 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1504 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1505 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1505 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2284 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1505 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1505 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2284 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1534 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1535 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1535 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2285 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1535 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1535 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2285 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_units_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1571 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1572 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1572 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2286 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1572 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1572 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2286 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1612 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2287 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 constraint_unit_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1667 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1672 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1668 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2288 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1672 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1668 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2288 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1725 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2289 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1781 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2290 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1889 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2291 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 constraint_non_spinning_reserves_lower_bound: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:615 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:616 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:616 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2292 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:616 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:616 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2292 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 limit_name = ramp_limits_startup: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:677 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2293 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:677 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2293 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 limit_name = ramp_limits_shutdown: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:677 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2293 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:677 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:672 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2293 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:1997 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2294 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2060 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2295 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 constraint_ratio_unit_flow_fix_ratio_pw: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2128 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2129 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2129 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2296 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2129 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2129 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2296 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_ratio_unit_flow_fix_ratio_pw_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2178 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2179 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2179 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2297 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2179 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2179 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2297 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_ratio_unit_flow_fix_ratio_pw_simple2: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2223 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2224 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2224 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2298 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2224 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2224 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2264 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_unit.jl:2298 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_nodal_balance: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:100 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:101 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:101 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:101 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:101 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_nodal_balance_group: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:143 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:144 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:144 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1264 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:144 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:144 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1264 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_node_injection: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:180 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:181 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1265 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:181 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1265 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_cyclic_node_state: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:315 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:316 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:316 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1266 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:316 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:316 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1266 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_storage_line_pack: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:359 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:360 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:360 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1267 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:360 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:360 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1267 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_compression_ratio: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:430 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:431 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:431 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1268 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:431 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:431 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1268 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_min_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:483 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:484 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:484 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1269 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:484 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:484 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1269 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_max_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:520 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:521 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:521 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1270 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:521 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:521 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1270 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_min_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:557 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:558 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:558 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1271 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:558 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:558 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1271 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_max_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:594 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:595 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:595 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1272 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:595 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:595 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1272 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_min_node_state_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:631 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:632 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:632 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1273 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:632 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1273 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_node_state_capacity_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:680 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:681 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:681 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1274 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:681 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:681 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1274 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_storages_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:720 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:721 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:721 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1275 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:721 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:721 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1275 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_storages_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:752 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:753 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:753 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1276 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:753 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:753 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1276 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_storages_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:785 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:786 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:786 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1277 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:786 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:786 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1277 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_storages_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:827 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:828 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:828 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1278 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:828 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:828 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1278 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:871 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1279 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 constraint_storage_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:933 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:940 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:934 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1280 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:940 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:934 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1280 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [14] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:489 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [25] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1866 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:995 [15] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1281 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [19] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 constraint_min_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1053 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1054 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1054 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1282 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1054 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1054 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1282 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_capacity_margin_penalty: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1091 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1092 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1092 [12] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1283 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:489 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [23] _start() @ Base ./client.jl:550 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:951 [3] eval(m::Module, e::Any) @ Core ./boot.jl:489 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1092 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [12] test_constraint_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1092 [13] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1263 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1283 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [17] top-level scope @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:160 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:169 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [24] _start() @ Base ./client.jl:550 constraint_node_injection_free_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1134 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:956 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:948 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:939 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/1NRBB/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1135 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [11] test_constraint_node_injection_free_start() @ Main ~/.julia/packages/SpineOpt/1NRBB/test/constraints/constraint_node.jl:1135 [12] top-level scope PkgEval terminated after 545.9s: test log exceeded the size limit