3b1b / 3b1b/manim

Issue running WriteStuff

未關閉
#1,242 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

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?

貢獻指南

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

研究方向

此錯誤發生在 tex_file_writing.py 中,將 LaTeX 轉換為 DVI 時。先檢查提到的日誌文件(Tex/3b64c623784a415b.log)以識別 LaTeX 錯誤。查看 example_scenes.py 中第 100 行的 WriteStuff 場景以查看 TexMobject 呼叫。驗證 LaTeX 安裝和依賴,並測試問題是否特定於 tex_to_color_map 參數或缺少的 LaTeX 套件。

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

評估

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

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

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