Skip to content

ExtraFEMFeatures/Heat Equation #9

@francispoulin

Description

@francispoulin

I am very new to Julia and going through some of the neat tutorials people have put together.

I installed Julia 0.6.0 on Ubunbu by downloading the generic version, as requested.

When I run the Heat Equation example the first line seems to go okay but the second has a MethodError, suggesting a method might be too new.

To be able to use this example should I use the most recent (bleeding edge) version? I am happy to do that but wanted to check to see if this is what is necessary.

MethodError: no method matching setcharheight(::Float64)
The applicable method may be too new: running in world age 24141, while current world is 24142.
Closest candidates are:
setcharheight(::Real) at /home/fpoulin/.julia/v0.6/GR/src/GR.jl:1010 (method too new to be called from this world context.)

Stacktrace:
 [1] #gr_set_font#316(::Symbol, ::Symbol, ::ColorTypes.RGB{FixedPointNumbers.Normed{UInt8,8}}, ::Int64, ::Function, ::Plots.Font) at /home/fpoulin/.julia/v0.6/Plots/src/backends/gr.jl:374
 [2] (::Plots.#kw##gr_set_font)(::Array{Any,1}, ::Plots.#gr_set_font, ::Plots.Font) at ./<missing>:0
 [3] gr_set_xticks_font(::Plots.Subplot{Plots.GRBackend}) at /home/fpoulin/.julia/v0.6/Plots/src/backends/gr.jl:561
 [4] _update_min_padding!(::Plots.Subplot{Plots.GRBackend}) at /home/fpoulin/.julia/v0.6/Plots/src/backends/gr.jl:612
 [5] _collect(::Array{RecipesBase.AbstractLayout,2}, ::Base.Generator{Array{RecipesBase.AbstractLayout,2},Plots.#_update_min_padding!}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:454
 [6] _update_min_padding!(::Plots.GridLayout) at /home/fpoulin/.julia/v0.6/Plots/src/layouts.jl:310
 [7] prepare_output(::Plots.Plot{Plots.GRBackend}) at /home/fpoulin/.julia/v0.6/Plots/src/plot.jl:258
 [8] show(::IOStream, ::MIME{Symbol("image/png")}, ::Plots.Plot{Plots.GRBackend}) at /home/fpoulin/.julia/v0.6/Plots/src/output.jl:207
 [9] png(::Plots.Plot{Plots.GRBackend}, ::String) at /home/fpoulin/.julia/v0.6/Plots/src/output.jl:8
 [10] frame(::Plots.Animation, ::Plots.Plot{Plots.GRBackend}) at /home/fpoulin/.julia/v0.6/Plots/src/animation.jl:20
 [11] #animate#252(::Array{Any,1}, ::Function, ::Plots.FrameIterator, ::String) at /home/fpoulin/.julia/v0.6/Plots/src/animation.jl:43
 [12] (::RecipesBase.#kw##animate)(::Array{Any,1}, ::RecipesBase.#animate, ::Plots.FrameIterator, ::String) at ./<missing>:0 (repeats 2 times)
 [13] include_string(::String, ::String) at ./loading.jl:515

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions