Closed pbouffard closed 6 years ago
Same kind of issue with Makie
julia> Makie.Scene()
ERROR (unhandled task failure): MethodError: no method matching (::GLWindow.##23#24{Reactive.Signal{Tuple{Int64,Int64,Int64}}})(::GLFW.Window, ::Int32, ::GLFW.Action, ::Int32)
Closest candidates are:
#23(::Any, ::Int32, ::Int32, ::Int32)
...
Oh, that happens because I import Base.Iterators: filter
which was recommend in some deprecation warning... Jeez, so Base has actually now 2 filter functions, depending on the types?
After upgrade I still have a related (?) issue
julia> using GLVisualize, GeometryTypes
julia> window = GLVisualize.glscreen();
julia> mm = GLNormalMesh(Sphere{Float32}(Point3f0(0), Float32(1.)), 50);
julia> GLVisualize._view(GLVisualize.visualize(mm), window);
julia> GLVisualize.renderloop(window)
The sphere is displayed correctly but when I try to rotate it, the following error comes up
ERROR: MethodError: no method matching (::GLWindow.##23#24{Reactive.Signal{Tuple{Int64,Int64,Int64}}})(::GLFW.Window, ::Int32, ::GLFW.Action, ::Int32)
Closest candidates are:
#23(::Any, ::Int32, ::Int32, ::Int32) at $HOME/.julia/v0.6/GLWindow/src/callbacks.jl:65
Stacktrace:
[1] _MouseButtonCallbackWrapper(::Ptr{Void}, ::Int32, ::GLFW.Action, ::Int32) at $HOME/.julia/v0.6/GLFW/src/callback.jl:53
[2] #renderloop#39(::Float64, ::GLWindow.##40#42, ::Function, ::GLWindow.Screen) at $HOME/.julia/v0.6/GLWindow/src/render.jl:45
[3] renderloop(::GLWindow.Screen) at $HOME/.julia/v0.6/GLWindow/src/render.jl:40
I can't reproduce this (as well as the Makie error). Can you give your Julia version + Pkg.status?
julia Version 0.6.2-pre.0, linux ubuntu,
julia> Pkg.status()
...
- GLAbstraction 0.6.1 master
- GLFW 1.5.0+ master
- GLVisualize 0.6.1+ master
- GLWindow 0.7.1 master
- Makie 0.0.0- master (unregistered)
...
I have the same package version. Will try with julia 0.6.2 (I had 0.6.1 so far)
Ah, I can reproduce it - seems to be about glfw ( I actually wasn't on exactly the same version)
I get it..For the future, could you open new issues for unrelated problems? Your issue isn't about the filter changes, but since it's under the same issue, I assumed that ;)
GLFW is undergoing quite drastic changes... I'd suggest to just pin it to Pkg.pin("GLFW", v"1.4.1")
Possibly just a beginner's mistake?