shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.47k stars 173 forks source link

[BUG] EntryNotFound when executing a LaTeX chunk #1878

Open Totoro83 opened 11 months ago

Totoro83 commented 11 months ago

When I try to render a latex chunk with "hide=true" in the preview, I don't get anything, and if "hide=true" is not present, and I press the button to execute the chunk, I get the following error (the file name changes every time):

`EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open 'c:\Users\Totoro\AppData\Local\Temp\crossnote_pdf20231011-4440-1ay6eva.27o3\ddd8fef63edc6b8ac372d8a4bd32898e_1.svg?0.7192307560837352'

Notice that the file ddd8fef63edc6b8ac372d8a4bd32898e_1.svg exists and it's in that location, and when I open it, everything seems to be correct (the chunk is perfectly rendered), but the file ddd8fef63edc6b8ac372d8a4bd32898e_1.svg?0.7192307560837352 does not exist, instead.

Environment

Minimal example test.md

Shapeno commented 11 months ago

I meet the same problem too, is there any solution?

AnthonyMichaelTDM commented 10 months ago

I'm also experiencing this issue

khusmann commented 7 months ago

I'm also getting this in Linux / Ubuntu. File exists, but the ? params in the url seems to be making it invalid...

Chlorine628 commented 7 months ago

Downgrading to v0.8.5 will solve this issue ( temporarily ) .

johnarens commented 5 months ago

I'm also getting this in Linux / Ubuntu. File exists, but the ? params in the url seems to be making it invalid...

I have the same problem on Ubuntu 22.04.