Skip to content

[BUG] Code Chunk run Latex code block, report ENOENT error #2195

@athranzara

Description

@athranzara

Describe the bug
Code Chunk run Latex code block, reporting "Error: ENOENT: no such file or directory"

Environment

  • OS: Rocky Linux 8.1
  • VSCode: 1.103.2
  • Markdown Preview Enhanced: 0.8.20

To Reproduce
Steps to reproduce the behavior:

  1. switch on Enable Script Execution
  2. Click run code trunk
  3. See error
    EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/tmp/crossnote_pdf20251118-3056508-95b8kd.lgn3/0dae71280763dbd4eda2a572fac83ed6_1.svg?0.7421783629815563'

p.s. "/tmp/crossnote_pdf20251118-3056508-95b8kd.lgn3/0dae71280763dbd4eda2a572fac83ed6_1.svg" exists, yet it is complaining not finding 0dae71280763dbd4eda2a572fac83ed6_1.svg?0.7421783629815563

Markdown file

test.md
/////////////

\documentclass{standalone}
\begin{document}
   Hello world!
\end{document}

////////////

Screenshots

Image

Additional context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions