Package evaluation to test SpineInterface on Julia 1.14.0-DEV.2275 (3ea3bac2a3*) started at 2026-06-02T20:06:17.014 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 16.12s ################################################################################ # Installation # Installing SpineInterface... Resolving package versions... Installed PyCall ─ v1.96.4 Installed Conda ── v1.10.3 Updating `~/.julia/environments/v1.14/Project.toml` [0cda1612] + SpineInterface v0.17.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [8f4d0f93] + Conda v1.10.3 [864edb3b] + DataStructures v0.19.5 ⌅ [682c06a0] + JSON v0.21.4 [1914dd2f] + MacroTools v0.5.16 ⌅ [bac558e1] + OrderedCollections v1.8.2 [69de0a69] + Parsers v2.8.4 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [438e738f] + PyCall v1.96.4 [ae029012] + Requires v1.3.1 [0cda1612] + SpineInterface v0.17.1 [10745b16] + Statistics v1.11.1 [5c2747f8] + URIs v1.6.1 [81def892] + VersionParsing v1.3.0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [b27032c2] + LibCURL v1.0.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.14.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.5.2+0 [deac9b47] + LibCURL_jll v8.20.0+1 [29816b5a] + LibSSH2_jll v1.11.101+0 [14a3606d] + MozillaCACerts_jll v2026.5.14 [4536629a] + OpenBLAS_jll v0.3.33+0 [458c3c95] + OpenSSL_jll v3.5.6+0 [83775a58] + Zlib_jll v1.3.2+0 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.69.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building Conda ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/8f06b0cfa4c514c7b9546756dbae91fcfbc92dc9/build.log` Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Installation completed after 39.98s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 2.1 s ✓ HiGHS_jll 1.2 s ✓ CodecBzip2 6.0 s ✓ SpineInterface 103.7 s ✓ MathOptInterface 62.5 s ✓ JuMP 8.5 s ✓ MathOptIIS 40.0 s ✓ HiGHS 7 dependencies successfully precompiled in 230 seconds. 59 already precompiled. Precompilation completed after 250.53s ################################################################################ # Testing # Testing SpineInterface Status `/tmp/jl_JZpPrj/Project.toml` [87dc4568] HiGHS v1.23.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.17.1 [ade2ca70] Dates v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_JZpPrj/Manifest.toml` [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [8f4d0f93] Conda v1.10.3 [864edb3b] DataStructures v0.19.5 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [ffbed154] DocStringExtensions v0.9.5 [f6369f11] ForwardDiff v1.3.3 [87dc4568] HiGHS v1.23.0 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.8.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 ⌅ [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [8c4f8055] MathOptIIS v0.2.0 [b8f27783] MathOptInterface v1.51.1 [d8a4904e] MutableArithmetics v1.8.0 [77ba4419] NaNMath v1.1.3 ⌅ [bac558e1] OrderedCollections v1.8.2 [69de0a69] Parsers v2.8.4 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [438e738f] PyCall v1.96.4 [ae029012] Requires v1.3.1 [276daf66] SpecialFunctions v2.8.0 [0cda1612] SpineInterface v0.17.1 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [81def892] VersionParsing v1.3.0 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.14.0+0 [656ef2d0] OpenBLAS32_jll v0.3.33+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [b27032c2] LibCURL v1.0.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.5.2+0 [deac9b47] LibCURL_jll v8.20.0+1 [29816b5a] LibSSH2_jll v1.11.101+0 [14a3606d] MozillaCACerts_jll v2026.5.14 [4536629a] OpenBLAS_jll v0.3.33+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.6+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.2+0 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.69.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... object_class: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:23 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_groups::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:28 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_object_class() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:24 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_groups::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:28 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_object_class() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:24 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 relationship_class: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:49 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:70 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_relationship_class() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:50 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:539 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:70 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_relationship_class() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:50 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:539 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 parameter: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:104 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{Any}}, object_parameter_values::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:133 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_parameter() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:105 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:540 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{Any}}, object_parameter_values::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:133 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_parameter() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:105 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:538 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:540 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 using_spinedb - parameter value types: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:543 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] _test_pv_type_setup() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:172 [8] _test_pv_type_true() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:176 [9] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:544 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:544 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [20] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] _test_pv_type_setup() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:172 [9] _test_pv_type_true() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:176 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:544 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:544 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 using_spinedb_in_a_loop: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:404 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{alternatives::Vector{String}, object_classes::Vector{String}, objects::Vector{Tuple{String, String}}, object_parameters::Vector{Tuple{String, String}}, object_parameter_values::Vector{NTuple{5, String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:409 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_using_spinedb_in_a_loop() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:405 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{alternatives::Vector{String}, object_classes::Vector{String}, objects::Vector{Tuple{String, String}}, object_parameters::Vector{Tuple{String, String}}, object_parameter_values::Vector{NTuple{5, String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:409 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_using_spinedb_in_a_loop() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:405 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 using_spinedb_extend: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:431 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:440 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_using_spinedb_extend() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:432 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:558 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:440 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_using_spinedb_extend() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:432 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:558 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 using_spinedb_with_env: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:506 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{relationships::Vector{Vector{Any}}, object_classes::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:520 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_using_spinedb_with_env() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:507 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:559 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{relationships::Vector{Vector{Any}}, object_classes::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:520 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_using_spinedb_with_env() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:507 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:559 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 using_spinedb_with_module: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:450 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{relationships::Vector{Vector{Any}}, object_classes::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:462 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_using_spinedb_with_module() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:451 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:560 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{relationships::Vector{Vector{Any}}, object_classes::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationship_classes::Vector{Vector{Any}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:462 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_using_spinedb_with_module() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:451 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:560 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 add_binding_type_mismatch: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:492 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Vector{String}}, objects::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:494 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_binding_type_mismatch() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:493 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:561 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Vector{String}}, objects::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:494 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_binding_type_mismatch() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:493 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:557 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/using_spinedb.jl:561 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 indices: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:24 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, object_parameters::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:38 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_indices() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:25 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, object_parameters::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:38 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_indices() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:25 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 indices as tuples: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:65 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:73 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_indices_as_tuples() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:66 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:924 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:73 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_indices_as_tuples() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:66 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:924 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 object_class, relationship_class, parameter: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:89 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:96 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_object_class_relationship_class_parameter() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:90 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:925 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:96 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_object_class_relationship_class_parameter() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:90 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:925 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 add_objects: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:171 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:175 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_objects() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:172 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:928 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:175 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_objects() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:172 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:928 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 add_relationships: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:189 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:201 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_relationships() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:190 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:929 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:201 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_relationships() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:190 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:929 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 add_object_parameter_values: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:294 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:302 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_object_parameter_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:295 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:931 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:302 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_object_parameter_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:295 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:931 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 add_relationship_parameter_values: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:331 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:354 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_relationship_parameter_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:332 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:932 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:354 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_relationship_parameter_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:332 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:932 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 int & string: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:401 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Any}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Any}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:404 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:402 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Any}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Any}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:404 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:402 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 date_time & duration: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:410 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Dates.AbstractTime}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Dates.AbstractTime}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:418 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:411 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Dates.AbstractTime}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{NamedTuple, Dates.AbstractTime}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:418 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:411 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 array: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:424 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Vector{Float64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Vector{Float64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:427 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:425 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Vector{Float64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Vector{Float64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:427 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:425 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 time_pattern: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:432 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Dict{Vector{Vector{SpineInterface.TimeInterval}}, Float64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Dict{Vector{Vector{SpineInterface.TimeInterval}}, Float64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:439 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:433 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Dict{Vector{Vector{SpineInterface.TimeInterval}}, Float64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, Dict{Vector{Vector{SpineInterface.TimeInterval}}, Float64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:439 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:433 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 time_series: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:455 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:459 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:456 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:459 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:456 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 repeating time_series: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:477 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:485 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:478 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, TimeSeries{Int64}}}, url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:421 [inlined] [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:485 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:478 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [26] _start() @ Base client.jl:596 with report: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:505 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, String}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:508 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:506 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [13] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [24] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Any}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Any}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] write_parameters(parameters::Dict{Symbol, Dict{@NamedTuple{country::Symbol}, String}}, url::String; upgrade::Bool, for_object::Bool, report::String, alternative::String, on_conflict::String, comment::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:444 [9] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:508 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:506 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] _test_write_parameters() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:399 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:933 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [25] _start() @ Base client.jl:596 maximum_parameter_value: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:535 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:591 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_maximum_parameter_value() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:536 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:935 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, objects::Vector{Vector{String}}, relationships::Vector{Vector{Any}}, relationship_parameters::Vector{Vector{String}}, relationship_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:591 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_maximum_parameter_value() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:536 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:935 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 import_data: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:607 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Any}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:609 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_import_data() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:609 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:936 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{Any}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:609 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_import_data() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:609 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:936 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 difference: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:652 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:653 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_difference() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:653 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:937 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, relationship_classes::Vector{Vector{Any}}, object_parameters::Vector{Vector{String}}, relationship_parameters::Vector{Vector{String}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:653 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_difference() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:653 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:937 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 indexed_values: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/api.jl:685 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [7] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:731 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_indexed_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:686 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:938 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] import_test_data(db_url::String; kwargs::@Kwargs{object_classes::Vector{String}, objects::Vector{Vector{String}}, object_parameters::Vector{Vector{String}}, object_parameter_values::Vector{Vector{Any}}}) @ Main ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:39 [inlined] [8] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:731 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_indexed_values() @ Main ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:686 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:923 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/api.jl:938 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:45 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 ┌ Warning: can't find a value of uses_pants for argument(s) (studio = Disney, duck = Daffy) └ @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/util.jl:47 Running HiGHS 1.14.0 (git hash: 7df0786de3): Copyright (c) 2026 under Apache 2.0 license terms Using BLAS: blastrampoline LP has 16 rows; 5 cols; 18 nonzeros Coefficient ranges: Matrix [1e+00, 2e+01] Cost [1e+00, 1e+01] Bound [0e+00, 0e+00] RHS [1e+01, 1e+02] Presolving model 0 rows, 0 cols, 0 nonzeros 0s 0 rows, 0 cols, 0 nonzeros 0s Presolve reductions: rows 0(-16); columns 0(-5); nonzeros 0(-18) - Reduced to empty Performed postsolve Solving the original LP from the solution after postsolve Model status : Optimal Objective value : 1.2000000000e+01 P-D objective error : 0.0000000000e+00 HiGHS run time : 0.17 LP has 16 rows; 5 cols; 18 nonzeros Coefficient ranges: Matrix [1e+00, 4e+00] Cost [1e+00, 1e+00] Bound [0e+00, 0e+00] RHS [1e+00, 1e+02] Solving LP with useful basis so presolve not used Model status : Optimal Objective value : 2.0000000000e+00 P-D objective error : 0.0000000000e+00 HiGHS run time : 0.00 Running HiGHS 1.14.0 (git hash: 7df0786de3): Copyright (c) 2026 under Apache 2.0 license terms Using BLAS: blastrampoline LP has 1 row; 1 col; 1 nonzero Coefficient ranges: Matrix [1e+00, 1e+00] Cost [1e+00, 1e+00] Bound [0e+00, 0e+00] RHS [2e+01, 4e+01] Presolving model 0 rows, 0 cols, 0 nonzeros 0s 0 rows, 0 cols, 0 nonzeros 0s Presolve reductions: rows 0(-1); columns 0(-1); nonzeros 0(-1) - Reduced to empty Performed postsolve Solving the original LP from the solution after postsolve Model status : Optimal Objective value : 2.0000000000e+01 P-D objective error : 0.0000000000e+00 HiGHS run time : 0.26 WARNING: row 0 has inconsistent bounds [ 20, 8] LP has 1 row; 1 col; 1 nonzero Coefficient ranges: Matrix [1e+00, 1e+00] Cost [1e+00, 1e+00] Bound [0e+00, 0e+00] RHS [4e+00, 8e+00] Solving LP with useful basis so presolve not used Model status : Optimal Objective value : 4.0000000000e+00 P-D objective error : 0.0000000000e+00 HiGHS run time : 0.00 LP has 1 row; 1 col; 1 nonzero Coefficient ranges: Matrix [1e+00, 1e+00] Cost [1e+00, 1e+00] Bound [0e+00, 0e+00] RHS [4e+00, 8e+00] Solving LP with useful basis so presolve not used Using dual simplex solver Iteration Objective Infeasibilities num(sum) 0 0.0000000000e+00 Ph1: 0(0) 0.0s 0 -8.0000000000e+00 Pr: 0(0) 0.0s Model status : Optimal Objective value : -8.0000000000e+00 P-D objective error : 0.0000000000e+00 HiGHS run time : 0.00 examples: Error During Test at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:50 Got exception outside of a @test LoadError: UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Vector{String}}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] import_data(url::String, data::Dict{Symbol, Vector{String}}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [7] import_data(url::String, comment::String; upgrade::Bool, kwargs::@Kwargs{object_classes::Vector{String}}) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:566 [inlined] [8] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/examples/tutorial_spine_database/tutorial_spine_database.jl:16 [9] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [10] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:51 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:51 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [19] _start() @ Base client.jl:596 in expression starting at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/examples/tutorial_spine_database/tutorial_spine_database.jl:16 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#190#191"{Dict{Symbol, Vector{String}}, String}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] import_data(url::String, data::Dict{Symbol, Vector{String}}, comment::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:569 [inlined] [8] import_data(url::String, comment::String; upgrade::Bool, kwargs::@Kwargs{object_classes::Vector{String}}) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:566 [inlined] [9] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/examples/tutorial_spine_database/tutorial_spine_database.jl:16 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [11] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:44 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:51 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:51 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [20] _start() @ Base client.jl:596 Test Summary: | Pass Error Total Time test set | 429 28 457 7m00.8s using_spinedb - basics | 3 3 29.1s object_class | 1 1 5.3s relationship_class | 1 1 0.1s parameter | 1 1 0.1s using_spinedb - parameter value types | 1 1 2.6s using_spinedb - advanced | 5 5 13.6s using_spinedb_in_a_loop | 1 1 0.1s using_spinedb_extend | 1 1 0.6s using_spinedb_with_env | 1 1 0.6s using_spinedb_with_module | 1 1 0.6s add_binding_type_mismatch | 1 1 0.1s api | 89 18 107 2m26.6s indices | 1 1 0.1s indices as tuples | 1 1 0.0s object_class, relationship_class, parameter | 1 1 0.0s time-slices | 17 17 1.3s add_objects | 1 1 0.0s add_relationships | 1 1 0.1s parse_db_value | 8 8 17.1s add_object_parameter_values | 1 1 0.1s add_relationship_parameter_values | 1 1 0.1s write_parameters | 1 7 8 7.9s int & string | 1 1 2.3s date_time & duration | 1 1 2.6s array | 1 1 0.2s time_pattern | 1 1 2 2.5s time_series | 1 1 0.1s repeating time_series | 1 1 0.2s with report | 1 1 0.0s Call | 5 5 3.3s maximum_parameter_value | 1 1 0.1s import_data | 1 1 0.0s difference | 1 1 0.0s indexed_values | 1 1 0.0s Bind | 12 12 0.1s write_interface | 40 40 1.3s constructors | 16 16 11.0s base | 225 225 1m07.3s TimePattern-TimePattern arithmetic | 2 2 1.0s object_class_to_dict | 5 5 5.6s relationship_class_to_dict | 7 7 3.4s update_model | 85 85 2m02.4s examples | 1 1 0.9s RNG of the outermost testset: Random.Xoshiro(0xee20d5338ee8c34f, 0xc0fb1300c48ea2b9, 0x0c574ab307fa1241, 0xcec312e572617000, 0x161c07fb252116bf) ERROR: LoadError: Some tests did not pass: 429 passed, 0 failed, 28 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/SpineInterface/NE3W7/test/runtests.jl:43 Testing failed after 463.48s ERROR: LoadError: Package SpineInterface errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3247 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:326 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 811.0s: package tests unexpectedly errored