Bug description
Hi,
I am trying to use Makie animations in a quarto document, but the execution freezes at the cell in which I create the animation.
Specifically, if I set engine: julia at the top of the document the freeze occurs.
However, if I define jupyter: julia-1.11 at the top instead, the execution works just fine.
For the engine: julia case, I have noticed that Makie calls ffmpeg internally, which seems to be the step where the execution gets stuck on.
See the code below for a test-case.
I used quarto-1.6.32 and Julia 1.11.1 and I have tested this on two different Linux machines.
Steps to reproduce
I tested this scenario with the following .qmd file:
---
engine: julia
---
```{julia}
using Pkg
Pkg.activate(".")
Pkg.instantiate()
using CairoMakie
```
## Test
test
```{julia}
#| output: true
#| label: fig-animation
#| fig-cap: Test animation
function animation()
points = Observable(Point2f[(0, 0)])
fig, ax = scatter(points)
limits!(ax, 0, 30, 0, 30)
frames = 1:1000
Record(fig, frames;
framerate = 30) do frame
new_point = Point2f(frame, frame)
points[] = push!(points[], new_point)
end
end
animation()
```
The animation is taken from Makie's documentation: link
Note that a Julia environment with Makie and CairoMakie needs to installed in the same directory where this sample .qmd file is located.
The render command I used is: quarto render test.qmd
Expected behavior
No response
Actual behavior
No response
Your environment
- OS1: Tuxedo OS 2 - kernel: Linux 6.11.0-103009-tuxedo
- OS2: Red Hat Enterprise Linux 8.8 (Ootpa) - kernel: Linux 4.18.0-477.51.1.el8_8.x86_64
Quarto check output
Quarto 1.6.32
[✓] Checking environment information...
Quarto cache location: /home/jmenzel/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.32
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/bin
Version: 2021
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: 5.7.2
Kernels: python3, julia-1.11, julia-1.10
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
Bug description
Hi,
I am trying to use Makie animations in a quarto document, but the execution freezes at the cell in which I create the animation.
Specifically, if I set
engine: juliaat the top of the document the freeze occurs.However, if I define
jupyter: julia-1.11at the top instead, the execution works just fine.For the
engine: juliacase, I have noticed that Makie calls ffmpeg internally, which seems to be the step where the execution gets stuck on.See the code below for a test-case.
I used quarto-1.6.32 and Julia 1.11.1 and I have tested this on two different Linux machines.
Steps to reproduce
I tested this scenario with the following .qmd file:
The animation is taken from Makie's documentation: link
Note that a Julia environment with Makie and CairoMakie needs to installed in the same directory where this sample .qmd file is located.
The render command I used is:
quarto render test.qmdExpected behavior
No response
Actual behavior
No response
Your environment
Quarto check output
Quarto 1.6.32
[✓] Checking environment information...
Quarto cache location: /home/jmenzel/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.32
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/bin
Version: 2021
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: 5.7.2
Kernels: python3, julia-1.11, julia-1.10
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........(None)