Package evaluation of SpineOpt on Julia 1.10.9 (96dc2d8c45*) started at 2025-06-06T20:33:06.845 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.07s ################################################################################ # Installation # Installing SpineOpt... Resolving package versions... Installed Conda ── v1.10.2 Installed PyCall ─ v1.96.4 Updating `~/.julia/environments/v1.10/Project.toml` [0d8fc150] + SpineOpt v0.10.2 Updating `~/.julia/environments/v1.10/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [69666777] + Arrow v2.8.0 [31f734f8] + ArrowTypes v2.3.0 [6e4b80f9] + BenchmarkTools v1.6.0 [c3b6d118] + BitIntegers v0.3.5 [523fee87] + CodecBzip2 v0.8.5 [5ba52731] + CodecLz4 v0.4.6 [944b1d66] + CodecZlib v0.7.8 [6b39b394] + CodecZstd v0.8.6 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [f0e56b4a] + ConcurrentUtilities v2.5.0 [8f4d0f93] + Conda v1.10.2 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [31c24e10] + Distributions v0.25.120 [ffbed154] + DocStringExtensions v0.9.4 [4e289a0a] + EnumX v1.0.5 [e2ba6199] + ExprTools v0.1.10 [1a297f60] + FillArrays v1.13.0 [f6369f11] + ForwardDiff v1.0.1 [87dc4568] + HiGHS v1.18.0 [34004b35] + HypergeometricFunctions v0.3.28 [842dd82b] + InlineStrings v1.4.3 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [0f8b85d8] + JSON3 v1.14.3 [4076af6c] + JuMP v1.26.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [b8f27783] + MathOptInterface v1.40.2 [e1d29d7a] + Missings v1.2.0 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.6.4 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.35 [69de0a69] + Parsers v2.8.3 [2dfb63ee] + PooledArrays v1.4.3 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [43287f4e] + PtrArrays v1.3.0 [438e738f] + PyCall v1.96.4 [1fd47b50] + QuadGK v2.11.2 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.8.0 [6c6a2e73] + Scratch v1.2.1 [91c51154] + SentinelArrays v1.4.8 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.1 [0cda1612] + SpineInterface v0.15.2 [0d8fc150] + SpineOpt v0.10.2 [1e83bf80] + StaticArraysCore v1.4.3 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.5 [4c63d2b9] + StatsFuns v1.5.0 [354b36f9] + StringViews v1.3.4 [856f2bd8] + StructTypes v1.11.0 [dc5dba14] + TZJData v1.5.0+2025b [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [f269a46b] + TimeZones v1.21.3 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.5.2 [81def892] + VersionParsing v1.3.0 [6e34b625] + Bzip2_jll v1.0.9+0 [8fd58aa0] + HiGHS_jll v1.11.0+0 [5ced341a] + Lz4_jll v1.10.1+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [3161d3a3] + Zstd_jll v1.5.7+1 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [9fa8497b] + Future [b77e0a4c] + InteractiveUtils [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf [9abbd945] + Profile [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+4 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 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/b19db3927f0db4151cb86d073689f2428e524576/build.log` Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Installation completed after 66.24s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 48.31s ################################################################################ # Testing # Testing SpineOpt Status `/tmp/jl_7WJTF4/Project.toml` [8bb1440f] DelimitedFiles v1.9.1 [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.26.0 [b8f27783] MathOptInterface v1.40.2 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.15.2 [0d8fc150] SpineOpt v0.10.2 [ade2ca70] Dates [56ddb016] Logging [44cfe95a] Pkg v1.10.0 [8dfed614] Test Status `/tmp/jl_7WJTF4/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [69666777] Arrow v2.8.0 [31f734f8] ArrowTypes v2.3.0 [6e4b80f9] BenchmarkTools v1.6.0 [c3b6d118] BitIntegers v0.3.5 [523fee87] CodecBzip2 v0.8.5 [5ba52731] CodecLz4 v0.4.6 [944b1d66] CodecZlib v0.7.8 [6b39b394] CodecZstd v0.8.6 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [f0e56b4a] ConcurrentUtilities v2.5.0 [8f4d0f93] Conda v1.10.2 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [31c24e10] Distributions v0.25.120 [ffbed154] DocStringExtensions v0.9.4 [4e289a0a] EnumX v1.0.5 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.13.0 [f6369f11] ForwardDiff v1.0.1 [87dc4568] HiGHS v1.18.0 [34004b35] HypergeometricFunctions v0.3.28 [842dd82b] InlineStrings v1.4.3 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.3 [4076af6c] JuMP v1.26.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [b8f27783] MathOptInterface v1.40.2 [e1d29d7a] Missings v1.2.0 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.6.4 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.35 [69de0a69] Parsers v2.8.3 [2dfb63ee] PooledArrays v1.4.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [438e738f] PyCall v1.96.4 [1fd47b50] QuadGK v2.11.2 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.8.0 [6c6a2e73] Scratch v1.2.1 [91c51154] SentinelArrays v1.4.8 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.1 [0cda1612] SpineInterface v0.15.2 [0d8fc150] SpineOpt v0.10.2 [1e83bf80] StaticArraysCore v1.4.3 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.5 [4c63d2b9] StatsFuns v1.5.0 [354b36f9] StringViews v1.3.4 [856f2bd8] StructTypes v1.11.0 [dc5dba14] TZJData v1.5.0+2025b [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [f269a46b] TimeZones v1.21.3 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.5.2 [81def892] VersionParsing v1.3.0 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.11.0+0 [5ced341a] Lz4_jll v1.10.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [3161d3a3] Zstd_jll v1.5.7+1 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [9fa8497b] Future [b77e0a4c] InteractiveUtils [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [9abbd945] Profile [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [4536629a] OpenBLAS_jll v0.3.23+4 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.2.1+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... WARNING: using JuMP.parameter_value in module SpineInterface conflicts with an existing identifier. WARNING: using JuMP.Parameter in module SpineInterface conflicts with an existing identifier. find_version: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:21 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:25 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [8] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:22 [9] include(fname::String) @ Base.MainInclude ./client.jl:494 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] top-level scope @ none:6 [15] eval @ ./boot.jl:385 [inlined] [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [17] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:25 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:22 [10] include(fname::String) @ Base.MainInclude ./client.jl:494 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] top-level scope @ none:6 [16] eval @ ./boot.jl:385 [inlined] [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [18] _start() @ Base ./client.jl:557 run_migrations: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:60 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] _db(f::SpineInterface.var"#181#182"{SpineOpt.var"#640#641"{Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:550 [6] _db @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:541 [inlined] [7] without_filters @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:498 [inlined] [8] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/HEhN7/src/data_structure/migration.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:63 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:61 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] _db(f::SpineInterface.var"#181#182"{SpineOpt.var"#640#641"{Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:550 [7] _db @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:541 [inlined] [8] without_filters @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:498 [inlined] [9] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/HEhN7/src/data_structure/migration.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:63 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:61 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 successful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:109 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:111 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:110 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:85 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:340 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:111 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:110 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:85 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:340 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 unsuccessful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:119 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:123 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:120 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:85 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:340 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:123 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:120 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:85 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:340 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 rename_model_types: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:130 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:146 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:131 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:341 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:146 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:131 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:341 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 translate_ramp_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:157 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:181 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:158 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:342 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:181 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:158 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:342 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 remove_model_tb_ss: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:193 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:203 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:194 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:203 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:194 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:343 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 update_investment_variable_type: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:214 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:234 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:215 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:344 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:234 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:215 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:344 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 add_model_algorithm: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:250 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:267 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:251 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:345 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:267 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:251 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:345 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 rename_lifetime_to_tech_lifetime: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:280 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:296 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:281 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:346 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:296 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:281 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 translate_heatrate_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:309 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:327 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [9] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:310 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:347 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [13] include(fname::String) @ Base.MainInclude ./client.jl:494 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:385 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:327 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:310 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:347 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/migration.jl:339 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 check data structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_data_structure.jl:21 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_data_structure.jl:23 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_data_structure.jl:22 [11] include(fname::String) @ Base.MainInclude ./client.jl:494 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:158 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_data_structure.jl:23 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_data_structure.jl:22 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:158 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 test discounted duration - using milestone years, w/o inv. blocks: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:189 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:189 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:189 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:189 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test discounted duration - w/o using milestone years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:232 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:233 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:233 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:233 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test investment costs, salvage fraction, capacity transfer factor, decommissioning: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:250 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:251 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:251 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:251 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:251 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test technological discount factor, investment costs, salvage fraction: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:299 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:300 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:300 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:300 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:300 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test rolling error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:334 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:335 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:335 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:335 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test Benders error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:358 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:359 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:359 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:359 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:359 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 test saving outputs: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:382 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] test_data_minimal_feasible_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:183 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:383 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:383 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [14] include(fname::String) @ Base.MainInclude ./client.jl:494 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:385 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] test_data_minimal_feasible_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:183 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:383 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:383 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/check_economic_structure.jl:188 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:159 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 process_lossless_bidirectional_connections: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:20 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:31 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:21 [11] include(fname::String) @ Base.MainInclude ./client.jl:494 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:31 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:21 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 expand groups: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:49 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:72 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:50 [11] include(fname::String) @ Base.MainInclude ./client.jl:494 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:72 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:50 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 lossless_bidirectional_capacities: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:90 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:180 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:91 [11] include(fname::String) @ Base.MainInclude ./client.jl:494 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/preprocess_data_structure.jl:91 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:160 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 representative_time_slice: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:57 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:58 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:58 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:58 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:58 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 zero_resolution: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:116 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:117 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:117 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:482 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:117 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:117 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:482 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 block_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:131 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:132 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_block_start() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:132 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:483 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:132 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_block_start() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:132 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:483 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 block_end: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:161 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:162 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_block_end() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:162 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:484 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:162 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_block_end() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:162 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:484 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 one_two_four_even: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:191 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:192 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:192 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:485 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:192 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:192 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:485 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 two_three_uneven: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:269 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:270 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:270 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:486 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:270 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:270 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:486 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 gaps: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:322 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:323 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_gaps() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:323 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:487 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:323 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_gaps() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:323 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:487 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 to_time_slice with rolling: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:389 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:390 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:390 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:488 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:390 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:390 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:488 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 history: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:416 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:417 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_history() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:417 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:489 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:417 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_history() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:417 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:489 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 master_temporal_structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:447 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:448 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:448 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:490 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:52 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:448 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:448 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:490 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/temporal_structure.jl:481 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:161 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 stochastic structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/stochastic_structure.jl:21 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/stochastic_structure.jl:157 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/stochastic_structure.jl:22 [11] include(fname::String) @ Base.MainInclude ./client.jl:494 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:162 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/stochastic_structure.jl:157 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/stochastic_structure.jl:22 [12] include(fname::String) @ Base.MainInclude ./client.jl:494 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:162 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:385 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:557 save_connection_avg_throughflow_unidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:76 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:78 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:78 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:78 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:78 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_a: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:88 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:91 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:91 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:91 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:91 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_b: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:105 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:108 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:108 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:108 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:108 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 save_connection_avg_throughflow_bidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:122 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:124 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:124 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:124 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:124 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 save_contingency_is_binding: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:227 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:222 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:228 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:228 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:336 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:222 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:228 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:228 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:336 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/data_structure/postprocess_results.jl:335 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 expression_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:110 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:105 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:111 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:111 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:168 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:168 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:105 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:111 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:111 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:168 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/expressions/expression.jl:168 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:125 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:126 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:126 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:126 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:126 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_available_units_unavailable: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:161 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:162 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:162 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2100 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:162 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:162 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2100 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_available_units_unavailable_default: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:196 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:197 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:197 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2100 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:197 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:197 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2100 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_unit_state_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:233 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:234 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:234 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2101 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:234 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:234 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2101 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:320 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:319 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:316 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:304 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2102 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [25] include(fname::String) @ Base.MainInclude ./client.jl:494 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:385 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:557 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:409 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:408 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:400 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2103 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 constraint_operating_point_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:596 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:597 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:597 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2104 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:597 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:597 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2104 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_operating_point_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:641 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:642 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:642 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2105 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:642 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:642 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2105 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_unit_flow_op_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:689 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:690 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:690 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2106 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:690 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:690 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2106 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_unit_flow_op_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:758 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:759 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:759 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2107 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:759 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:759 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2107 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_unit_flow_op_sum: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:819 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:820 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:820 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2108 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:820 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:820 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2108 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 (p, a, b) = ("min", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("fix", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("max", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("min", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("fix", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("max", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("min", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("fix", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("max", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("min", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("fix", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a, b) = ("max", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:870 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:856 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:849 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a) = ("min", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a) = ("min", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a) = ("max", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (p, a) = ("max", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:947 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:941 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:938 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:989 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:988 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:987 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1035 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1034 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1033 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1086 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1085 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1084 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1123 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1122 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1121 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 45: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1183 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1182 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1181 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 90: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1243 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1242 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1241 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2116 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 constraint_units_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1313 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1314 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1314 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2117 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1314 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1314 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2117 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1340 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1341 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1341 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2118 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1341 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1341 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2118 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1370 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1371 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1371 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2119 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1371 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1371 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2119 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_units_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1407 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1408 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1408 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2120 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1408 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1408 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2120 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1451 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1450 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1448 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2121 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 constraint_unit_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1503 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1508 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1504 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2122 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1508 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1504 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2122 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1564 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1563 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1561 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1632 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1631 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1617 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1738 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1737 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1723 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2125 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 constraint_non_spinning_reserves_lower_bound: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:478 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:479 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:479 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2126 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:479 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:479 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2126 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 limit_name = start_up_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:540 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2127 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:540 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2127 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 limit_name = shut_down_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:540 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2127 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:540 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:535 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2127 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1830 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1829 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1893 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1892 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2129 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 constraint_ratio_unit_flow_fix_ratio_pw: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1960 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1961 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1961 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2130 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1961 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:1961 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2130 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_ratio_unit_flow_fix_ratio_pw_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2011 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2012 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2012 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2131 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2012 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2012 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2131 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_ratio_unit_flow_fix_ratio_pw_simple2: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2057 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2058 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2058 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2132 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2058 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2058 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2132 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_unit.jl:2099 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_nodal_balance: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:100 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:101 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:101 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:101 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:101 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_nodal_balance_group: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:143 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:144 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:144 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1053 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:144 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:144 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1053 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_node_injection: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:180 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:181 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1054 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:181 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1054 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_cyclic_node_state: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:315 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:316 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:316 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1055 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:316 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:316 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1055 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_storage_line_pack: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:359 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:360 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:360 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1056 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:360 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:360 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1056 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_compression_ratio: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:426 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:427 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:427 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1057 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:427 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:427 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1057 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_min_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:475 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:476 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:476 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1058 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:476 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:476 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1058 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_max_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:506 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:507 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:507 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1059 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:507 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:507 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1059 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_min_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:537 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:538 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:538 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:538 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:538 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1060 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_max_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:568 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:569 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:569 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1061 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:569 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:569 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1061 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_node_state_capacity_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:599 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:600 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:600 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1062 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:600 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:600 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1062 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_storages_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:637 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:638 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:638 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1063 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:638 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:638 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1063 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_storages_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:669 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:670 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:670 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1064 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:670 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:670 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1064 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_storages_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:702 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:703 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:703 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1065 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:703 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:703 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1065 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_storages_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:744 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:745 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:745 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1066 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:745 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:745 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1066 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:793 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:792 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:788 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1067 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 constraint_storage_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:850 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:857 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:851 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1068 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:857 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:851 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1068 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:916 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:915 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:912 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1069 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 constraint_min_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:970 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:971 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:971 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1070 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:971 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:971 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1070 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_min_capacity_margin_penalty: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1008 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1009 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_min_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1009 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1071 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1009 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_min_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1009 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1071 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_node.jl:1052 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_capacity_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:92 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:93 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:93 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:93 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:93 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_capacity_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:132 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:133 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:133 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:133 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:133 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_capacity_bidirectional_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:178 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:180 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1811 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:180 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:180 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1811 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_capacity_bidirectional_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:231 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:232 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:232 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1811 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:232 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1811 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_gas_capacity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:286 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:287 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:287 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1812 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:287 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:287 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1812 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_fix_node_pressure_point: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:342 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:343 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:343 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1813 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:343 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1813 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_unitary_gas_flow: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:432 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:433 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:433 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1814 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:433 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:433 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1814 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:487 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:488 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:488 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1815 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:488 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:488 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1815 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_intact_flow_ptdf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:547 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:548 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:548 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1816 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:548 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:548 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1816 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 constraint_connection_flow_lodf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:629 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:630 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:630 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1817 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:630 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:630 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1817 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 contraints_ptdf_lodf_duration: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:774 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:775 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [11] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:775 [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1818 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:385 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:775 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [12] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:775 [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1818 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [16] include(fname::String) @ Base.MainInclude ./client.jl:494 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:385 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:557 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [17] include(fname::String) @ Base.MainInclude ./client.jl:494 [18] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [21] include(fname::String) @ Base.MainInclude ./client.jl:494 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:385 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:881 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:880 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:868 [15] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:603 [3] eval @ ./boot.jl:385 [inlined] [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [5] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [17] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [20] include(fname::String) @ Base.MainInclude ./client.jl:494 [21] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:385 [inlined] [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:600 [4] _create_db_handler @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:560 [inlined] [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:531 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:63 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:58 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:944 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:943 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1669 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:939 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:929 [16] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1819 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/constraints/constraint_connection.jl:1810 [19] include(fname::String) @ Base.MainInclude ./client.jl:494 [20] macro expansion @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:167 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/HEhN7/test/runtests.jl:157 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:385 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:557 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not PkgEval terminated after 464.97s: test log exceeded the size limit