mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

Error when building pdf - Log file not found

Open jonmatthis opened this issue 1 year ago • 0 comments

Building a PDF with the plain_latex template on a Mac

Header:

---
title: Title!
date: 2-2-3
exports: 
  - format: pdf
  - template: plain_latex
---

Command: myst build --pdf Error message:

[other logs]
🖨  Rendering PDF (default) to _build/temp/mystJARPx5/project-description_0.pdf
🖨  Rendering PDF (plain_latex) to _build/temp/mystRnTq3V/project-description_1.pdf
Error: ENOENT: no such file or directory, open '/Users/jon/github_repos/freemocap_organization/2024-nsf-pose/_build/temp/mystJARPx5/project-description_0.log'
Error: ENOENT: no such file or directory, open '/Users/jon/github_repos/freemocap_organization/2024-nsf-pose/_build/temp/mystRnTq3V/project-description_1.log'

Likely problem - Both of the temp files reference contain a document called ...project-description_0.shell.log but the code appears to be looking for a file named ...project-description_0.log

May be a mac thing? I'm pretty sure it built fine on my Windows PC, but I'm not sure.

jonmatthis avatar Aug 12 '24 15:08 jonmatthis