Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build freeze #248

Closed
1 task done
t-bltg opened this issue Jul 20, 2021 · 9 comments
Closed
1 task done

Build freeze #248

t-bltg opened this issue Jul 20, 2021 · 9 comments

Comments

@t-bltg
Copy link
Member

t-bltg commented Jul 20, 2021

Now that Documenter@0.27.4 is out, we're trying #246, but the build hangs.

Example:

@t-bltg t-bltg changed the title Reduce build time Build freeze Jul 20, 2021
@t-bltg
Copy link
Member Author

t-bltg commented Jul 20, 2021

CI

Procedure

[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
┌ Debug: Running doctests.
└ @ Documenter.DocTests ~/.julia/packages/Documenter/oBZFM/src/DocTests.jl:47
[ Info: ExpandTemplates: expanding markdown templates.
┌ Debug: pages
│   keys(doc.blueprint.pages) =
│    KeySet for a Dict{String, Documenter.Documents.Page} with 35 entries. Keys:"generated/attributes_series.md"
│   priority_pages = String[]
│   normal_pages =35-element Vector{String}:"animations.md"
└ @ Documenter.Expanders ~/.julia/packages/Documenter/oBZFM/src/Expanders.jl:36
┌ Debug: Running ExpanderPipeline on animations.md
└ @ Documenter.Expanders ~/.julia/packages/Documenter/oBZFM/src/Expanders.jl:39

LOCAL

Procedure:

$ julia -e 'using Pkg; pkg"up"'
$ julia -e 'using Pkg; pkg"dev https://github.com/JuliaPlots/PlotReferenceImages.jl; dev https://github.com/JuliaPlots/PlotDocs.jl"'
$ cd ~/.julia/dev/PlotDocs; JULIA_DEBUG=Documenter julia --project=docs/ docs/make.jl
Gtk-Message: 16:07:38.275: Failed to load module "appmenu-gtk-module"
Gtk-Message: 16:07:38.276: Failed to load module "appmenu-gtk-module"
WARNING: both jlgr and Base export "step"; uses of it in module GR must be qualified
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
┌ Debug: Running doctests.
└ @ Documenter.DocTests ~/.julia/packages/Documenter/oBZFM/src/DocTests.jl:47
[ Info: ExpandTemplates: expanding markdown templates.
┌ Debug: pages
│   keys(doc.blueprint.pages) =
│    KeySet for a Dict{String, Documenter.Documents.Page} with 35 entries. Keys:"generated/attributes_series.md""generated/attributes_subplot.md""generated/plotthemes.md""graphrecipes/examples.md""contributing.md""basics.md""install.md""colorschemes.md""output.md""generated/plotly.md""graphrecipes/introduction.md""animations.md""generated/colorschemes.md""ecosystem.md"
│   priority_pages = String[]
│   normal_pages =35-element Vector{String}:"animations.md""attributes.md""backends.md""basics.md""colors.md""colorschemes.md""contributing.md""install.md""layouts.md""learning.md""output.md""pipeline.md""recipes.md""tutorial.md"
└ @ Documenter.Expanders ~/.julia/packages/Documenter/oBZFM/src/Expanders.jl:36
┌ Debug: Running ExpanderPipeline on animations.md
└ @ Documenter.Expanders ~/.julia/packages/Documenter/oBZFM/src/Expanders.jl:39

@t-bltg
Copy link
Member Author

t-bltg commented Jul 21, 2021

Hangs at Core.eval(mod, ex) in Documenter/src/Expanders.jl (in function Selectors.runner(::Type{ExampleBlocks}, x, page, doc))

┌ Info: anim = #= none:2 =# @animate(for i = 1:n
│             #= none:3 =#circleplot(x, y, i)
└         end)

@t-bltg
Copy link
Member Author

t-bltg commented Jul 21, 2021

Commenting

c = IOCapture.capture() do
   ...
end

works ...

@t-bltg
Copy link
Member Author

t-bltg commented Jul 21, 2021

Tracked down to show_msg && @info("Saved animation to ", fn) in animation.jl.

@t-bltg
Copy link
Member Author

t-bltg commented Jul 21, 2021

I disabled all the @animate and @gif in https://github.com/JuliaPlots/PlotDocs.jl/blob/master/docs/src/animations.md for now, and will try to re-enable them one by one.

@t-bltg
Copy link
Member Author

t-bltg commented Jul 21, 2021

Fails on the first @animate. Maybe JuliaPlots/Plots.jl#3660 will help.

@t-bltg
Copy link
Member Author

t-bltg commented Jul 22, 2021

No. This bug is odd.

@t-bltg
Copy link
Member Author

t-bltg commented Jul 23, 2021

I guess FFMPEG updates are not to blame here:
https://github.com/JuliaBinaryWrappers/FFMPEG_jll.jl: FFMPEG-v4.4.0 on 29 May
https://github.com/JuliaIO/FFMPEG.jl: v0.4.1 on 1 June

@t-bltg
Copy link
Member Author

t-bltg commented Jul 27, 2021

Closed by JuliaPlots/Plots.jl@f049f56.

@t-bltg t-bltg closed this as completed Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant