Makie.jl测试错误,求老哥看一眼。

Julia 的版本信息

julia> using InteractiveUtils; versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
  1. 在 REPL 中执行 using Pkg; Pkg.status() 来获取当前包管理器的状态
julia> using Pkg; Pkg.status()
    Status `C:\Users\nagai-lab\.julia\environments\v1.1\Project.toml`
  [c52e3926] Atom v0.7.14
  [4d00f742] GeometryTypes v0.7.3
  [e5e0dc1b] Juno v0.5.4
  [ee78f7c6] Makie v0.9.2

安装失败的错误信息

running meshscatter_function
ERROR: LoadError: MethodError: no method matching light_calc(::Observables.Observable{Bool})
Closest candidates are:
  light_calc(::Bool) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\GLVisualize\visualize\surface.jl:53
Stacktrace:
 [1] meshparticle(::Tuple{Observables.Observable{GeometryTypes.HyperSphere{3,Float32}},Observables.Observable{Array{Point{3,Float32},1}}}, ::GLMakie.GLAbstraction.Style{:default}, ::Dict{Symbol,Any}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\GLAbstraction\GLUtils.jl:179
 [2] _default(::Tuple{Observables.Observable{GeometryTypes.HyperSphere{3,Float32}},Observables.Observable{Array{Point{3,Float32},1}}}, ::GLMakie.GLAbstraction.Style{:default}, ::Dict{Symbol,Any}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\GLVisualize\visualize\particles.jl:188
 [3] default(::Any, ::Any, ::Any) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\GLVisualize\visualize_interface.jl:4
 [4] visualize(::Any, ::GLMakie.GLAbstraction.Style{:default}, ::Dict{Symbol,Any}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\GLVisualize\visualize_interface.jl:21
 [5] (::getfield(GLMakie, Symbol("##61#63")){Scene,MeshScatter{...}})(::Dict{Symbol,Any}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\drawing_primitives.jl:123
 [6] (::getfield(GLMakie, Symbol("##47#50")){getfield(GLMakie, Symbol("##61#63")){Scene,MeshScatter{...}},GLMakie.Screen,Scene,MeshScatter{...}})() at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\drawing_primitives.jl:40
 [7] get!(::getfield(GLMakie, Symbol("##47#50")){getfield(GLMakie, Symbol("##61#63")){Scene,MeshScatter{...}},GLMakie.Screen,Scene,MeshScatter{...}}, ::Dict{UInt64,GLMakie.GLAbstraction.RenderObject}, ::UInt64) at .\dict.jl:453
 [8] cached_robj!(::getfield(GLMakie, Symbol("##61#63")){Scene,MeshScatter{...}}, ::GLMakie.Screen, ::Scene, ::MeshScatter{...}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\drawing_primitives.jl:33
 [9] draw_atomic at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\drawing_primitives.jl:112 [inlined]
 [10] insert!(::GLMakie.Screen, ::Scene, ::MeshScatter{...}) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\drawing_primitives.jl:105
 [11] insertplots!(::GLMakie.Screen, ::Scene) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\screen.jl:51
 [12] display(::GLMakie.Screen, ::Scene) at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\screen.jl:89
 [13] scene2image at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\gl_backend.jl:64 [inlined]
 [14] backend_show at C:\Users\nagai-lab\.julia\packages\GLMakie\rAuGK\src\gl_backend.jl:69 [inlined]
 [15] show(::IOContext{IOStream}, ::MIME{Symbol("image/png")}, ::Scene) at C:\Users\nagai-lab\.julia\packages\AbstractPlotting\KIwn9\src\display.jl:62
 [16] #689 at C:\Users\nagai-lab\.julia\packages\AbstractPlotting\KIwn9\src\display.jl:125 [inlined]
 [17] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(AbstractPlotting, Symbol("##689#690")){Scene}, ::String, ::Vararg{String,N} where N) at .\iostream.jl:369
 [18] open at .\iostream.jl:367 [inlined]
 [19] save at C:\Users\nagai-lab\.julia\packages\AbstractPlotting\KIwn9\src\display.jl:124 [inlined]
 [20] save_media at C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\io.jl:3 [inlined]
 [21] (::getfield(MakieGallery, Symbol("##99#101")){Tuple{Int64,Int64},String})(::MakieGallery.CellEntry, ::Scene) at C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\io.jl:221
 [22] (::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 C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\database.jl:551
 [23] #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 C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\database.jl:498
 [24] #enumerate_examples at .\none:0 [inlined]
 [25] #eval_examples#77 at C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\database.jl:549 [inlined]
 [26] #eval_examples at .\none:0 [inlined]
 [27] #record_examples#98(::Tuple{Int64,Int64}, ::Bool, ::Bool, ::Function, ::String) at C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\io.jl:214
 [28] record_examples(::String) at C:\Users\nagai-lab\.julia\packages\MakieGallery\ioVlA\src\io.jl:198
 [29] top-level scope at none:0
 [30] include at .\boot.jl:326 [inlined]
 [31] include_relative(::Module, ::String) at .\loading.jl:1038
 [32] include(::Module, ::String) at .\sysimg.jl:29
 [33] include(::String) at .\client.jl:403
 [34] top-level scope at none:0
in expression starting at C:\Users\nagai-lab\.julia\packages\Makie\6qGoc\test\runtests.jl:20
ERROR: Package Makie errored during testing

中文论坛上似乎没有参与开发Makie的人,你可以在英文论坛上 discourse.julialang.org 问,作者本人在上面。我建议先 up GLMakie 更新到新版本试一下。

看起来是Makie的bug。

GLMakie => master