question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"UserWarning: g0-65 not recognized" and wrong renderization of text

See original GitHub issue

Hi, I just installed manim from pip in Ubuntu 20.04.1 LTS ($ sudo pip3 install manimlib). I have a full stack TexLive installation (as of $ sudo apt install texlive-full), but it seems that I keep getting bad output from the OpeningManimExample in example_scenes.py. Specifically, I get the following output:

➜  ~ manim example_scenes.py -pl --leave_progress_bars
Media will be written to ./media/. You can change this behavior with the --media_dir flag.
1: FirstScene
2: OpeningManimExample
3: SquareToCircle
4: UpdatersExample
5: WarpSquare
6: WriteStuff

Choose number corresponding to desired scene/arguments.
(Use comma separated list for multiple entries)
Choice(s): 2
/usr/local/lib/python3.8/dist-packages/manimlib/mobject/svg/svg_mobject.py:125: UserWarning: g0-65 not recognized
  warnings.warn("%s not recognized" % ref)
Animation 0: WriteTextMobject, etc.: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 15/15 [00:00<00:00, 53.26it/s]
Animation 2: TransformTextMobject, etc.: 100%|β–ˆβ–ˆ| 15/15 [00:00<00:00, 50.20it/s]
Animation 4: FadeOutTextMobject, etc.: 100%|β–ˆβ–ˆβ–ˆβ–ˆ| 45/45 [00:01<00:00, 35.59it/s]
/usr/local/lib/python3.8/dist-packages/manimlib/mobject/svg/svg_mobject.py:125: UserWarning: g0-45 not recognized
  warnings.warn("%s not recognized" % ref)
/usr/local/lib/python3.8/dist-packages/manimlib/mobject/svg/svg_mobject.py:125: UserWarning: g0-108 not recognized
  warnings.warn("%s not recognized" % ref)
/usr/local/lib/python3.8/dist-packages/manimlib/mobject/svg/svg_mobject.py:125: UserWarning: g0-117 not recognized
  warnings.warn("%s not recognized" % ref)
Animation 6: MoveToTargetNumberPlane: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 45/45 [00:01<00:00, 23.13it/s]
Animation 8: TransformTextMobject: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 15/15 [00:00<00:00, 34.53it/s]

File ready at /home/schneider/media/videos/example_scenes/480p15/OpeningManimExample.mp4

Played 10 animations

Observe the bunch of UserWarning: g0-65 not recognized warnings that are coming from svg_mobject.py. Besides, I get weird output in two different pieces of text, see screenshots below:

Captura de tela de 2020-09-28 21-20-55

Captura de tela de 2020-09-28 21-21-15

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
AEX-DOScommented, Nov 23, 2020

@codingwithmagga My error looks like this:

  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-104 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-105 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-115 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-97 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-114 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-101 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-103 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-117 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-108 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-116 not recognized
  warnings.warn("%s not recognized" % ref)
C:\Users\TYVM\manim\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g0-120 not recognized
  warnings.warn("%s not recognized" % ref)



Traceback (most recent call last):
  File "C:\Users\TYVM\manim\manimlib\extract_scene.py", line 155, in main
    scene = SceneClass(**scene_kwargs)
  File "C:\Users\TYVM\manim\manimlib\scene\scene.py", line 75, in __init__
    self.construct()
  File "tutorial/1_text_format.py", line 5, in construct
    text = TextMobject("This is a regular text")
  File "C:\Users\TYVM\manim\manimlib\mobject\svg\tex_mobject.py", line 150, in __init__
    self.break_up_by_substrings()
  File "C:\Users\TYVM\manim\manimlib\mobject\svg\tex_mobject.py", line 190, in break_up_by_substrings
    sub_tex_mob.move_to(self.submobjects[last_submob_index], RIGHT)
IndexError: list index out of range```
1reaction
HateFindingNamescommented, Apr 14, 2021

Win10 19042, MikTeX CurrentVersion 21.1, SetupVersion 2.9

I fixed the same issue on my Windows 10 installation with MiKTeX by installing the cm-super package (and was able to recreate the error by uninstalling the package)

Confirmed. Thanks πŸ˜ƒ

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found