Package evaluation of SpineOpt on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T18:21:17.168 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.99s ################################################################################ # Installation # Installing SpineOpt... Resolving package versions... Installed Conda ── v1.10.2 Installed PyCall ─ v1.96.4 Updating `~/.julia/environments/v1.11/Project.toml` [0d8fc150] + SpineOpt v0.10.1 Updating `~/.julia/environments/v1.11/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.118 [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.15.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.2 [4076af6c] + JuMP v1.25.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [b8f27783] + MathOptInterface v1.38.1 [e1d29d7a] + Missings v1.2.0 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.6.4 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.0 [90014a1f] + PDMats v0.11.33 [69de0a69] + Parsers v2.8.1 [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.0 [0cda1612] + SpineInterface v0.15.2 [0d8fc150] + SpineOpt v0.10.1 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.4 [4c63d2b9] + StatsFuns v1.4.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.0 [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.10.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.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf v1.11.0 [9abbd945] + Profile v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.6.0+0 [e37daf67] + LibGit2_jll v1.7.2+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [4536629a] + OpenBLAS_jll v0.3.27+1 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.59.0+0 [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 71.39s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 73.86s ################################################################################ # Testing # Testing SpineOpt Status `/tmp/jl_AiyJWD/Project.toml` [8bb1440f] DelimitedFiles v1.9.1 [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.25.0 [b8f27783] MathOptInterface v1.38.1 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.15.2 [0d8fc150] SpineOpt v0.10.1 [ade2ca70] Dates v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_AiyJWD/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.118 [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.15.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.2 [4076af6c] JuMP v1.25.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [b8f27783] MathOptInterface v1.38.1 [e1d29d7a] Missings v1.2.0 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.6.4 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.0 [90014a1f] PDMats v0.11.33 [69de0a69] Parsers v2.8.1 [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.0 [0cda1612] SpineInterface v0.15.2 [0d8fc150] SpineOpt v0.10.1 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 [4c63d2b9] StatsFuns v1.4.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.0 [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.10.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.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [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/NSnjR/test/data_structure/migration.jl:20 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/data_structure/migration.jl:24 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:21 [9] include(fname::String) @ Main ./sysimg.jl:38 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] top-level scope @ none:6 [15] eval @ ./boot.jl:430 [inlined] [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [17] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/data_structure/migration.jl:24 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:21 [10] include(fname::String) @ Main ./sysimg.jl:38 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] top-level scope @ none:6 [16] eval @ ./boot.jl:430 [inlined] [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [18] _start() @ Base ./client.jl:531 run_migrations: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:59 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/src/data_structure/migration.jl:79 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:62 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:60 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/src/data_structure/migration.jl:79 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:62 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:60 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 successful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:108 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:110 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:109 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:84 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:339 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:110 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:109 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:84 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:339 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 unsuccessful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:118 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:122 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:119 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:84 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:339 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:122 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:119 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:84 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:339 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 rename_model_types: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:129 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:145 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:130 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:340 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:145 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:130 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:340 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 translate_ramp_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:156 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:180 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:157 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:341 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:180 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:157 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:341 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 remove_model_tb_ss: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:192 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:202 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:193 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:342 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:202 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:193 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:342 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 update_investment_variable_type: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:213 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:233 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:214 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:343 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:233 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:214 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:343 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 add_model_algorithm: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:249 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:266 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:250 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:344 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:266 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:250 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:344 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 rename_lifetime_to_tech_lifetime: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:279 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:295 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:280 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:345 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:295 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:280 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:345 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 translate_heatrate_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:308 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:326 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:309 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:346 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] top-level scope @ none:6 [19] eval @ ./boot.jl:430 [inlined] [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [21] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:326 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:309 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:346 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/migration.jl:338 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 check data structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_data_structure.jl:20 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_data_structure.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_data_structure.jl:21 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:157 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_data_structure.jl:22 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_data_structure.jl:21 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:157 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 test discounted duration - using milestone years, w/o inv. blocks: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:188 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:188 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:188 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:188 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test discounted duration - w/o using milestone years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:231 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:232 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:232 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:232 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:232 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test investment costs, salvage fraction, capacity transfer factor, decommissioning: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:249 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:250 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:250 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:250 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:250 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test technological discount factor, investment costs, salvage fraction: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:298 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:299 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:299 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:299 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:299 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test rolling error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:333 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:334 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:334 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:334 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:334 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test Benders error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:357 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:358 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:358 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:137 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:358 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:358 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 test saving outputs: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:381 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] test_data_minimal_feasible_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:182 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:382 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:382 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [14] include(fname::String) @ Main ./sysimg.jl:38 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] top-level scope @ none:6 [20] eval @ ./boot.jl:430 [inlined] [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [22] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] test_data_minimal_feasible_example_economic_representation() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:182 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:382 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:382 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/check_economic_structure.jl:187 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:158 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 process_lossless_bidirectional_connections: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:19 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:30 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:20 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:30 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:20 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 expand groups: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:48 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:71 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:49 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:71 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:49 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 lossless_bidirectional_capacities: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:89 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:179 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:90 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:179 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/preprocess_data_structure.jl:90 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:159 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 representative_time_slice: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:56 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:57 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:57 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:57 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:57 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 zero_resolution: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:115 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:116 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:116 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:481 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:116 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:116 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:481 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 block_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:130 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:131 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_block_start() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:131 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:482 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:131 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_block_start() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:131 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:482 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 block_end: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:160 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:161 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_block_end() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:161 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:483 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:161 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_block_end() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:161 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:483 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 one_two_four_even: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:190 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:191 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:191 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:484 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:191 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:191 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:484 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 two_three_uneven: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:268 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:269 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:269 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:485 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:269 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:269 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:485 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 gaps: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:321 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:322 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_gaps() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:322 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:486 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:322 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_gaps() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:322 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:486 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 to_time_slice with rolling: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:388 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:389 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:389 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:487 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:389 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:389 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:487 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 history: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:415 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:416 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_history() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:416 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:488 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:416 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_history() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:416 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:488 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 master_temporal_structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:446 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:447 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:447 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:489 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:447 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:447 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:489 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/temporal_structure.jl:480 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:160 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 stochastic structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/stochastic_structure.jl:20 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/stochastic_structure.jl:156 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/stochastic_structure.jl:21 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:161 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/stochastic_structure.jl:156 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/stochastic_structure.jl:21 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:161 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] top-level scope @ none:6 [18] eval @ ./boot.jl:430 [inlined] [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [20] _start() @ Base ./client.jl:531 save_connection_avg_throughflow_unidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:75 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:77 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:77 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:77 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:77 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_a: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:87 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:90 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:90 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:90 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:90 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_b: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:104 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:107 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:107 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:107 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:107 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 save_connection_avg_throughflow_bidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:121 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:123 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:123 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:70 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:123 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:123 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 save_contingency_is_binding: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:226 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:221 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:227 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:227 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:335 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:221 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:227 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:227 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:335 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/data_structure/postprocess_results.jl:334 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:162 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 expression_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:109 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:104 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:110 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:110 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:167 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:167 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:163 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:104 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:110 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:110 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:167 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/expressions/expression.jl:167 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:163 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:124 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:125 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:125 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:125 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:125 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_available_units_unavailable: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:160 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:161 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:161 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:161 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:161 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2099 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_available_units_unavailable_default: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:195 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:196 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:196 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2099 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:196 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:196 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2099 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_unit_state_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:232 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:233 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:233 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2100 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:233 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:233 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2100 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:319 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:318 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:315 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] test_constraint_unit_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:303 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2101 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [24] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [25] include(fname::String) @ Main ./sysimg.jl:38 [26] top-level scope @ none:6 [27] eval @ ./boot.jl:430 [inlined] [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [29] _start() @ Base ./client.jl:531 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:408 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:407 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:399 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2102 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 constraint_operating_point_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:595 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:596 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:596 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2103 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:596 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:596 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2103 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_operating_point_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:640 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:641 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:641 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2104 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:641 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:641 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2104 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_unit_flow_op_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:688 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:689 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:689 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2105 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:689 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:689 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2105 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_unit_flow_op_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:757 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:758 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:758 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2106 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:758 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:758 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2106 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_unit_flow_op_sum: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:818 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:819 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:819 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2107 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:819 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:819 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2107 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 (p, a, b) = ("min", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("fix", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("max", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("min", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("fix", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("max", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("min", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("fix", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("max", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("min", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("fix", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a, b) = ("max", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:869 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:855 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:848 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2108 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a) = ("min", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a) = ("min", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a) = ("max", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (p, a) = ("max", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:946 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:940 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:937 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2109 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:988 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:987 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:986 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2110 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1034 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1033 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1032 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2111 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1085 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1084 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1083 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2112 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1122 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1121 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1120 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2113 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 45: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1182 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1181 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1180 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2114 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 90: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1242 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1241 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1240 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2115 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 constraint_units_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1312 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1313 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1313 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2116 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1313 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1313 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2116 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1339 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1340 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1340 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2117 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1340 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1340 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2117 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1369 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1370 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1370 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2118 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1370 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1370 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2118 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_units_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1406 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1407 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1407 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2119 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1407 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1407 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2119 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1450 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1449 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1447 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2120 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 constraint_unit_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1502 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1507 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1503 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2121 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1507 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1503 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2121 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1563 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1562 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1560 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2122 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1631 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1630 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1616 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2123 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1737 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1736 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1722 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2124 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 constraint_non_spinning_reserves_lower_bound: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:477 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:478 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:478 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2125 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:478 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:478 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2125 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 limit_name = start_up_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:539 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2126 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:539 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2126 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 limit_name = shut_down_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:539 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2126 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:112 [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:539 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:534 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2126 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1829 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1828 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2127 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1892 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1891 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2128 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 constraint_ratio_unit_flow_fix_ratio_pw: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1959 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1960 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1960 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2129 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1960 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:1960 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2129 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_ratio_unit_flow_fix_ratio_pw_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2010 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2011 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2011 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2130 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2011 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2011 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2130 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_ratio_unit_flow_fix_ratio_pw_simple2: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2056 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2057 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2057 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2131 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:87 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2057 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2057 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2131 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_unit.jl:2098 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:164 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_nodal_balance: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:99 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:100 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:100 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:100 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:100 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_nodal_balance_group: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:142 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:143 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:143 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1052 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:143 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:143 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1052 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_node_injection: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:179 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:192 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:180 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1053 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:192 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:180 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1053 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_cyclic_node_state: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:314 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:315 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:315 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1054 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:315 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:315 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1054 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_storage_line_pack: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:358 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:359 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:359 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1055 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:359 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:359 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1055 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_compression_ratio: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:425 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:426 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:426 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1056 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:426 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:426 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1056 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_min_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:474 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:475 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:475 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1057 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:475 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:475 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1057 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_max_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:505 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:506 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:506 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1058 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:506 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:506 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1058 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_min_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:536 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:537 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:537 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1059 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:537 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:537 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1059 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_max_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:567 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:568 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:568 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1060 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:568 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:568 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1060 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_node_state_capacity_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:598 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:599 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:599 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1061 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:599 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:599 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1061 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_storages_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:636 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:637 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:637 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1062 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:637 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:637 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1062 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_storages_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:668 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:669 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:669 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1063 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:669 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:669 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1063 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_storages_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:701 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:702 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:702 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1064 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:702 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:702 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1064 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_storages_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:743 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:744 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:744 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1065 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:744 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:744 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1065 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:792 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:791 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:787 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1066 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 constraint_storage_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:849 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:856 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:850 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1067 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:856 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_storage_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:850 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1067 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:915 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:914 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_storage_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:911 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1068 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 constraint_min_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:969 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:970 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:970 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1069 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:970 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_min_capacity_margin() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:970 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1069 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_min_capacity_margin_penalty: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1007 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1008 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_min_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1008 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1070 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:94 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1008 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_min_capacity_margin_penalty() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1008 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1070 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_node.jl:1051 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:165 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_capacity_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:91 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:92 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:92 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:92 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:92 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_capacity_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:131 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:132 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:132 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:132 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:132 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_capacity_bidirectional_basic: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:177 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:179 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:179 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1810 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:179 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:179 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1810 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_capacity_bidirectional_with_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:230 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:231 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:231 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1810 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:231 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_capacity_bidirectional() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:231 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1810 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_gas_capacity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:285 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:286 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:286 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1811 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:286 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_gas_capacity() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:286 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1811 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_fix_node_pressure_point: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:341 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:342 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:342 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1812 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:342 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_fix_node_pressure_point() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:342 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1812 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_unitary_gas_flow: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:431 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:432 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:432 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1813 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:432 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_unitary_gas_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:432 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1813 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:486 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:487 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:487 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1814 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:487 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:487 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1814 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_intact_flow_ptdf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:546 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:547 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:547 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1815 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:547 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_intact_flow_ptdf() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:547 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1815 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 constraint_connection_flow_lodf: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:628 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:629 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:629 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1816 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:629 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_constraint_connection_flow_lodf() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:629 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1816 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 contraints_ptdf_lodf_duration: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:773 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:774 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:774 [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1817 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] top-level scope @ none:6 [21] eval @ ./boot.jl:430 [inlined] [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [23] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:774 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [12] test_contraints_ptdf_lodf_duration() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:774 [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1817 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [16] include(fname::String) @ Main ./sysimg.jl:38 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] top-level scope @ none:6 [22] eval @ ./boot.jl:430 [inlined] [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [24] _start() @ Base ./client.jl:531 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [13] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [17] include(fname::String) @ Main ./sysimg.jl:38 [18] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [20] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [21] include(fname::String) @ Main ./sysimg.jl:38 [22] top-level scope @ none:6 [23] eval @ ./boot.jl:430 [inlined] [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [25] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:880 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:879 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:867 [15] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [17] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [18] include(fname::String) @ Main ./sysimg.jl:38 [19] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [21] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [22] include(fname::String) @ Main ./sysimg.jl:38 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:430 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:531 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = min: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = fix: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 p = max: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [15] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [16] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [18] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [22] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [23] include(fname::String) @ Main ./sysimg.jl:38 [24] top-level scope @ none:6 [25] eval @ ./boot.jl:430 [inlined] [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [27] _start() @ Base ./client.jl:531 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module 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:430 [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/NSnjR/test/runtests.jl:62 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [9] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [10] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:943 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:942 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:938 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [16] test_constraint_ratio_out_in_connection_flow() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:928 [17] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1818 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [19] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1809 [20] include(fname::String) @ Main ./sysimg.jl:38 [21] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:166 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [23] top-level scope @ ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:156 [24] include(fname::String) @ Main ./sysimg.jl:38 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:430 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:531 constraint_connections_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:999 Got exception outside of a @test UndefVarError: `_spinedb_api_not_found_error` not defined in `SpineInterface` Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/Hd2BB/src/api/db.jl:606 [2] eval @ ./boot.jl:430 [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/NSnjR/test/runtests.jl:62 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/NSnjR/test/runtests.jl:57 [8] _test_constraint_connection_setup() @ Main ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:86 [9] macro expansion @ ~/.julia/packages/SpineOpt/NSnjR/test/constraints/constraint_connection.jl:1000 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] test_constraint_connections_invested_transitio PkgEval terminated after 596.12s: test log exceeded the size limit