Package evaluation to test SpineOpt on Julia 1.14.0-DEV.3128 (f573e2bf71*) started at 2026-09-07T01:32:49.204 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 16.45s ################################################################################ # Installation # Installing SpineOpt... Resolving package versions... Installed Conda ──── v1.10.3 Installed PyCall ─── v1.96.4 Installed SpineOpt ─ v1.0.1 Updating `~/.julia/environments/v1.14/Project.toml` [0d8fc150] + SpineOpt v1.0.1 Updating `~/.julia/environments/v1.14/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.9 [6b39b394] + CodecZstd v0.8.7 [38540f10] + CommonSolve v0.2.14 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [f0e56b4a] + ConcurrentUtilities v2.6.0 [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.131 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.7 [e2ba6199] + ExprTools v0.1.11 [1a297f60] + FillArrays v1.17.0 [f6369f11] + ForwardDiff v1.4.5 [a0844989] + Gamma v1.2.0 [87dc4568] + HiGHS v1.25.1 [34004b35] + HypergeometricFunctions v0.3.30 ⌅ [842dd82b] + InlineStrings v1.4.6 [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.31.2 [2ab3a3ac] + LogExpFunctions v1.0.1 [1914dd2f] + MacroTools v0.5.16 [8c4f8055] + MathOptIIS v0.2.0 [b8f27783] + MathOptInterface v1.53.0 [e1d29d7a] + Missings v1.2.0 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.8.0 [77ba4419] + NaNMath v1.1.4 [bac558e1] + OrderedCollections v2.0.1 [90014a1f] + PDMats v0.11.41 ⌅ [69de0a69] + Parsers v2.8.8 [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.8 [6c6a2e73] + Scratch v1.3.0 [91c51154] + SentinelArrays v1.4.10 [a2af1166] + SortingAlgorithms v1.2.3 [276daf66] + SpecialFunctions v2.9.0 [0cda1612] + SpineInterface v0.18.0 [0d8fc150] + SpineOpt v1.0.1 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.5 [82ae8749] + StatsAPI v1.8.0 [2913bbd2] + StatsBase v0.34.13 [4c63d2b9] + StatsFuns v2.2.1 ⌅ [354b36f9] + StringViews v1.3.7 [dc5dba14] + TZJData v1.6.0+2025c [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.14.0 [f269a46b] + TimeZones v1.22.2 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.7.0 [81def892] + VersionParsing v1.3.0 [6e34b625] + Bzip2_jll v1.0.9+0 [8fd58aa0] + HiGHS_jll v1.15.1+3 [5ced341a] + Lz4_jll v1.10.1+0 [656ef2d0] + OpenBLAS32_jll v0.3.34+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.2+0 [0dad84c5] + ArgTools v1.2.0 [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.13.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.14.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 v1.13.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.13.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.5.7+0 [deac9b47] + LibCURL_jll v8.21.0+0 [e37daf67] + LibGit2_jll v1.9.7+0 [29816b5a] + LibSSH2_jll v1.11.104+0 [14a3606d] + MozillaCACerts_jll v2026.8.13 [4536629a] + OpenBLAS_jll v0.3.34+0 [05823500] + OpenLibm_jll v0.8.8+0 [458c3c95] + OpenSSL_jll v3.5.8+0 [efcefdf7] + PCRE2_jll v10.48.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.2+0 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.70.0+0 [3f19e933] + p7zip_jll v17.8.2+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/99c1833f84fdae157c4ff3426fc14c0e195df2c6/build.log` Installation completed after 80.82s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 35.8 s ✓ SpineOpt 1 dependency successfully precompiled in 39 seconds. 137 already precompiled. Precompilation completed after 53.35s ################################################################################ # Testing # Testing SpineOpt Status `/tmp/jl_gPTkJK/Project.toml` [864edb3b] DataStructures v0.19.6 [8bb1440f] DelimitedFiles v1.9.1 [87dc4568] HiGHS v1.25.1 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.31.2 [b8f27783] MathOptInterface v1.53.0 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.18.0 [0d8fc150] SpineOpt v1.0.1 `~/.julia/packages/SpineOpt/uADJP/` [ade2ca70] Dates v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.14.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_gPTkJK/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.9 [6b39b394] CodecZstd v0.8.7 [38540f10] CommonSolve v0.2.14 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [f0e56b4a] ConcurrentUtilities v2.6.0 [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.131 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.7 [e2ba6199] ExprTools v0.1.11 [1a297f60] FillArrays v1.17.0 [f6369f11] ForwardDiff v1.4.5 [a0844989] Gamma v1.2.0 [87dc4568] HiGHS v1.25.1 [34004b35] HypergeometricFunctions v0.3.30 ⌅ [842dd82b] InlineStrings v1.4.6 [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.31.2 [2ab3a3ac] LogExpFunctions v1.0.1 [1914dd2f] MacroTools v0.5.16 [8c4f8055] MathOptIIS v0.2.0 [b8f27783] MathOptInterface v1.53.0 [e1d29d7a] Missings v1.2.0 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.8.0 [77ba4419] NaNMath v1.1.4 [bac558e1] OrderedCollections v2.0.1 [90014a1f] PDMats v0.11.41 ⌅ [69de0a69] Parsers v2.8.8 [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.8 [6c6a2e73] Scratch v1.3.0 [91c51154] SentinelArrays v1.4.10 [a2af1166] SortingAlgorithms v1.2.3 [276daf66] SpecialFunctions v2.9.0 [0cda1612] SpineInterface v0.18.0 [0d8fc150] SpineOpt v1.0.1 `~/.julia/packages/SpineOpt/uADJP/` [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.5 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.13 [4c63d2b9] StatsFuns v2.2.1 ⌅ [354b36f9] StringViews v1.3.7 [dc5dba14] TZJData v1.6.0+2025c [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.14.0 [f269a46b] TimeZones v1.22.2 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.7.0 [81def892] VersionParsing v1.3.0 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.15.1+3 [5ced341a] Lz4_jll v1.10.1+0 [656ef2d0] OpenBLAS32_jll v0.3.34+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.2+0 [0dad84c5] ArgTools v1.2.0 [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.13.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.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.5.7+0 [deac9b47] LibCURL_jll v8.21.0+0 [e37daf67] LibGit2_jll v1.9.7+0 [29816b5a] LibSSH2_jll v1.11.104+0 [14a3606d] MozillaCACerts_jll v2026.8.13 [4536629a] OpenBLAS_jll v0.3.34+0 [05823500] OpenLibm_jll v0.8.8+0 [458c3c95] OpenSSL_jll v3.5.8+0 [efcefdf7] PCRE2_jll v10.48.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.2+0 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.70.0+0 [3f19e933] p7zip_jll v17.8.2+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Warning: `disable_sigint` no longer defers Ctrl-C: SIGINT is delivered as a cancellation of the current ^C scope and observed at cancellation points regardless of the sigatomic region this establishes. Shield a region from cancellation by scoping `Base.CANCEL_TOKEN => nothing` over it instead. │ caller = pyeval_(s::String, globals::PyCall.PyDict{String, PyCall.PyObject, true}, locals::PyCall.PyDict{String, PyCall.PyObject, true}, input_type::Int64, fname::String) at pyeval.jl:37 └ @ PyCall ~/.julia/packages/PyCall/1gn3u/src/pyeval.jl:37 find_version: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [6] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:22 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:25 [inlined] 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:618 [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 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:910 [7] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:22 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:25 [inlined] run_migrations: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [5] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#577#578"{Bool, Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:929 [6] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#577#578"{Bool, Int64}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:920 [inlined] [7] without_filters(f::SpineOpt.var"#577#578"{Bool, Int64}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:877 [inlined] [8] run_migrations(url::String, version::Int64, log_level::Int64; force::Bool) @ SpineOpt ~/.julia/packages/SpineOpt/uADJP/src/data_structure/migration.jl:116 [inlined] [9] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/uADJP/src/data_structure/migration.jl:115 [10] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:61 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:63 [inlined] 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:618 [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 [inlined] [6] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#577#578"{Bool, Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:929 [7] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#577#578"{Bool, Int64}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:920 [inlined] [8] without_filters(f::SpineOpt.var"#577#578"{Bool, Int64}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/0BM0R/src/api/db.jl:877 [inlined] [9] run_migrations(url::String, version::Int64, log_level::Int64; force::Bool) @ SpineOpt ~/.julia/packages/SpineOpt/uADJP/src/data_structure/migration.jl:116 [inlined] [10] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/uADJP/src/data_structure/migration.jl:115 [11] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:61 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:63 [inlined] successful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:133 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:132 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:107 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:133 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:132 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:107 unsuccessful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:145 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:142 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:107 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:145 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:142 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:107 rename_model_types: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:168 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:153 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:168 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:153 translate_ramp_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:203 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:180 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:203 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:180 remove_model_tb_ss: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:225 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:216 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:225 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:216 update_investment_variable_type: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:256 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:237 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:256 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:237 add_model_algorithm: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:289 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:273 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:289 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:273 rename_lifetime_to_tech_lifetime: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:318 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:303 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:318 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:303 translate_heatrate_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:349 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [9] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:332 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:349 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:332 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:385 migration scripts: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [8] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:431 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:616 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:625 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:373 [9] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:431 [10] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:616 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/migration.jl:625 [inlined] check data structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_data_structure.jl:22 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_data_structure.jl:23 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_data_structure.jl:22 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_data_structure.jl:23 [inlined] test discounted duration - using milestone years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:230 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:230 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:230 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:230 test discounted duration - using consecutive years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:276 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:276 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:276 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:276 test investment costs, salvage fraction, capacity transfer factor, decommissioning: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:331 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:331 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:331 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:331 test technological discount factor, investment costs, salvage fraction: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:381 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:381 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:381 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:381 test rolling error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:418 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:418 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:418 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:418 test Benders error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:444 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:444 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:444 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:444 test no investment temporal block error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:224 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:470 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:470 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:224 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:470 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:470 test saving outputs: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:183 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:497 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:497 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:183 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:497 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/check_economic_structure.jl:497 process_lossless_bidirectional_connections: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:21 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:31 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:21 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:31 [inlined] expand groups: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:50 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:72 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:50 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:72 [inlined] lossless_bidirectional_capacities: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:180 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:91 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/preprocess_data_structure.jl:91 representative_time_slice: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:87 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:87 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:87 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:87 zero_resolution: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:148 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:148 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:148 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:148 block_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:163 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_block_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:163 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:163 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_block_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:163 block_end: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_block_end() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:193 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_block_end() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:193 one_two_four_even: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:223 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:223 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:223 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:223 two_three_uneven: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:301 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:301 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:301 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:301 gaps: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:354 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_gaps() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:354 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:354 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_gaps() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:354 to_time_slice with rolling: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:421 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:421 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:421 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:421 history: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:448 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_history() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:448 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:448 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_history() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:448 master_temporal_structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:479 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:479 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:479 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:479 subwindows: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:513 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:513 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:513 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:513 discontinuity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:60 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:60 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:60 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/temporal_structure.jl:60 stochastic structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _load_stochastic_structure_test_data() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:157 [9] _test_stochastic_structure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:162 [10] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:309 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:309 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _load_stochastic_structure_test_data() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:157 [10] _test_stochastic_structure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:162 [11] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:309 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/stochastic_structure.jl:309 [inlined] save_connection_avg_throughflow_unidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:78 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:78 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:78 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:78 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_a: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:91 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:91 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:91 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:91 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_b: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:108 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:108 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:108 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:108 save_connection_avg_throughflow_bidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:124 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:124 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:124 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:124 save_contingency_is_binding: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:222 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:228 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:228 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:222 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:228 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/uADJP/test/data_structure/postprocess_results.jl:228 expression_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:105 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:111 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:111 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:105 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:111 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/uADJP/test/expressions/expression.jl:111 constraint_units_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:126 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:126 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:126 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:126 constraint_units_available_units_unavailable: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:163 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:163 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:163 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:163 constraint_units_available_units_unavailable_default: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:200 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:200 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:200 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:200 constraint_unit_state_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:241 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:241 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:241 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:241 constraint_unit_flow_capacity_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:311 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:311 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:311 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:311 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:382 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:379 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:367 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:471 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:470 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:462 constraint_minimum_operating_point_online_variable_type_none: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:560 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:538 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:560 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:538 constraint_operating_point_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:734 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:734 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:734 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:734 constraint_operating_point_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:779 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:779 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:779 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:779 constraint_unit_flow_op_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:827 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:827 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:827 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:827 constraint_unit_flow_op_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:896 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:896 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:896 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:896 constraint_unit_flow_op_sum: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:957 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:957 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:957 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:957 (p, a, b) = ("min", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("fix", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("max", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("min", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("fix", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("max", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("min", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("fix", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("max", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("min", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("fix", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a, b) = ("max", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1023 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1009 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:986 (p, a) = ("min", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 (p, a) = ("min", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 (p, a) = ("max", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 (p, a) = ("max", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1105 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1096 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1153 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1152 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1151 outage_scheduled_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 outage_scheduled_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 outage_scheduled_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1199 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1198 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1197 outage_scheduled_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 outage_scheduled_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 outage_scheduled_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1249 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1248 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1286 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1285 min_down_minutes = 45: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1345 min_down_minutes = 90: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1406 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1405 constraint_units_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1478 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1478 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1478 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1478 constraint_units_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1505 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1505 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1505 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1505 constraint_units_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1535 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1535 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1535 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1535 constraint_units_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1572 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1572 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1572 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1572 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1615 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1614 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1612 constraint_unit_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1672 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1668 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1672 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1668 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1728 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1727 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1725 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1796 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1795 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1781 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1904 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1903 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1889 constraint_non_spinning_reserves_lower_bound: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:616 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:616 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:616 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:616 limit_name = ramp_limits_startup: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:677 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:677 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 limit_name = ramp_limits_shutdown: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:677 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:677 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:672 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1998 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:1997 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2061 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2060 constraint_ratio_unit_flow_fix_ratio_pw: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2129 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2129 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2129 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2129 constraint_ratio_unit_flow_fix_ratio_pw_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2179 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2179 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2179 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2179 constraint_ratio_unit_flow_fix_ratio_pw_simple2: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2224 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2224 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2224 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_unit.jl:2224 constraint_nodal_balance: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:101 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:101 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:101 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:101 constraint_nodal_balance_group: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:144 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:144 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:144 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:144 constraint_node_injection: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:181 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:181 constraint_cyclic_node_state: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:316 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:316 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:316 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:316 constraint_storage_line_pack: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:360 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:360 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:360 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:360 constraint_compression_ratio: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:431 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:431 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:431 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:431 constraint_min_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:484 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:484 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:484 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:484 constraint_max_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:521 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:521 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:521 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:521 constraint_min_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:558 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:558 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:558 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:558 constraint_max_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:595 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:595 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:595 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:595 constraint_min_node_state_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:632 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:632 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:632 constraint_node_state_capacity_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:681 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:681 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:681 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:681 constraint_storages_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:721 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:721 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:721 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:721 constraint_storages_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:753 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:753 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:753 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:753 constraint_storages_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:786 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:786 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:786 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:786 constraint_storages_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:828 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:828 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:828 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:828 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:876 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:875 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:871 constraint_storage_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:940 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:934 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:940 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:934 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:999 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:998 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:995 constraint_min_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1054 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1054 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1054 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1054 constraint_capacity_margin_penalty: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1092 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1092 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1092 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1092 constraint_node_injection_free_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1135 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_node_injection_free_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1135 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1135 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_node_injection_free_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1135 constraint_cyclic_node_state_free_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1189 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1190 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_cyclic_node_state_free_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1190 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1190 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_cyclic_node_state_free_start() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_node.jl:1190 constraint_connection_flow_capacity_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:92 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:93 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:93 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:93 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:93 constraint_connection_flow_capacity_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:132 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:133 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:133 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:133 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:133 constraint_connection_flow_capacity_bidirectional_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:178 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:180 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:180 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:180 constraint_connection_flow_capacity_bidirectional_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:231 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:232 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:232 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:232 constraint_connection_flow_gas_capacity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:286 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:287 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:287 constraint_fix_node_pressure_point: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:342 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:343 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:343 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:343 constraint_connection_unitary_gas_flow: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:436 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:437 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:437 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:437 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:437 constraint_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:491 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:492 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:492 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:492 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:492 constraint_connection_intact_flow_ptdf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:553 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:554 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:554 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:554 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:554 constraint_connection_flow_lodf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:635 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:636 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:636 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:636 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:636 contraints_ptdf_lodf_duration: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:780 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:781 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:781 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:781 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:781 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:887 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:886 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:874 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:950 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:949 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:945 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:935 constraint_connections_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1006 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1007 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connections_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1007 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1007 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connections_invested_transition() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1007 constraint_connections_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1044 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1045 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connections_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1045 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1045 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connections_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1045 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1089 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1088 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1086 constraint_connection_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1141 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1146 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1142 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1146 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1142 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1202 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1201 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_connection_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1199 constraint_connections_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1255 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1256 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connections_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1256 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1256 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connections_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1256 constraint_connections_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1282 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1283 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connections_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1283 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1283 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connections_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1283 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1314 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [14] test_constraint_user_constraint_node_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1313 constraint_connection_flow_intact_flow: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1391 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1392 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_flow_intact_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1392 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1392 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_flow_intact_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1392 constraint_candidate_connection_lb: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1484 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1485 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_candidate_connection_lb() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1485 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1485 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_candidate_connection_lb() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1485 constraint_ratio_out_in_connection_intact_flow: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1590 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1591 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_ratio_out_in_connection_intact_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1591 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1591 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_ratio_out_in_connection_intact_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1591 constraint_candidate_connection_ub: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1715 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1716 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_candidate_connection_ub() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1716 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1716 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_candidate_connection_ub() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1716 constraint_connection_min_flow_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1816 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1817 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_min_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1817 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1817 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_min_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1817 constraint_connection_min_flow_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1861 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1862 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_min_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1862 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1862 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_min_flow() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1862 constraint_connection_min_flow_bidirectional_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1910 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1912 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_min_flow_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1912 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1912 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_min_flow_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1912 constraint_connection_min_flow_bidirectional_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1967 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1968 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_constraint_connection_min_flow_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1968 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1968 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_constraint_connection_min_flow_bidirectional() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_connection.jl:1968 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:99 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:100 [inlined] sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:232 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:233 [inlined] sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:294 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:297 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:298 [inlined] sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:23 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:343 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:346 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2328 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:347 [inlined] representative period user constraints: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:492 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_representative_period_user_constraint_indices(; with_investment::Bool) @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:469 [9] _test_representative_period_user_constraint_indices() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:467 [10] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:493 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:493 [inlined] 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_representative_period_user_constraint_indices(; with_investment::Bool) @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:469 [10] _test_representative_period_user_constraint_indices() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:467 [11] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:493 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:493 [inlined] constraint_user_constraint_must_run: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:540 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:541 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:541 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:498 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:541 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:541 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_user_constraint.jl:498 equal_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:101 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:102 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_equal_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:102 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:102 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_equal_investments() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:102 min_max_entities_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:132 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_min_max_entities_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:132 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:132 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_min_max_entities_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:132 min_max_capacity_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:166 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:167 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] _test_min_max_capacity_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:167 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_constraint_investment_group_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:96 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:167 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] _test_min_max_capacity_invested_available() @ Main ~/.julia/packages/SpineOpt/uADJP/test/constraints/constraint_investment_group.jl:167 fom_cost (unit) case 1a: non-investable, no existing_units defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:89 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:89 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:89 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:89 fom_cost (unit) case 1b: non-investable, existing_units defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:118 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:119 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:119 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:119 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:119 fom_cost (unit) case 2a: investable, no existing_units defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:150 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:151 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:151 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:151 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:151 fom_cost (unit) case 2b: investable, existing_units defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:191 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:192 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:192 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:192 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fom_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:192 fixed_annual_cost (connection) case 1a: non-investable, no existing_connections defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:243 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:244 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:244 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:244 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:244 fixed_annual_cost (connection) case 1b: non-investable, existing_connections defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:271 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:272 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:272 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:272 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:272 fixed_annual_cost (connection) case 2a: investable, no existing_connections defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:301 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:301 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:301 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:301 fixed_annual_cost (connection) case 2b: investable, existing_connections defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:339 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:340 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:340 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:340 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_fixed_annual_cost_of_connection() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:340 storage_fixed_annual_cost case 1a: non-investable, no existing_storages defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:390 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:391 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_storage_fixed_annual_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:391 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:391 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_storage_fixed_annual_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:391 storage_fixed_annual_cost case 1b: non-investable, existing_storages defined: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:419 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [8] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [9] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:420 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [11] test_storage_fixed_annual_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:420 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:618 [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 [inlined] [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/uADJP/test/runtests.jl:66 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/uADJP/test/runtests.jl:61 [9] _test_objective_setup() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:72 [10] macro expansion @ ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:420 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [12] test_storage_fixed_annual_cost() @ Main ~/.julia/packages/SpineOpt/uADJP/test/objective/objective.jl:420 storage_fixed_annual_cost case 2a: investable, no existing_storages defined: Error During Test at /home/pkgeva PkgEval terminated after 803.06s: test log exceeded the size limit