Skip to content

engine: julia errors  #9344

@dmbates

Description

@dmbates

Bug description

I installed pre-release 1.5.29 to try the engine: julia facility on a Quarto-based book with Julia code chunks at https://github.com/JuliaMixedModels/EmbraceUncertainty . See the db/juliarunner branch of the repository. I consistently get errors like

Running [37/40] at line 742:  dsm01trace = fit(
Running [38/40] at line 779:  only(dsm01.b)
Running [39/40] at line 803:  caterpillar!(
Running [40/40] at line 818:  qqcaterpillar!(
ERROR: TypeError: output.text.map is not a function

Stack trace:
    at mdOutputStream (file:///Applications/quarto/bin/quarto.js:32951:37)
    at mdFromCodeCell (file:///Applications/quarto/bin/quarto.js:32858:29)
    at jupyterToMarkdown (file:///Applications/quarto/bin/quarto.js:32287:34)
    at eventLoopTick (ext:core/01_core.js:153:7)
    at async Object.execute (file:///Applications/quarto/bin/quarto.js:41272:25)
    at async renderExecute (file:///Applications/quarto/bin/quarto.js:77765:27)
    at async renderFileInternal (file:///Applications/quarto/bin/quarto.js:77933:43)
    at async renderFiles (file:///Applications/quarto/bin/quarto.js:77801:17)
    at async renderProject (file:///Applications/quarto/bin/quarto.js:78187:25)
    at async Command.actionHandler (file:///Applications/quarto/bin/quarto.js:82777:32)

when trying to render a chapter (intro.qmd in this case).

I have been trying to create a smaller example illustrating this problem but have been unable to do so.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

  • IDE: VSCode: version 1.88
  • julia> versioninfo()
    Julia Version 1.10.2
    Commit bd47eca2c8a (2024-03-01 10:14 UTC)
    Build Info:
    Official https://julialang.org/ release
    Platform Info:
    OS: macOS (arm64-apple-darwin22.4.0)
    CPU: 8 × Apple M1 Pro
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
    Threads: 6 default, 0 interactive, 3 GC (on 6 virtual cores)

(@quarto) pkg> st
Status ~/.julia/environments/quarto/Project.toml
[4c0109c6] QuartoNotebookRunner v0.9.1

Quarto check output

% quarto check
Quarto 1.5.29
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.29
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: v2024.04
      Chromium: 869685

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/dmbates/Library/TinyTeX/bin/universal-darwin
      Version: 2024

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.13 (Conda)
      Path: /Users/dmbates/.julia/conda/3/bin/python3
      Jupyter: 5.7.2
      Kernels: julia-1.11, julia-1.10, julia-1.9, julia-1.12, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.3.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
      knitr: 1.45
      rmarkdown: 2.26

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjulia

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions