Skip to content

Pandoc memory issue in amd64 docker container emulated on M1 Mac #2716

Closed
@jimjam-slam

Description

@jimjam-slam

Bug description

This might be better directed to @rocker-org, but I'll start here! I've endeavoured to set up a VSCode devcontainer for our Quarto projects based on the R community devcontainer template (which in turn uses the rocker/r-ver:4.2 Docker image). Quarto is included in the image, but attempts to render a test case lead to a Pandoc error:

image

$ quarto render index.qmd

Killed
Error in strsplit(info, "\n")[[1]] : subscript out of bounds
Calls: .main ... pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version
In addition: Warning message:
In system(paste(shQuote(path), "--version"), intern = TRUE) :
  running command ''/usr/local/bin/pandoc' --version' had status 137
Execution halted

Even just running pandoc --version, using the version of Pandoc that Quarto appears to be calling, fails:

$ pandoc --version

Killed

I should say that the test case renders fine with my own local Quarto installation!

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions