MakieOrg / Makie.jl

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

error with test #337

Closed my-little-repository closed 5 years ago

my-little-repository commented 5 years ago

I am using julia 1.1.0 and I just downloaded Makie.

  import Pkg ; Pkg.add("Makie")
    Updating registry at `~/.julia/registries/General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed Makie ──────────────── v0.9.3
   Installed FreeTypeAbstraction ── v0.4.2
   Installed CSTParser ──────────── v0.5.2
   Installed FreeType ───────────── v2.1.1
   Installed PlotUtils ──────────── v0.5.7
   Installed GLFW ───────────────── v2.3.0
   Installed FileIO ─────────────── v1.0.6
   Installed Roots ──────────────── v0.8.0
   Installed SignedDistanceFields ─ v0.4.0
   Installed MacroTools ─────────── v0.5.0
   Installed Compat ─────────────── v2.1.0
   Installed Parameters ─────────── v0.10.3
   Installed UnicodeFun ─────────── v0.4.0
   Installed ModernGL ───────────── v1.0.0
   Installed Observables ────────── v0.2.3
   Installed Packing ────────────── v0.3.0
   Installed CMakeWrapper ───────── v0.2.2
   Installed Tokenize ───────────── v0.5.3
   Installed AbstractAlgebra ────── v0.4.6
   Installed GeometryTypes ──────── v0.7.3
   Installed GLMakie ────────────── v0.0.5
   Installed ColorBrewer ────────── v0.4.0
   Installed CMake ──────────────── v1.1.1
   Installed GR ─────────────────── v0.39.0
   Installed AbstractPlotting ───── v0.9.7
    Updating `~/.julia/environments/v1.1/Project.toml`
    [ee78f7c6] + Makie v0.9.3

Running the tests gives the following error.

  julia> Pkg.test("Makie")
     Testing Makie
   Resolving package versions...
   Installed ZipFile ──────────────── v0.8.1
   Installed StatsMakie ───────────── v0.0.4
   Installed MakieGallery ─────────── v0.0.7
   Installed GDAL ─────────────────── v0.2.0
   Installed MeshIO ───────────────── v0.3.1
   Installed Documenter ───────────── v0.22.2
   Installed Widgets ──────────────── v0.6.1
   Installed LineSearches ─────────── v7.0.1
   Installed Mocking ──────────────── v0.5.7
   Installed QuartzImageIO ────────── v0.5.2
   Installed RData ────────────────── v0.6.0
   Installed DocStringExtensions ──── v0.7.0
   Installed StructArrays ─────────── v0.3.3
   Installed FreqTables ───────────── v0.3.1
   Installed Optim ────────────────── v0.18.1
   Installed EzXML ────────────────── v0.9.1
   Installed PooledArrays ─────────── v0.5.1
   Installed PDMats ───────────────── v0.9.6
   Installed StatsFuns ────────────── v0.8.0
   Installed Rmath ────────────────── v0.5.0
   Installed TimeZones ────────────── v0.9.0
   Installed Distributions ────────── v0.17.0
   Installed NLSolversBase ────────── v7.3.1
   Installed Loess ────────────────── v0.5.0
   Installed KernelDensity ────────── v0.5.1
   Installed DiffEqDiffTools ──────── v0.8.1
   Installed PositiveFactorizations ─ v0.2.1
   Installed Calculus ─────────────── v0.4.1
   Installed NamedArrays ──────────── v0.9.2
   Installed ColorSchemes ─────────── v3.2.0
   Installed RDatasets ────────────── v0.6.1
    Building ZipFile ──→ `~/.julia/packages/ZipFile/YHTbb/deps/build.log`
    Building GDAL ─────→ `~/.julia/packages/GDAL/vec6Y/deps/build.log`
    Building EzXML ────→ `~/.julia/packages/EzXML/r19gO/deps/build.log`
    Building Rmath ────→ `~/.julia/packages/Rmath/Py9gH/deps/build.log`
    Building TimeZones → `~/.julia/packages/TimeZones/oXITd/deps/build.log`
      Status `/tmp/tmps36cQU/Manifest.toml`
    [621f4979] AbstractFFTs v0.3.2
    [537997a7] AbstractPlotting v0.9.7
    [7d9fca2a] Arpack v0.3.0
    [13072b0f] AxisAlgorithms v0.3.0
    [39de3d68] AxisArrays v0.3.0
    [9e28174c] BinDeps v0.8.10
    [b99e7846] BinaryProvider v0.5.3
    [631607c0] CMake v1.1.1
    [d5fb7624] CMakeWrapper v0.2.2
    [00ebfdb7] CSTParser v0.5.2
    [336ed68f] CSV v0.4.3
    [49dc2e85] Calculus v0.4.1
    [aafaddc9] CatIndices v0.2.0
    [324d7699] CategoricalArrays v0.5.2
    [944b1d66] CodecZlib v0.5.2
    [a2cac450] ColorBrewer v0.4.0
    [35d6a980] ColorSchemes v3.2.0
    [3da002f7] ColorTypes v0.7.5
    [c3611d14] ColorVectorSpace v0.6.2
    [5ae59095] Colors v0.9.5
    [861a8166] Combinatorics v0.7.0
    [bbf7d656] CommonSubexpressions v0.2.0
    [34da2185] Compat v2.1.0
    [ed09eef8] ComputationalResources v0.3.0
    [8f4d0f93] Conda v1.2.0
    [d38c429a] Contour v0.5.1
    [150eb455] CoordinateTransformations v0.5.0
    [dc8bdbbb] CustomUnitRanges v0.2.0
    [a93c6f00] DataFrames v0.17.1
    [9a8bc11e] DataStreams v0.4.1
    [864edb3b] DataStructures v0.15.0
    [01453d9d] DiffEqDiffTools v0.8.1
    [163ba53b] DiffResults v0.0.4
    [b552c78f] DiffRules v0.0.10
    [b4f34e82] Distances v0.8.0
    [31c24e10] Distributions v0.17.0
    [ffbed154] DocStringExtensions v0.7.0
    [e30172f5] Documenter v0.22.2
    [8f5d6c58] EzXML v0.9.1
    [4f61f5a4] FFTViews v0.2.0
    [7a1cc6ca] FFTW v0.2.4
    [5789e2e9] FileIO v1.0.6
    [53c48c17] FixedPointNumbers v0.5.3
    [f6369f11] ForwardDiff v0.10.3
    [b38be410] FreeType v2.1.1
    [663a7486] FreeTypeAbstraction v0.4.2
    [da1fdf0e] FreqTables v0.3.1
    [add2ef01] GDAL v0.2.0
    [f7f18e0c] GLFW v2.3.0
    [e9467ef8] GLMakie v0.0.5
    [4d00f742] GeometryTypes v0.7.3
    [a2bd30eb] Graphics v0.4.0
    [d9be37ee] Homebrew v0.7.1
    [bbac6d45] IdentityRanges v0.3.0
    [2803e5a7] ImageAxes v0.5.0
    [a09fc81d] ImageCore v0.7.4
    [6a3955dd] ImageFiltering v0.5.4
    [6218d12a] ImageMagick v0.7.1
    [02fcd773] ImageTransformations v0.7.2
    [9b13fd28] IndirectArrays v0.5.0
    [a98d9a8b] Interpolations v0.11.2
    [8197267c] IntervalSets v0.3.1
    [c8e1da08] IterTools v1.1.1
    [82899510] IteratorInterfaceExtensions v0.1.1
    [682c06a0] JSON v0.20.0
    [5ab0869b] KernelDensity v0.5.1
    [d3d80556] LineSearches v7.0.1
    [4345ca2d] Loess v0.5.0
    [1914dd2f] MacroTools v0.5.0
    [ee78f7c6] Makie v0.9.3
    [dbd62bd0] MakieGallery v0.0.7
    [dbb5928d] MappedArrays v0.2.1
    [7269a6da] MeshIO v0.3.1
    [e1d29d7a] Missings v0.4.0
    [78c3b35d] Mocking v0.5.7
    [66fc600b] ModernGL v1.0.0
    [d41bc354] NLSolversBase v7.3.1
    [77ba4419] NaNMath v0.3.2
    [86f7a689] NamedArrays v0.9.2
    [510215fc] Observables v0.2.3
    [6fe1bfb0] OffsetArrays v0.10.0
    [429524aa] Optim v0.18.1
    [bac558e1] OrderedCollections v1.0.2
    [90014a1f] PDMats v0.9.6
    [19eb6ba3] Packing v0.3.0
    [5432bcbf] PaddedViews v0.4.2
    [d96e819e] Parameters v0.10.3
    [69de0a69] Parsers v0.2.22
    [995b91a9] PlotUtils v0.5.7
    [f27b6e38] Polynomials v0.5.2
    [2dfb63ee] PooledArrays v0.5.1
    [85a6dd25] PositiveFactorizations v0.2.1
    [27ebfcd6] Primes v0.4.0
    [1fd47b50] QuadGK v2.0.3
    [dca85d43] QuartzImageIO v0.5.2
    [df47a6cb] RData v0.6.0
    [ce6b1742] RDatasets v0.6.1
    [b3c3ace0] RangeArrays v0.3.1
    [c84ed2f1] Ratios v0.3.1
    [189a3867] Reexport v0.2.0
    [ae029012] Requires v0.5.2
    [79098fc4] Rmath v0.5.0
    [6038ab10] Rotations v0.11.1
    [992d4aef] Showoff v0.2.1
    [73760f76] SignedDistanceFields v0.4.0
    [699a6c99] SimpleTraits v0.8.0
    [a2af1166] SortingAlgorithms v0.3.1
    [276daf66] SpecialFunctions v0.7.2
    [90137ffa] StaticArrays v0.10.3
    [2913bbd2] StatsBase v0.29.0
    [4c63d2b9] StatsFuns v0.8.0
    [65254759] StatsMakie v0.0.4
    [09ab397b] StructArrays v0.3.3
    [3783bdb8] TableTraits v0.4.1
    [bd369af6] Tables v0.1.18
    [06e1c1a7] TiledIteration v0.2.3
    [f269a46b] TimeZones v0.9.0
    [0796e94c] Tokenize v0.5.3
    [3bb67fe8] TranscodingStreams v0.9.3
    [30578b45] URIParser v0.4.0
    [1cfade01] UnicodeFun v0.4.0
    [81def892] VersionParsing v1.1.3
    [ea10d353] WeakRefStrings v0.5.8
    [cc8bc4a8] Widgets v0.6.1
    [efce3f68] WoodburyMatrices v0.4.1
    [a5390f91] ZipFile v0.8.1
    [2a0f44e3] Base64  [`@stdlib/Base64`]
    [ade2ca70] Dates  [`@stdlib/Dates`]
    [8bb1440f] DelimitedFiles  [`@stdlib/DelimitedFiles`]
    [8ba89e20] Distributed  [`@stdlib/Distributed`]
    [9fa8497b] Future  [`@stdlib/Future`]
    [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
    [76f85450] LibGit2  [`@stdlib/LibGit2`]
    [8f399da3] Libdl  [`@stdlib/Libdl`]
    [37e2e46d] LinearAlgebra  [`@stdlib/LinearAlgebra`]
    [56ddb016] Logging  [`@stdlib/Logging`]
    [d6f4376e] Markdown  [`@stdlib/Markdown`]
    [a63ad114] Mmap  [`@stdlib/Mmap`]
    [44cfe95a] Pkg  [`@stdlib/Pkg`]
    [de0858da] Printf  [`@stdlib/Printf`]
    [9abbd945] Profile  [`@stdlib/Profile`]
    [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`]
    [8dfed614] Test  [`@stdlib/Test`]
    [cf7118a7] UUIDs  [`@stdlib/UUIDs`]
    [4ec0a83e] Unicode  [`@stdlib/Unicode`]
  WARNING: using Makie.AbstractPlotting in module Main conflicts with an existing identifier.
  [ Info: starting from index 1
  [ Info: Caching fonts, this may take a while. Needed only on first run!
  running tutorial_simple_scatter
  running tutorial_markersize
  running tutorial_simple_line
  running tutorial_adding_to_a_scene
  running tutorial_adjusting_scene_limits
  running tutorial_basic_theming
  running tutorial_heatmap
  running tutorial_linesegments
  running tutorial_barplot
  running test_heatmap___image_overlap
  running animation
  running barplot_1
  running poly_and_colormap
  running quiver_1
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100 54961  100 54961    0     0   273k      0 --:--:-- --:--:-- --:--:--  273k
  running image_1
  running scatter_colormap
  running lots_of_heatmaps
  running fem_polygon_2d
  running fem_mesh_2d
  running colored_triangle
  running heatmap_interpolation
  running colored_triangle_1
  running subscenes
  running polygons
  running contour_function
  running hbox_1
  running customize_axes
  running contour_1
  running heatmap_1
  running animated_scatter
  running text_annotation
  running text_rotation
  running the_famous_iris_example
  running chess_game
  running linesegments___colors
  1   : #version 450
  2   : 
  3   : #extension GL_ARB_conservative_depth: enable
  4   : 
  5   : in vec2 vertex;
  6   : in vec3 color;
  7   : uniform float thickness;
  8   : 
  9   : uniform mat4 projection, view, model;
  10  : uniform uint objectid;
  11  : 
  12  : out uvec2 g_id;
  13  : out vec4 g_color;
  14  : out float g_thickness;
  15  : 
  16  : vec4 getindex(sampler2D tex, int index);
  17  : vec4 getindex(sampler1D tex, int index);
  18  : 
  19  : vec4 to_vec4(vec3 v){return vec4(v, 1);}
  20  : vec4 to_vec4(vec2 v){return vec4(v, 0, 1);}
  21  : 
  22  : 
  23  : void main()
  24  : {
  25  :     int index   = gl_VertexID;
  26  :     g_id        = uvec2(objectid, index+1);
  27  :     g_color     = color;;
  28  :     g_thickness = thickness;
  29  :     gl_Position = projection*view*model*to_vec4(vertex);
  30  : }
  31  : 
  ┌ Warning: shader /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/line_segment.vert didn't compile. 
  │ 0:27(2): error: value of type vec3 cannot be assigned to variable of type vec4
  └ @ GLMakie.GLAbstraction ~/.julia/packages/GLMakie/nDrlO/src/GLAbstraction/GLShader.jl:142
  ERROR: LoadError: program 81 not linked. Error in: 
  /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/fragment_output.frag or /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/util.vert or /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/line_segment.vert or /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/line_segment.geom or /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/assets/shader/lines.frag
  error: linking with uncompiled/unspecialized shader
  Stacktrace:
   [1] error(::String, ::String, ::String, ::String) at ./error.jl:42
   [2] compile_program(::Array{GLMakie.GLAbstraction.Shader,1}, ::Array{Tuple{Int64,String},1}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLAbstraction/GLShader.jl:199
   [3] (::getfield(GLMakie.GLAbstraction, Symbol("##79#84")){Dict{Symbol,Any},NTuple{5,String}})() at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLAbstraction/GLShader.jl:264
   [4] get!(::getfield(GLMakie.GLAbstraction, Symbol("##79#84")){Dict{Symbol,Any},NTuple{5,String}}, ::Dict{Any,GLMakie.GLAbstraction.GLProgram}, ::Tuple{NTuple{5,String},Array{Array{String,1},1}}) at ./dict.jl:453
   [5] gl_convert(::GLMakie.GLVisualize.GLVisualizeShader, ::Dict{Symbol,Any}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLAbstraction/GLShader.jl:256
   [6] GLMakie.GLAbstraction.RenderObject(::Dict{Symbol,Any}, ::GLMakie.GLVisualize.GLVisualizeShader, ::GLMakie.GLAbstraction.StandardPrerender, ::Nothing, ::Observables.Observable{GeometryTypes.HyperRectangle{3,Float32}}, ::Nothing) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLAbstraction/GLTypes.jl:347
   [7] assemble_robj(::Dict{Symbol,Any}, ::GLMakie.GLVisualize.GLVisualizeShader, ::Observables.Observable{GeometryTypes.HyperRectangle{3,Float32}}, ::UInt32, ::Nothing, ::Nothing) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/utils.jl:38
   [8] assemble_shader(::Dict{Symbol,Any}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/utils.jl:65
   [9] visualize(::Any, ::GLMakie.GLAbstraction.Style{:linesegment}, ::Dict{Symbol,Any}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/GLVisualize/visualize_interface.jl:21
   [10] (::getfield(GLMakie, Symbol("##69#70")){LineSegments{...}})(::Dict{Symbol,Any}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/drawing_primitives.jl:156
   [11] (::getfield(GLMakie, Symbol("##47#50")){getfield(GLMakie, Symbol("##69#70")){LineSegments{...}},GLMakie.Screen,Scene,LineSegments{...}})() at /home/mlr/.julia/packages/GLMakie/nDrlO/src/drawing_primitives.jl:40
   [12] get!(::getfield(GLMakie, Symbol("##47#50")){getfield(GLMakie, Symbol("##69#70")){LineSegments{...}},GLMakie.Screen,Scene,LineSegments{...}}, ::Dict{UInt64,GLMakie.GLAbstraction.RenderObject}, ::UInt64) at ./dict.jl:453
   [13] cached_robj!(::getfield(GLMakie, Symbol("##69#70")){LineSegments{...}}, ::GLMakie.Screen, ::Scene, ::LineSegments{...}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/drawing_primitives.jl:33
   [14] draw_atomic at /home/mlr/.julia/packages/GLMakie/nDrlO/src/drawing_primitives.jl:149 [inlined]
   [15] insert!(::GLMakie.Screen, ::Scene, ::LineSegments{...}) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/drawing_primitives.jl:105
   [16] insertplots!(::GLMakie.Screen, ::Scene) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/screen.jl:51
   [17] display(::GLMakie.Screen, ::Scene) at /home/mlr/.julia/packages/GLMakie/nDrlO/src/screen.jl:89
   [18] scene2image at /home/mlr/.julia/packages/GLMakie/nDrlO/src/gl_backend.jl:68 [inlined]
   [19] backend_show at /home/mlr/.julia/packages/GLMakie/nDrlO/src/gl_backend.jl:78 [inlined]
   [20] show(::IOContext{IOStream}, ::MIME{Symbol("image/jpeg")}, ::Scene) at /home/mlr/.julia/packages/AbstractPlotting/UgfGB/src/display.jl:57
   [21] #698 at /home/mlr/.julia/packages/AbstractPlotting/UgfGB/src/display.jl:134 [inlined]
   [22] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(AbstractPlotting, Symbol("##698#699")){FileIO.DataFormat{:JPEG},Scene}, ::String, ::Vararg{String,N} where N) at ./iostream.jl:369
   [23] open at ./iostream.jl:367 [inlined]
   [24] #save#697 at /home/mlr/.julia/packages/AbstractPlotting/UgfGB/src/display.jl:133 [inlined]
   [25] save(::FileIO.File{FileIO.DataFormat{:JPEG}}, ::Scene) at /home/mlr/.julia/packages/AbstractPlotting/UgfGB/src/display.jl:132
   [26] #save#15(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String, ::Scene) at /home/mlr/.julia/packages/FileIO/e8FNK/src/loadsave.jl:118
   [27] save at /home/mlr/.julia/packages/FileIO/e8FNK/src/loadsave.jl:118 [inlined]
   [28] save_media at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/io.jl:3 [inlined]
   [29] (::getfield(MakieGallery, Symbol("##99#101")){Tuple{Int64,Int64},String})(::MakieGallery.CellEntry, ::Scene) at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/io.jl:221
   [30] (::getfield(MakieGallery, Symbol("##78#79")){Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#100")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#100")){String}}}},getfield(MakieGallery, Symbol("##99#101")){Tuple{Int64,Int64},String}})(::MakieGallery.CellEntry) at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/database.jl:567
   [31] #enumerate_examples#61(::Int64, ::Nothing, ::Function, ::getfield(MakieGallery, Symbol("##78#79")){Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#100")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#100")){String}}}},getfield(MakieGallery, Symbol("##99#101")){Tuple{Int64,Int64},String}}) at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/database.jl:498
   [32] #enumerate_examples at ./none:0 [inlined]
   [33] #eval_examples#77 at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/database.jl:565 [inlined]
   [34] #eval_examples at ./none:0 [inlined]
   [35] #record_examples#98(::Tuple{Int64,Int64}, ::Bool, ::Bool, ::Function, ::String) at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/io.jl:215
   [36] record_examples(::String) at /home/mlr/.julia/packages/MakieGallery/XPV7A/src/io.jl:198
   [37] top-level scope at none:0
   [38] include at ./boot.jl:326 [inlined]
   [39] include_relative(::Module, ::String) at ./loading.jl:1038
   [40] include(::Module, ::String) at ./sysimg.jl:29
   [41] include(::String) at ./client.jl:403
   [42] top-level scope at none:0
  in expression starting at /home/mlr/.julia/packages/Makie/ogxgz/test/runtests.jl:12
  ERROR: Package Makie errored during testing
  Stacktrace:
   [1] pkgerror(::String, ::Vararg{String,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:120
   [2] #test#66(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1328
   [3] #test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:0 [inlined]
   [4] #test#44(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:193
   [5] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:178 [inlined]
   [6] #test#43 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:175 [inlined]
   [7] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:175 [inlined]
   [8] #test#42 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:174 [inlined]
   [9] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:174 [inlined]
   [10] #test#41(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:173
   [11] test(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:173
   [12] top-level scope at none:0
SimonDanisch commented 5 years ago

Seems like tags finally went through... I started tagging yesterday, but it was held up by hiccups in the registry - which is unfortunate since I need to tag the Makie packages together. So now you're on a new version of the tests including tests for bug fixes, while not having the bug fix versions of AbstractPlotting! add GLMakie#master AbstractPlotting#master should fix this!

judober commented 5 years ago

I'm experiencing the same issue with test Makie. The suggested solution of add GLMakie#master AbstractPlotting#master shows an error due to version incompatibilities:

ERROR: Unsatisfiable requirements detected for package ImageFiltering [6a3955dd]:
 ImageFiltering [6a3955dd] log:
 ├─possible versions are: [0.0.1-0.0.2, 0.1.0-0.1.4, 0.2.0-0.2.3, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.1] or uninstalled
 ├─restricted to versions * by GLMakie [e9467ef8], leaving only versions [0.0.1-0.0.2, 0.1.0-0.1.4, 0.2.0-0.2.3, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.1]
 │ └─GLMakie [e9467ef8] log:
 │   ├─possible versions are: 0.0.5 or uninstalled
 │   └─GLMakie [e9467ef8] is fixed to version 0.0.5
 ├─restricted to versions 0.6.1 by an explicit requirement, leaving only versions 0.6.1
 └─restricted by compatibility requirements with MakieGallery [dbd62bd0] to versions: [0.0.1-0.0.2, 0.1.0-0.1.4, 0.2.0-0.2.3, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.4] — no versions left
   └─MakieGallery [dbd62bd0] log:
     ├─possible versions are: 0.0.1-0.0.7 or uninstalled
     └─restricted to versions 0.0.6-* by an explicit requirement, leaving only versions 0.0.6-0.0.7

add ImageFiltering#master does not help. free GLMakie seems to be the solution here but it brings back the test error when running linesegments___colors. Any suggestions how to solve this?

asinghvi17 commented 5 years ago

Looks like MakieGallery's requirements might be too strict.

asinghvi17 commented 5 years ago

@judober could you try adding MakieGallery#as/bump-compat? That should resolve the version incompatibility, the port from METADATA to General has been a bit of a pain in that respect.

judober commented 5 years ago

By using add GLMakie#master AbstractPlotting#master and MakieGallery#as/bump-compat, the running linesegments___colors is passed. However the running statsmakie fails:

running statsmakie
Example Analysis failed with source:
    using AbstractPlotting, Makie
     using StatsMakie
     using DataFrames, RDatasets # for data
     using StatsMakie: smooth, linear
     using Distributions

         mtcars = dataset("datasets", "mtcars")    # load dataset of car statistics
         iris = dataset("datasets", "iris")

         disallowmissing!.([mtcars, iris])  # convert columns from Union{T, Missing} to T
         # We can use this because the dataset has no missing values.

ERROR: LoadError: LoadError: ArgumentError: Package Distributions not found in current path:
- Run `import Pkg; Pkg.add("Distributions")` to install the Distributions package.

Adding Distributions on my end doesn't help so I guess it has to be added to Makie somewhere...

asinghvi17 commented 5 years ago

Looks like I need to update the MakieGallery Project.toml some more...will get back to you when I'm done with that. Would you mind posting issues as they come through? Thanks.

asinghvi17 commented 5 years ago

@judober could you ]up and try again?

judober commented 5 years ago

Alright, now the dependencies for Distributions don't seem to work out:

ERROR: Unsatisfiable requirements detected for package Distributions [31c24e10]:
 Distributions [31c24e10] log:
 ├─possible versions are: [0.1.0-0.1.4, 0.2.0-0.2.13, 0.3.0, 0.6.4-0.6.7, 0.7.0-0.7.6, 0.8.0-0.8.10, 0.9.0, 0.10.0-0.10.2, 0.11.0-0.11.1, 0.12.0-0.12.5, 0.13.0, 0.14.0-0.14.2, 0.15.0, 0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2] or uninstalled
 ├─restricted to versions * by MakieGallery [dbd62bd0], leaving only versions [0.1.0-0.1.4, 0.2.0-0.2.13, 0.3.0, 0.6.4-0.6.7, 0.7.0-0.7.6, 0.8.0-0.8.10, 0.9.0, 0.10.0-0.10.2, 0.11.0-0.11.1, 0.12.0-0.12.5, 0.13.0, 0.14.0-0.14.2, 0.15.0, 0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2]
 │ └─MakieGallery [dbd62bd0] log:
 │   ├─possible versions are: 0.0.7 or uninstalled
 │   └─MakieGallery [dbd62bd0] is fixed to version 0.0.7+
 ├─restricted to versions 0.19.2 by an explicit requirement, leaving only versions 0.19.2
 └─restricted by compatibility requirements with StatsMakie [65254759] to versions: [0.1.0-0.1.4, 0.2.0-0.2.13, 0.3.0, 0.6.4-0.6.7, 0.7.0-0.7.6, 0.8.0-0.8.10, 0.9.0, 0.10.0-0.10.2, 0.11.0-0.11.1, 0.12.0-0.12.5, 0.13.0, 0.14.0-0.14.2, 0.15.0, 0.16.0-0.16.4, 0.17.0, 0.18.0] — no versions left
   └─StatsMakie [65254759] log:
     ├─possible versions are: 0.0.1-0.0.4 or uninstalled
     └─restricted to versions 0.0.0-* by an explicit requirement, leaving only versions 0.0.1-0.0.4
asinghvi17 commented 5 years ago

Okay, looks like it's time to file a PR on StatsMakie too...damn, this incompatibility stuff really hits hard.

asinghvi17 commented 5 years ago

@judober could you try ]add StatsMakie#as/bump-compat and then do the test? Sorry I can't do this myself, but my computer can't actually run Makie at the moment :(

judober commented 5 years ago

Ok, now there is a problem with CSV.jl. I think there were some changes to this package recently...

running statsmakie
Example Analysis failed with source:
    using AbstractPlotting, Makie
     using StatsMakie
     using DataFrames, RDatasets # for data
     using StatsMakie: smooth, linear
     using Distributions

         mtcars = dataset("datasets", "mtcars")    # load dataset of car statistics
         iris = dataset("datasets", "iris")

         disallowmissing!.([mtcars, iris])  # convert columns from Union{T, Missing} to T
         # We can use this because the dataset has no missing values.

ERROR: LoadError: LoadError: MethodError: no method matching CSV.File(::Base.GenericIOBuffer{Array{UInt8,1}}; delim=',', quotechar='"', missingstring="NA", rows_for_type_detect=200)
asinghvi17 commented 5 years ago

Looks like a problem with RDatasets; unfortunately, I don't even think we can do anything there until they resolve their package with the changes in CSV.jl. I can (temporarily) put a cap on CSV that should solve that, if you'd like, while RDatasets gets up to speed.

judober commented 5 years ago

Well I don't know how long it takes them to solve this, but the old CSV should be allright for now.

asinghvi17 commented 5 years ago

@judober I've made the changes

judober commented 5 years ago

Ok, I'll try...

judober commented 5 years ago

The result is the same as before

asinghvi17 commented 5 years ago

Dangit...could you up and try again? If that still fails I'd honestly say wait till tomorrow, hopefully someone will be able to have a look at RDatasets.

asinghvi17 commented 5 years ago

I just realized...I think it's going to fail anyway because the reference images are not up to date. However, as long as the first couple of tests run it's probably working fine.

asinghvi17 commented 5 years ago

We'll probably have to wait for Simon to regenerate reference images on his end.

judober commented 5 years ago

Alright, then I will leave it be. Thank you anyway.

asinghvi17 commented 5 years ago

Yeah, sorry about that. I'll ping you when it's done.