GESIS-Methods-Hub / andrew

Content Aggregation System for tutorials and vignette of reproducible computational methods.
https://gesis-methods-hub.github.io/andrew/
2 stars 0 forks source link

Build minimal example fail due `pandoc: : withBinaryFile: does not exist` #163

Closed rgaiacs closed 1 year ago

rgaiacs commented 1 year ago
INFO [2023-07-27 13:34:37] Location of docker_scripts directory: /home/gitlab-runner/R/library/andrew/docker-scripts
INFO [2023-07-27 13:34:37] Location of pandoc_filters directory: /home/gitlab-runner/R/library/andrew/pandoc-filters
INFO [2023-07-27 13:34:37] Location of output directory: /home/gitlab-runner/builds/objTpwjZ/0/methods-hub/andrew/demo/GESIS-Methods-Hub/minimal-example-md
INFO [2023-07-27 13:34:37] Location of output directory inside the container: /tmp/andrew
INFO [2023-07-27 13:34:37] Rendering using md2md.sh ...
/srv/conda/envs/notebook/lib/python3.10/subprocess.py:961: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
git version 2.17.1
index.md has a YAML header!
pandoc --output index.md-tmp --shift-heading-level-by 0   --metadata method:true --metadata citation:true --metadata github_https:https://github.com/GESIS-Methods-Hub/minimal-example-md --metadata github_user_name:GESIS-Methods-Hub --metadata github_repository_name:minimal-example-md --metadata docker_image:andrew/gesis-methods-hub/minimal-example-md:9a9a9c993fecba5929b53077065e78f06204a64b --metadata git_hash:9a9a9c993fecba5929b53077065e78f06204a64b --metadata git_date:2023-07-25 --metadata info_quarto_version:1.4.243 --metadata source_filename:index.md
  to: markdown
  standalone: true
  default-image-extension: png

metadata
  title: Minimal Example of Tutorial in Quarto Markdown
  author: Raniere Silva
  image: img/cover.jpg
  image-alt: Individual letter stamp in metal box.
  bibliography:
    - references.bib
  prefer-html: true

pandoc: : withBinaryFile: does not exist (No such file or directory)
rgaiacs commented 1 year ago

The cause is

$ pandoc --from markdown --to html "" mwe.md 
pandoc: : withBinaryFile: does not exist (No such file or directory)

and was introduced in https://github.com/GESIS-Methods-Hub/andrew/pull/160