MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.4k stars 306 forks source link

Test errors related to FileIO in Cairo- and GLMakie #986

Closed adigitoleo closed 3 years ago

adigitoleo commented 3 years ago

I get an error running the CairoMakie tests, which mentions that Figure is not defined and points to line 6 of runtests.jl, see the log below. It seems that this section was introduced to tackle #864. The package itself seems to work (I have saved a few simple figures).

I have installed CairoMakie, GLMakie and GeoMakie.

Output of versioninfo():

julia> versioninfo()
Julia Version 1.6.1
Commit 6aaedecc44* (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.1.0 (ORCJIT, skylake)
Full test log: ``` (@v1.6) pkg> test CairoMakie Testing CairoMakie Status `/tmp/jl_imfO4T/Project.toml` [537997a7] AbstractPlotting v0.13.11 [159f3aea] Cairo v1.0.5 [13f3f980] CairoMakie v0.3.19 [5ae59095] Colors v0.12.8 [7a1cc6ca] FFTW v1.4.1 [5789e2e9] FileIO v1.9.0 [b38be410] FreeType v3.0.1 [5c1252a2] GeometryBasics v0.3.10 [90137ffa] StaticArrays v1.2.1 [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra` [44cfe95a] Pkg `@stdlib/Pkg` [8dfed614] Test `@stdlib/Test` Status `/tmp/jl_imfO4T/Manifest.toml` [621f4979] AbstractFFTs v1.0.1 [537997a7] AbstractPlotting v0.13.11 [79e6a3ab] Adapt v3.3.0 [27a7e980] Animations v0.4.1 [4fba245c] ArrayInterface v3.1.15 [13072b0f] AxisAlgorithms v1.0.0 [fa961155] CEnum v0.4.1 [159f3aea] Cairo v1.0.5 [13f3f980] CairoMakie v0.3.19 [d360d2e6] ChainRulesCore v0.9.44 [a2cac450] ColorBrewer v0.4.0 [35d6a980] ColorSchemes v3.12.1 [3da002f7] ColorTypes v0.10.12 [c3611d14] ColorVectorSpace v0.8.7 [5ae59095] Colors v0.12.8 [34da2185] Compat v3.30.0 [d38c429a] Contour v0.5.7 [9a962f9c] DataAPI v1.6.0 [864edb3b] DataStructures v0.18.9 [e2d170a0] DataValueInterfaces v1.0.0 [31c24e10] Distributions v0.24.18 [ffbed154] DocStringExtensions v0.8.4 [da5c29d0] EllipsisNotation v1.1.0 [c87230d0] FFMPEG v0.4.0 [7a1cc6ca] FFTW v1.4.1 [5789e2e9] FileIO v1.9.0 [1a297f60] FillArrays v0.11.7 [53c48c17] FixedPointNumbers v0.8.4 [59287772] Formatting v0.4.2 [b38be410] FreeType v3.0.1 [663a7486] FreeTypeAbstraction v0.8.4 [5c1252a2] GeometryBasics v0.3.10 [a2bd30eb] Graphics v1.1.0 [3955a311] GridLayoutBase v0.4.1 [42e2da0e] Grisu v1.0.2 [615f187c] IfElse v0.1.0 [a09fc81d] ImageCore v0.8.22 [82e4d734] ImageIO v0.3.1 [9b13fd28] IndirectArrays v0.5.1 [a98d9a8b] Interpolations v0.13.2 [8197267c] IntervalSets v0.5.3 [f1662d9f] Isoband v0.1.1 [c8e1da08] IterTools v1.3.0 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.3.0 [682c06a0] JSON v0.21.1 [5ab0869b] KernelDensity v0.6.3 [2ab3a3ac] LogExpFunctions v0.2.4 [dbb5928d] MappedArrays v0.4.0 [7eb4fadd] Match v1.1.0 [e1d29d7a] Missings v1.0.0 [e94cdb99] MosaicViews v0.3.3 [77ba4419] NaNMath v0.3.5 [510215fc] Observables v0.3.3 [6fe1bfb0] OffsetArrays v1.9.0 [bac558e1] OrderedCollections v1.4.1 [90014a1f] PDMats v0.11.0 [f57f5aa1] PNGFiles v0.3.7 [19eb6ba3] Packing v0.4.1 [5432bcbf] PaddedViews v0.5.8 [69de0a69] Parsers v1.1.0 [995b91a9] PlotUtils v1.0.10 [647866c9] PolygonOps v0.1.1 [21216c6a] Preferences v1.2.2 [1fd47b50] QuadGK v2.4.1 [c84ed2f1] Ratios v0.4.0 [189a3867] Reexport v0.2.0 [ae029012] Requires v1.1.3 [79098fc4] Rmath v0.7.0 [992d4aef] Showoff v0.3.2 [73760f76] SignedDistanceFields v0.4.0 [a2af1166] SortingAlgorithms v1.0.0 [276daf66] SpecialFunctions v1.4.2 [cae243ae] StackViews v0.1.1 [aedffcd0] Static v0.2.4 [90137ffa] StaticArrays v1.2.1 [82ae8749] StatsAPI v1.0.0 [2913bbd2] StatsBase v0.33.8 [4c63d2b9] StatsFuns v0.9.8 [09ab397b] StructArrays v0.4.2 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.4.2 [1cfade01] UnicodeFun v0.4.1 [efce3f68] WoodburyMatrices v0.5.3 [6e34b625] Bzip2_jll v1.0.6+5 [83423d85] Cairo_jll v1.16.0+6 [5ae413db] EarCut_jll v2.1.5+1 [2e619515] Expat_jll v2.2.10+0 [b22a6f82] FFMPEG_jll v4.3.1+4 [f5851436] FFTW_jll v3.3.9+7 [a3f928ae] Fontconfig_jll v2.13.1+14 [d7e528f0] FreeType2_jll v2.10.1+5 [559328eb] FriBidi_jll v1.0.10+0 [78b55507] Gettext_jll v0.20.1+7 [7746bdde] Glib_jll v2.59.0+4 [3b182d85] Graphite2_jll v1.3.14+0 [2e76f6c2] HarfBuzz_jll v2.6.1+10 [a51ab1cf] ICU_jll v67.1.0+3 [1d5cc7b8] IntelOpenMP_jll v2018.0.3+2 [c1c5ebd0] LAME_jll v3.100.0+3 [dd4b983a] LZO_jll v2.10.1+0 [dd192d2f] LibVPX_jll v1.9.0+1 [e9f186c6] Libffi_jll v3.2.2+0 [d4300ac3] Libgcrypt_jll v1.8.7+0 [7add5ba3] Libgpg_error_jll v1.42.0+0 [94ce4f54] Libiconv_jll v1.16.1+0 [4b2f31a3] Libmount_jll v2.35.0+0 [38a345b3] Libuuid_jll v2.36.0+0 [856f044c] MKL_jll v2021.1.1+1 [e7412a2a] Ogg_jll v1.3.4+2 [458c3c95] OpenSSL_jll v1.1.1+6 [efe28fd5] OpenSpecFun_jll v0.5.4+0 [91d4177d] Opus_jll v1.3.1+3 [2f80f16e] PCRE_jll v8.44.0+0 [36c8627f] Pango_jll v1.42.4+10 [30392449] Pixman_jll v0.40.1+0 [f50d1b31] Rmath_jll v0.3.0+0 [02c8fc9c] XML2_jll v2.9.12+0 [aed1982a] XSLT_jll v1.1.34+0 [4f6342f7] Xorg_libX11_jll v1.6.9+4 [0c0b7dd1] Xorg_libXau_jll v1.0.9+4 [a3789734] Xorg_libXdmcp_jll v1.1.3+4 [1082639a] Xorg_libXext_jll v1.3.4+4 [ea2f1a96] Xorg_libXrender_jll v0.9.10+4 [14d82f49] Xorg_libpthread_stubs_jll v0.1.0+3 [c7cfdc94] Xorg_libxcb_jll v1.13.0+3 [c5fb5394] Xorg_xtrans_jll v1.4.0+3 [9a68df92] isoband_jll v0.2.2+0 [0ac62f75] libass_jll v0.14.0+4 [f638f0a6] libfdk_aac_jll v0.1.6+4 [b53b4c65] libpng_jll v1.6.38+0 [f27f6e37] libvorbis_jll v1.3.6+6 [1270edf5] x264_jll v2020.7.14+2 [dfaa095f] x265_jll v3.0.0+3 [0dad84c5] ArgTools `@stdlib/ArgTools` [56f22d72] Artifacts `@stdlib/Artifacts` [2a0f44e3] Base64 `@stdlib/Base64` [ade2ca70] Dates `@stdlib/Dates` [8bb1440f] DelimitedFiles `@stdlib/DelimitedFiles` [8ba89e20] Distributed `@stdlib/Distributed` [f43a241f] Downloads `@stdlib/Downloads` [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils` [4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts` [b27032c2] LibCURL `@stdlib/LibCURL` [76f85450] LibGit2 `@stdlib/LibGit2` [8f399da3] Libdl `@stdlib/Libdl` [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra` [56ddb016] Logging `@stdlib/Logging` [d6f4376e] Markdown `@stdlib/Markdown` [a63ad114] Mmap `@stdlib/Mmap` [ca575930] NetworkOptions `@stdlib/NetworkOptions` [44cfe95a] Pkg `@stdlib/Pkg` [de0858da] Printf `@stdlib/Printf` [3fa0cd96] REPL `@stdlib/REPL` [9a3f8284] Random `@stdlib/Random` [ea8e919c] SHA `@stdlib/SHA` [9e88b42a] Serialization `@stdlib/Serialization` [1a1011a3] SharedArrays `@stdlib/SharedArrays` [6462fe0b] Sockets `@stdlib/Sockets` [2f01184e] SparseArrays `@stdlib/SparseArrays` [10745b16] Statistics `@stdlib/Statistics` [4607b0f0] SuiteSparse `@stdlib/SuiteSparse` [fa267f1f] TOML `@stdlib/TOML` [a4e569a6] Tar `@stdlib/Tar` [8dfed614] Test `@stdlib/Test` [cf7118a7] UUIDs `@stdlib/UUIDs` [4ec0a83e] Unicode `@stdlib/Unicode` [e66e0078] CompilerSupportLibraries_jll `@stdlib/CompilerSupportLibraries_jll` [deac9b47] LibCURL_jll `@stdlib/LibCURL_jll` [29816b5a] LibSSH2_jll `@stdlib/LibSSH2_jll` [c8ffd9c3] MbedTLS_jll `@stdlib/MbedTLS_jll` [14a3606d] MozillaCACerts_jll `@stdlib/MozillaCACerts_jll` [83775a58] Zlib_jll `@stdlib/Zlib_jll` [8e850ede] nghttp2_jll `@stdlib/nghttp2_jll` [3f19e933] p7zip_jll `@stdlib/p7zip_jll` Testing Running tests... Runs without error: Error During Test at /home/admin/.julia/packages/CairoMakie/P8WWZ/test/runtests.jl:5 Got exception outside of a @test UndefVarError: Figure not defined Stacktrace: [1] macro expansion @ ~/.julia/packages/CairoMakie/P8WWZ/test/runtests.jl:6 [inlined] [2] macro expansion @ /build/julia/src/julia-1.6.1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined] [3] top-level scope @ ~/.julia/packages/CairoMakie/P8WWZ/test/runtests.jl:6 [4] include(fname::String) @ Base.MainInclude ./client.jl:444 [5] top-level scope @ none:6 Test Summary: | Error Total Runs without error | 1 1 ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/admin/.julia/packages/CairoMakie/P8WWZ/test/runtests.jl:5 ERROR: Package CairoMakie errored during testing ```
adigitoleo commented 3 years ago

Potentially a duplicate of #849, will play around with different package combinations as time premits, although I don't have many:

(@v1.6) pkg> status
      Status `~/.julia/environments/v1.6/Project.toml`
  [c9ce4bd3] ArchGDAL v0.6.0
  [13f3f980] CairoMakie v0.3.19
  [e9467ef8] GLMakie v0.1.17
  [db073c08] GeoMakie v0.1.15
  [98e50ef6] JuliaFormatter v0.14.3
  [23992714] MAT v0.8.1
  [b372bb87] SeisIO v1.2.1
adigitoleo commented 3 years ago

I also get an error from the GLMakie tests, which I can now identify as probably related. This time it explicitly mentions save and fileio_save, which can't be found.

Here's the log: ``` (@v1.6) pkg> test GLMakie Testing GLMakie Status `/tmp/jl_jtnWCh/Project.toml` [e9467ef8] GLMakie v0.1.17 [44cfe95a] Pkg `@stdlib/Pkg` [8dfed614] Test `@stdlib/Test` Status `/tmp/jl_jtnWCh/Manifest.toml` [621f4979] AbstractFFTs v1.0.1 [537997a7] AbstractPlotting v0.13.11 [79e6a3ab] Adapt v3.3.0 [27a7e980] Animations v0.4.1 [4fba245c] ArrayInterface v3.1.15 [13072b0f] AxisAlgorithms v1.0.0 [fa961155] CEnum v0.4.1 [d360d2e6] ChainRulesCore v0.9.44 [a2cac450] ColorBrewer v0.4.0 [35d6a980] ColorSchemes v3.12.1 [3da002f7] ColorTypes v0.10.12 [c3611d14] ColorVectorSpace v0.8.7 [5ae59095] Colors v0.12.8 [34da2185] Compat v3.30.0 [d38c429a] Contour v0.5.7 [9a962f9c] DataAPI v1.6.0 [864edb3b] DataStructures v0.18.9 [e2d170a0] DataValueInterfaces v1.0.0 [31c24e10] Distributions v0.24.18 [ffbed154] DocStringExtensions v0.8.4 [da5c29d0] EllipsisNotation v1.1.0 [c87230d0] FFMPEG v0.4.0 [7a1cc6ca] FFTW v1.4.1 [5789e2e9] FileIO v1.9.0 [1a297f60] FillArrays v0.11.7 [53c48c17] FixedPointNumbers v0.8.4 [59287772] Formatting v0.4.2 [b38be410] FreeType v3.0.1 [663a7486] FreeTypeAbstraction v0.8.4 [f7f18e0c] GLFW v3.4.1 [e9467ef8] GLMakie v0.1.17 [5c1252a2] GeometryBasics v0.3.10 [a2bd30eb] Graphics v1.1.0 [3955a311] GridLayoutBase v0.4.1 [42e2da0e] Grisu v1.0.2 [615f187c] IfElse v0.1.0 [a09fc81d] ImageCore v0.8.22 [82e4d734] ImageIO v0.3.1 [9b13fd28] IndirectArrays v0.5.1 [a98d9a8b] Interpolations v0.13.2 [8197267c] IntervalSets v0.5.3 [f1662d9f] Isoband v0.1.1 [c8e1da08] IterTools v1.3.0 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.3.0 [682c06a0] JSON v0.21.1 [5ab0869b] KernelDensity v0.6.3 [2ab3a3ac] LogExpFunctions v0.2.4 [dbb5928d] MappedArrays v0.4.0 [7eb4fadd] Match v1.1.0 [7269a6da] MeshIO v0.4.7 [e1d29d7a] Missings v1.0.0 [66fc600b] ModernGL v1.1.2 [e94cdb99] MosaicViews v0.3.3 [77ba4419] NaNMath v0.3.5 [510215fc] Observables v0.3.3 [6fe1bfb0] OffsetArrays v1.9.0 [bac558e1] OrderedCollections v1.4.1 [90014a1f] PDMats v0.11.0 [f57f5aa1] PNGFiles v0.3.7 [19eb6ba3] Packing v0.4.1 [5432bcbf] PaddedViews v0.5.8 [69de0a69] Parsers v1.1.0 [995b91a9] PlotUtils v1.0.10 [647866c9] PolygonOps v0.1.1 [21216c6a] Preferences v1.2.2 [1fd47b50] QuadGK v2.4.1 [c84ed2f1] Ratios v0.4.0 [189a3867] Reexport v0.2.0 [ae029012] Requires v1.1.3 [79098fc4] Rmath v0.7.0 [65257c39] ShaderAbstractions v0.2.6 [992d4aef] Showoff v0.3.2 [73760f76] SignedDistanceFields v0.4.0 [a2af1166] SortingAlgorithms v1.0.0 [276daf66] SpecialFunctions v1.4.2 [cae243ae] StackViews v0.1.1 [aedffcd0] Static v0.2.4 [90137ffa] StaticArrays v1.2.1 [82ae8749] StatsAPI v1.0.0 [2913bbd2] StatsBase v0.33.8 [4c63d2b9] StatsFuns v0.9.8 [09ab397b] StructArrays v0.4.2 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.4.3 [1cfade01] UnicodeFun v0.4.1 [efce3f68] WoodburyMatrices v0.5.3 [6e34b625] Bzip2_jll v1.0.6+5 [5ae413db] EarCut_jll v2.1.5+1 [b22a6f82] FFMPEG_jll v4.3.1+4 [f5851436] FFTW_jll v3.3.9+7 [d7e528f0] FreeType2_jll v2.10.1+5 [559328eb] FriBidi_jll v1.0.10+0 [0656b61e] GLFW_jll v3.3.4+0 [1d5cc7b8] IntelOpenMP_jll v2018.0.3+2 [c1c5ebd0] LAME_jll v3.100.0+3 [dd192d2f] LibVPX_jll v1.9.0+1 [d4300ac3] Libgcrypt_jll v1.8.7+0 [7e76a0d4] Libglvnd_jll v1.3.0+3 [7add5ba3] Libgpg_error_jll v1.42.0+0 [94ce4f54] Libiconv_jll v1.16.1+0 [856f044c] MKL_jll v2021.1.1+1 [e7412a2a] Ogg_jll v1.3.4+2 [458c3c95] OpenSSL_jll v1.1.1+6 [efe28fd5] OpenSpecFun_jll v0.5.4+0 [91d4177d] Opus_jll v1.3.1+3 [f50d1b31] Rmath_jll v0.3.0+0 [02c8fc9c] XML2_jll v2.9.12+0 [aed1982a] XSLT_jll v1.1.34+0 [4f6342f7] Xorg_libX11_jll v1.6.9+4 [0c0b7dd1] Xorg_libXau_jll v1.0.9+4 [935fb764] Xorg_libXcursor_jll v1.2.0+4 [a3789734] Xorg_libXdmcp_jll v1.1.3+4 [1082639a] Xorg_libXext_jll v1.3.4+4 [d091e8ba] Xorg_libXfixes_jll v5.0.3+4 [a51aa0fd] Xorg_libXi_jll v1.7.10+4 [d1454406] Xorg_libXinerama_jll v1.1.4+4 [ec84b674] Xorg_libXrandr_jll v1.5.2+4 [ea2f1a96] Xorg_libXrender_jll v0.9.10+4 [14d82f49] Xorg_libpthread_stubs_jll v0.1.0+3 [c7cfdc94] Xorg_libxcb_jll v1.13.0+3 [c5fb5394] Xorg_xtrans_jll v1.4.0+3 [9a68df92] isoband_jll v0.2.2+0 [0ac62f75] libass_jll v0.14.0+4 [f638f0a6] libfdk_aac_jll v0.1.6+4 [b53b4c65] libpng_jll v1.6.38+0 [f27f6e37] libvorbis_jll v1.3.6+6 [1270edf5] x264_jll v2020.7.14+2 [dfaa095f] x265_jll v3.0.0+3 [0dad84c5] ArgTools `@stdlib/ArgTools` [56f22d72] Artifacts `@stdlib/Artifacts` [2a0f44e3] Base64 `@stdlib/Base64` [ade2ca70] Dates `@stdlib/Dates` [8bb1440f] DelimitedFiles `@stdlib/DelimitedFiles` [8ba89e20] Distributed `@stdlib/Distributed` [f43a241f] Downloads `@stdlib/Downloads` [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils` [4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts` [b27032c2] LibCURL `@stdlib/LibCURL` [76f85450] LibGit2 `@stdlib/LibGit2` [8f399da3] Libdl `@stdlib/Libdl` [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra` [56ddb016] Logging `@stdlib/Logging` [d6f4376e] Markdown `@stdlib/Markdown` [a63ad114] Mmap `@stdlib/Mmap` [ca575930] NetworkOptions `@stdlib/NetworkOptions` [44cfe95a] Pkg `@stdlib/Pkg` [de0858da] Printf `@stdlib/Printf` [3fa0cd96] REPL `@stdlib/REPL` [9a3f8284] Random `@stdlib/Random` [ea8e919c] SHA `@stdlib/SHA` [9e88b42a] Serialization `@stdlib/Serialization` [1a1011a3] SharedArrays `@stdlib/SharedArrays` [6462fe0b] Sockets `@stdlib/Sockets` [2f01184e] SparseArrays `@stdlib/SparseArrays` [10745b16] Statistics `@stdlib/Statistics` [4607b0f0] SuiteSparse `@stdlib/SuiteSparse` [fa267f1f] TOML `@stdlib/TOML` [a4e569a6] Tar `@stdlib/Tar` [8dfed614] Test `@stdlib/Test` [cf7118a7] UUIDs `@stdlib/UUIDs` [4ec0a83e] Unicode `@stdlib/Unicode` [e66e0078] CompilerSupportLibraries_jll `@stdlib/CompilerSupportLibraries_jll` [deac9b47] LibCURL_jll `@stdlib/LibCURL_jll` [29816b5a] LibSSH2_jll `@stdlib/LibSSH2_jll` [c8ffd9c3] MbedTLS_jll `@stdlib/MbedTLS_jll` [14a3606d] MozillaCACerts_jll `@stdlib/MozillaCACerts_jll` [83775a58] Zlib_jll `@stdlib/Zlib_jll` [8e850ede] nghttp2_jll `@stdlib/nghttp2_jll` [3f19e933] p7zip_jll `@stdlib/p7zip_jll` Testing Running tests... Path `/home/admin/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests` exists and looks like the co rrect package. Using existing path. Resolving package versions... Updating `/tmp/jl_jtnWCh/Project.toml` [d37af2e0] + ReferenceTests v0.1.0 `~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests` Updating `/tmp/jl_jtnWCh/Manifest.toml` [39de3d68] + AxisArrays v0.4.3 [aafaddc9] + CatIndices v0.2.2 [ed09eef8] + ComputationalResources v0.3.2 [150eb455] + CoordinateTransformations v0.6.1 [dc8bdbbb] + CustomUnitRanges v1.0.1 [b4f34e82] + Distances v0.10.3 [4f61f5a4] + FFTViews v0.3.1 [bbac6d45] + IdentityRanges v0.3.1 [2803e5a7] + ImageAxes v0.6.9 [f332f351] + ImageContrastAdjustment v0.3.7 [51556ac3] + ImageDistances v0.2.13 [6a3955dd] + ImageFiltering v0.6.21 [6218d12a] + ImageMagick v1.2.1 [bc367c6b] + ImageMetadata v0.9.5 [787d08f9] + ImageMorphology v0.2.11 [2996bd0c] + ImageQualityIndexes v0.2.2 [4e3cecfd] + ImageShow v0.3.1 [02fcd773] + ImageTransformations v0.8.12 [916415d5] + Images v0.24.1 [1914dd2f] + MacroTools v0.5.6 [d96e819e] + Parameters v0.12.2 [b3c3ace0] + RangeArrays v0.3.2 [d37af2e0] + ReferenceTests v0.1.0 `~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests` [6038ab10] + Rotations v1.0.2 [699a6c99] + SimpleTraits v0.9.3 [860ef19b] + StableRNGs v1.0.0 [06e1c1a7] + TiledIteration v0.3.0 [3a884ed6] + UnPack v1.0.2 [c73af94c] + ImageMagick_jll v6.9.10-12+3 [aacddb02] + JpegTurbo_jll v2.0.1+3 [89763e89] + Libtiff_jll v4.1.0+2 [3161d3a3] + Zstd_jll v1.5.0+0 [07c12ed4] + ghr_jll v0.13.0+1 ┌ Warning: Mapping to the storage type failed; perhaps your data had out-of-range values? │ Try `map(clamp01nan, img)` to clamp values to a valid range. └ @ ImageMagick ~/.julia/packages/ImageMagick/b8swT/src/ImageMagick.jl:180 ┌ Warning: _findmod is deprecated and will be removed. Use `Base.require(::Base.PkgId)` instead. │ caller = (::ImageIO.var"#1#2"{Symbol})() at ImageIO.jl:17 └ @ ImageIO ~/.julia/packages/ImageIO/bBdyA/src/ImageIO.jl:17 Errors encountered while save FileIO.File{FileIO.DataFormat{:PNG}, String}("/home/admin/.julia/packages/Ab stractPlotting/BI7rb/test/ReferenceTests/recorded/examples3d_259_FEMmesh3D.png"). All errors: =========================================== ImageIO writer error: neither save nor fileio_save is defined due to MethodError(ImageIO.save, (FileIO.File{FileIO.DataFormat{:PNG}, String}("/home/admin/.julia/packa ges/AbstractPlotting/BI7rb/test/ReferenceTests/recorded/examples3d_259_FEMmesh3D.png"), Scene (500px, 500p x): 2 Plots: ├ Axis3D{Tuple{Tuple{Tuple{Float32, Float32}, Tuple{Float32, Float32}, Tuple{Float32, Float32}}}} └ Mesh{Tuple{GeometryBasics.Mesh{3, Float32, GeometryBasics.TriangleP{3, Float32, GeometryBasics.Point Meta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Float32}}}}, GeometryBasics.FaceView{Geometr yBasics.TriangleP{3, Float32, GeometryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{V ec{3, Float32}}}}, GeometryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Float 32}}}, GeometryBasics.NgonFace{3, GeometryBasics.OffsetInteger{-1, UInt32}}, StructArrays.StructVector{Geo metryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Float32}}}, NamedTuple{(:po sition, :normals), Tuple{Vector{Point{3, Float32}}, Vector{Vec{3, Float32}}}}, Int64}, Vector{GeometryBasi cs.NgonFace{3, GeometryBasics.OffsetInteger{-1, UInt32}}}}}}} 0 Child Scenes To show the scene in a window, try setting `AbstractPlotting.inline!(false)`.), 0x0000000000007543) Will try next loader. =========================================== ImageMagick writer error: neither save nor fileio_save is defined due to MethodError(ImageMagick.mapIM, (Axis3D{Tuple{Tuple{Tuple{Float32, Float32}, Tuple{Float32, Float3 2}, Tuple{Float32, Float32}}}},), 0x0000000000007549) Will try next loader. =========================================== FileIO.MimeWriter writer error: neither save nor fileio_save is defined due to MethodError(GLMakie.GLAbstraction.shadertype, (FileIO.File{FileIO.DataFormat{:UNKNOWN}, String}(" /home/admin/.julia/packages/GLMakie/6tMPz/src/GLVisualize/assets/shader/postprocessing/fullscreen.vert"),) , 0x0000000000007549) Will try next loader. =========================================== Fatal error: Record tests: Error During Test at /home/admin/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/ src/runtests.jl:78 Got exception outside of a @test ImageIO writer error: neither save nor fileio_save is defined due to MethodError(ImageIO.save, (FileIO.File{FileIO.DataFormat{:PNG}, String}("/home/admin/.julia/pac kages/AbstractPlotting/BI7rb/test/ReferenceTests/recorded/examples3d_259_FEMmesh3D.png"), Scene (500px, 50 0px): 2 Plots: ├ Axis3D{Tuple{Tuple{Tuple{Float32, Float32}, Tuple{Float32, Float32}, Tuple{Float32, Float32}}}} └ Mesh{Tuple{GeometryBasics.Mesh{3, Float32, GeometryBasics.TriangleP{3, Float32, GeometryBasics.Poi ntMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Float32}}}}, GeometryBasics.FaceView{Geome tryBasics.TriangleP{3, Float32, GeometryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple {Vec{3, Float32}}}}, GeometryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Flo at32}}}, GeometryBasics.NgonFace{3, GeometryBasics.OffsetInteger{-1, UInt32}}, StructArrays.StructVector{G eometryBasics.PointMeta{3, Float32, Point{3, Float32}, (:normals,), Tuple{Vec{3, Float32}}}, NamedTuple{(: position, :normals), Tuple{Vector{Point{3, Float32}}, Vector{Vec{3, Float32}}}}, Int64}, Vector{GeometryBa sics.NgonFace{3, GeometryBasics.OffsetInteger{-1, UInt32}}}}}}} 0 Child Scenes To show the scene in a window, try setting `AbstractPlotting.inline!(false)`.), 0x0000000000007543) Will try next loader. Stacktrace: [1] #invokelatest#2 @ ./essentials.jl:708 [inlined] [2] invokelatest @ ./essentials.jl:706 [inlined] [3] action(call::Symbol, libraries::Vector{Union{Base.PkgId, Module}}, file::FileIO.Formatted, args::S cene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:216 [4] action @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:196 [inlined] [5] action(call::Symbol, libraries::Vector{Union{Base.PkgId, Module}}, sym::Symbol, file::String, args ::Scene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:185 [6] action @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:185 [inlined] [7] save(file::String, args::Scene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTupl e{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:129 [8] save @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:126 [inlined] [9] save_result @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/database.jl:66 [inlined] [10] macro expansion @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:94 [inlined] [11] macro expansion @ /build/julia/src/julia-1.6.1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined] [12] record_tests(db::Dict{String, ReferenceTests.Entry}; recording_dir::String) @ ReferenceTests ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:79 [13] record_tests (repeats 2 times) @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:77 [inlined] [14] top-level scope @ ~/.julia/packages/GLMakie/6tMPz/test/runtests.jl:6 [15] include(fname::String) @ Base.MainInclude ./client.jl:444 [16] top-level scope @ none:6 Stacktrace: [1] handle_error(e::FileIO.WriterError, q::Base.PkgId, bt::Vector{Union{Ptr{Nothing}, Base.Interpreter IP}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/error_handling.jl:61 [2] handle_exceptions(exceptions::Vector{Tuple{Any, Union{Base.PkgId, Module}, Vector{T} where T}}, ac tion::String) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/error_handling.jl:56 [3] action(call::Symbol, libraries::Vector{Union{Base.PkgId, Module}}, file::FileIO.Formatted, args::S cene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:225 [4] action @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:196 [inlined] [5] action(call::Symbol, libraries::Vector{Union{Base.PkgId, Module}}, sym::Symbol, file::String, args ::Scene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:185 [6] action @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:185 [inlined] [7] save(file::String, args::Scene; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTupl e{(), Tuple{}}}) @ FileIO ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:129 [8] save @ ~/.julia/packages/FileIO/3jBq2/src/loadsave.jl:126 [inlined] [9] save_result @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/database.jl:66 [inlined] [10] macro expansion @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:94 [inlined] [11] macro expansion @ /build/julia/src/julia-1.6.1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined] [12] record_tests(db::Dict{String, ReferenceTests.Entry}; recording_dir::String) @ ReferenceTests ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:79 [13] record_tests (repeats 2 times) @ ~/.julia/packages/AbstractPlotting/BI7rb/test/ReferenceTests/src/runtests.jl:77 [inlined] [14] top-level scope @ ~/.julia/packages/GLMakie/6tMPz/test/runtests.jl:6 [15] include(fname::String) @ Base.MainInclude ./client.jl:444 [16] top-level scope @ none:6 Test Summary: | Error Total Record tests | 1 1 ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/admin/.julia/packages/GLMakie/6tMPz/test/runtests.jl:6 ERROR: Package GLMakie errored during testing ```
SimonDanisch commented 3 years ago

What FileIO version?

jkrumbiegel commented 3 years ago

You have AbstractPlotting in your manifest, which at least means that you're not on the most recent version

adigitoleo commented 3 years ago

Ah I think I understand now. Installing GeoMakie is downgrading the versions of the dependencies (and pulling in AbstractPlotting) which is causing this issue.

After a remove GeoMakie the Cairo tests are passing (GL fails later with an unrelated Wayland/XWayland problem). Perhaps the requirements of GeoMakie need to be tweaked?

SimonDanisch commented 3 years ago

There should be a new GeoMakie version with updated bounds!

adigitoleo commented 3 years ago

Can confirm, I no longer get these errors.