JuliaDynamics / InteractiveDynamics.jl

Fast, general-purpose interactive applications for complex systems
https://juliadynamics.github.io/InteractiveDynamics.jl/dev/
MIT License
173 stars 25 forks source link

orbit diagram window crash #3

Closed yuxi-liu-wired closed 4 years ago

yuxi-liu-wired commented 4 years ago
using InteractiveChaos, Makie

i = 1
p_index = 1

systems = [(Systems.logistic(), 3.0, 4.0, "r"),
           (Systems.henon(), 0.8, 1.4, "a"),
           (Systems.standardmap(), 0.6, 1.2, "k")]

ds, p_min, p_max, parname = systems[1]

oddata = interactive_orbitdiagram(
           ds, i, p_index, p_min, p_max;
           parname = parname
         )

Then I zoomed really deep, and then suddenly the orbit diagram window closed. The control window is still up. The error message in the terminal is:

┌ Error: Error in renderloop!
│   exception = GLFWError (PLATFORM_ERROR): WGL: Failed to make context current: The handle is invalid.
└ @ GLMakie C:\Users\DeadScholar\.julia\packages\GLMakie\XqcM3\src\rendering.jl:19
┌ Error: Error in renderloop!
│   exception = GLFWError (PLATFORM_ERROR): WGL: Failed to make context current: The handle is invalid.
└ @ GLMakie C:\Users\DeadScholar\.julia\packages\GLMakie\XqcM3\src\rendering.jl:24

I'm using this on Windows 10, Julia 1.3.1, and packages

  [c52e3926] Atom v0.11.3
  [ecbce9bc] BenchmarkProfiles v0.3.0
  [6e4b80f9] BenchmarkTools v0.4.3
  [ad839575] Blink v0.12.1
  [336ed68f] CSV v0.5.21
  [608a59af] ChaosTools v1.8.3
  [3da002f7] ColorTypes v0.9.0
  [5ae59095] Colors v0.11.1
  [a81c6b42] Compose v0.7.3
  [8f4d0f93] Conda v1.3.0
  [a93c6f00] DataFrames v0.20.0
  [31a5f54b] Debugger v0.6.2
  [5732040d] DelayEmbeddings v1.3.0
  [2b5f629d] DiffEqBase v6.10.0
  [0c46a032] DifferentialEquations v6.9.0
  [31c24e10] Distributions v0.21.12
  [61744808] DynamicalSystems v1.3.0
  [6e36e845] DynamicalSystemsBase v1.5.0 
  [7876af07] Example v0.5.3
  [7a1cc6ca] FFTW v1.2.0
  [587475ba] Flux v0.8.3
  [f6369f11] ForwardDiff v0.10.8
  [cd3eb016] HTTP v0.8.8
  [0e44f5e4] Hwloc v1.0.3
  [7073ff75] IJulia v1.20.2
  [6218d12a] ImageMagick v1.1.1
  [916415d5] Images v0.20.0
  [c601a237] Interact v0.10.3
  [81850811] InteractiveChaos v0.3.2
  [4076af6c] JuMP v0.20.1
  [e5e0dc1b] Juno v0.7.2
  [1902f260] Knet v1.3.2
  [b964fa9f] LaTeXStrings v1.0.3
  [2ee39098] LabelledArrays v1.0.0
  [ee78f7c6] Makie v0.9.5
  [66fc600b] ModernGL v1.1.2
  [47be7bcc] ORCA v0.3.1
  [510215fc] Observables v0.2.3
  [5fb14364] OhMyREPL v0.5.3
  [1dea7af3] OrdinaryDiffEq v5.26.7
  [149e707d] PkgDev v1.2.0
  [f0f68f2c] PlotlyJS v0.13.0
  [91a5bcdd] Plots v0.28.4
  [c46f51b8] ProfileView v0.5.2
  [92933f4c] ProgressMeter v1.2.0
  [438e738f] PyCall v1.91.2
  [d330b81b] PyPlot v2.8.2
  [ce6b1742] RDatasets v0.6.6
  [639c3291] RecurrenceAnalysis v1.0.3
  [295af30f] Revise v2.5.0
  [05bca326] SimpleDiffEq v1.0.2
  [90137ffa] StaticArrays v0.12.1
  [2913bbd2] StatsBase v0.32.0
  [24249f21] SymPy v1.0.10
  [fce5fe82] Turing v0.7.4
  [b8865327] UnicodePlots v1.1.0
  [0f1e0344] WebIO v0.8.13
  [e88e6eb3] Zygote v0.4.3
  [3fa0cd96] REPL
Datseris commented 4 years ago

Sorry, notifications were off for this repo. I think this was a Makie problem with a old version, I run the apps last week and they worked. Let me know if they fail still.