3b1b / 3b1b/manim

OSError: No file matching X:\path-to-dir\*.svg in image directory

Abierto
#1,266 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
93.8k
Forks
7.7k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

After installing the complete manim package and required associated libraries, I successfully passed the test by running all the test scenes.
Now while experimenting with manim and my own scenes, in every animation involving a TexMobject and a transformation from tex->dvi->svg I receive the error:

`OSError: No file matching X:\path-to-dir\*.svg in image directory.`

The odd thing is that if I re-run the command to compile the scene multiple times, it stops giving this error, until the next scene involving the tex->dvi->svg procedure mentioned above. Then it also gives a few times the "No *.svg in image directory." error a few times, until eventually completing it too

Let me note that for every animation NOT INVOLVING MATH USING LATEX, the script runs with no errors. So my thought is there is some kind of problem when using dvisvgm. It is updated to the latest version 2.4.2.

I suppose dvisvgm does not copy the svg files in time for the manim script to find them in the image directory in the first run of the script but in the second time the svg file is there and therefore it proceeds to the next one needed for the animation?

Is there any way to avoid this kind of confusion so that the compiling runs smoothly in the first try? I am running it on Windows 10 and using texlive instead of MikTeX. Any help will be much appreciated!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.