Skip to content

No such file or directory: /tmp/mdkatex/adcebc8e8ae41063cc456af7bc8c63e5b2023b67b78beea322358d8b8b4409d5.tex #16

@dwLG00

Description

@dwLG00

Whenever I run md.convert(), I get hit with some variation of the error No such file or directory: /tmp/mdkatex/adcebc8e8ae41063cc456af7bc8c63e5b2023b67b78beea322358d8b8b4409d5.tex (line 234 in _write_tex2html of wrapper.py).
Looking in the code, it looks like the problem is caused by trying to delete a temporary tex file that was created but doesn't exist anymore for whatever reason. I'm confused because the file is explicitly created earlier on in _write_tex2html, and if there's any issues with the file creation it should just raise an error then.

The markdown-katex version:
markdown-katex version: v202112.1034 (using binary: /usr/bin/npx --no-install katex) 0.16.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions