TexText ZeroDivisionError #1698
Unanswered
saudzahirr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using TexText, there is ZeroDivisionError!
Code and Error
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-84 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-104 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-105 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-110 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-107 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-115 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-111 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-109 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-101 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-118 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-99 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-116 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-114 not recognized
warnings.warn(f"{ref} not recognized")
c:\python39\lib\site-packages\manimlib\mobject\svg\svg_mobject.py:134: UserWarning: g0-46 not recognized
warnings.warn(f"{ref} not recognized")
Traceback (most recent call last):
File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\manimgl.exe_main.py", line 7, in
File "c:\python39\lib\site-packages\manimlib_main.py", line 25, in main
scene.run()
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 78, in run
self.construct()
File "test.py", line 12, in construct
Write(words),
File "c:\python39\lib\site-packages\manimlib\animation\creation.py", line 139, in init
self.set_default_config_from_length(mobject)
File "c:\python39\lib\site-packages\manimlib\animation\creation.py", line 150, in set_default_config_from_length
self.lag_ratio = min(4.0 / length, 0.2)
ZeroDivisionError: float division by zero
Environment
OS System: Windows 10
manim version: ManimGL v1.3.0
python version: Python 3.9.2
Beta Was this translation helpful? Give feedback.
All reactions