3b1b / 3b1b/manim

Issue running WriteStuff

未關閉
#1,242 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.8k
分支
7.7k
PR 合併指標
PR 指標待擷取

描述

I was able to run SquareToCircle, but when running WriteStuff I get the following error

> Traceback (most recent call last):
File "C:\manim\manim_\manimlib\extract_scene.py", line 153, in main
scene = SceneClass(**scene_kwargs)
File "C:\manim\manim_\manimlib\scene\scene.py", line 54, in __init__
self.construct()
File "example_scenes.py", line 100, in construct
tex_to_color_map={"text": YELLOW}
File "C:\manim\manim_\manimlib\mobject\svg\tex_mobject.py", line 144, in __init__
self, self.arg_separator.join(tex_strings), **kwargs
File "C:\manim\manim_\manimlib\mobject\svg\tex_mobject.py", line 45, in __init__
self.template_tex_file_body
File "C:\manim\manim_\manimlib\utils\tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "C:\manim\manim_\manimlib\utils\tex_file_writing.py", line 67, in tex_to_dvi
"See log output above or the log file: %s" % log_file)
Exception: Latex error converting to dvi. See log output above or the log file: C:\manim\manim_\manimlib\files\Tex\3b64c623784a415b.log

I tried running the error file and after a while (around 3 minutes) it showed the document without any error
Any help?

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

The error occurs in tex_file_writing.py when converting LaTeX to DVI. Start by examining the log file mentioned (Tex/3b64c623784a415b.log) to identify the LaTeX error. Check the WriteStuff scene in example_scenes.py line 100 to see the TexMobject call. Verify LaTeX installation and dependencies, and test if the issue is specific to the tex_to_color_map argument or a missing LaTeX package.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
40/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。