GESIS-Methods-Hub / andrew

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

Build complete example fail due `pandoc: : withBinaryFile: does not exist` #162

Closed rgaiacs closed 1 year ago

rgaiacs commented 1 year ago
INFO [2023-07-27 13:34:31] Location of docker_scripts directory: /home/gitlab-runner/R/library/andrew/docker-scripts
INFO [2023-07-27 13:34:31] Location of pandoc_filters directory: /home/gitlab-runner/R/library/andrew/pandoc-filters
INFO [2023-07-27 13:34:31] Location of output directory: /home/gitlab-runner/builds/objTpwjZ/0/methods-hub/andrew/demo/GESIS-Methods-Hub/complete-example-md
INFO [2023-07-27 13:34:31] Location of output directory inside the container: /tmp/andrew
INFO [2023-07-27 13:34:31] 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/complete-example-md --metadata github_user_name:GESIS-Methods-Hub --metadata github_repository_name:complete-example-md --metadata docker_image:andrew/gesis-methods-hub/complete-example-md:43f931b1f7a4233a0b94107867f8568bdf0db64f --metadata git_hash:43f931b1f7a4233a0b94107867f8568bdf0db64f --metadata git_date:2023-07-19 --metadata info_quarto_version:1.4.243 --metadata source_filename:index.md
  to: markdown
  standalone: true
  default-image-extension: png

metadata
  title: Complete Example of Tutorial in Markdown
  author:
    - name:
        given: Raniere Gaia
        family: Costa da Silva
      email: Raniere.CostadaSilva@gesis.org
      orcid: 0000-0002-8381-3749
      attributes:
        corresponding: true
      affiliations:
        - name: GESIS Leibniz Institute for the Social Sciences
          department: Computational Social Science
          team: Transparent Social Analytics
          url: 'https://www.gesis.org'/
    - name:
        given: David
        family: Schoch
      orcid: 0000-0003-2952-4812
      affiliations:
        - name: GESIS Leibniz Institute for the Social Sciences
          department: Computational Social Science
          team: Transparent Social Analytics
          url: 'https://www.gesis.org'/
  image: img/cover.jpg
  prefer-html: true

pandoc: : withBinaryFile: does not exist (No such file or directory)
INFO [2023-07-27 13:34:34] Rendering complete. Docker returned 1.
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