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.

Multiple problems in example_scene.py --> OpeningManimExample, WriteStuff not working. I am receiving IndexError: 'List out of Range Error'. Any quick Fix?

See original GitHub issue

Encountered this error while playing the example_scene. The mentioned examples (i.e. OpeningManimExample and WriteStuff) is throwing IndexError The following is the errored output:

But before that, I am using a windows system and downloaded manim 2days ago.

The error message:

C:\manim\manim-master\manimlib\mobject\svg\svg_mobject.py:125: UserWarning: g1-88 not recognized
  warnings.warn("%s not recognized" % ref)

Traceback (most recent call last):
  File "C:\manim\manim-master\manimlib\extract_scene.py", line 155, in main
    scene = SceneClass(**scene_kwargs)
  File "C:\manim\manim-master\manimlib\scene\scene.py", line 75, in __init__
    self.construct()
  File "example_scenes.py", line 20, in construct
    title = TextMobject("This is some \\LaTeX")
  File "C:\manim\manim-master\manimlib\mobject\svg\tex_mobject.py", line 150, in __init__
    self.break_up_by_substrings()
  File "C:\manim\manim-master\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 

###Hoping to get a fix soon 👍

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:53

github_iconTop GitHub Comments

2reactions
NeoPlatocommented, Dec 7, 2020

See? You’re halfway there

1reaction
NeoPlatocommented, Dec 7, 2020

Exactly! Those are the paths that are used to generate the points. At the bottom they are referred to but not defined, hence the timeless error of undefined variable.

I really don’t want to do this for the seventh time so just hop over to #1276 and follow the latest instructions there

Read more comments on GitHub >

github_iconTop Results From Across the Web

List Index Out of Range – Python Error Message Solved
In this article you'll see a few of the reasons that cause the list index out of range Python error. Besides knowing why...
Read more >
Does "IndexError: list index out of range" when trying to ...
The IndexError is raised when you attempt to retrieve an index from a sequence, like a list or a tuple , and the...
Read more >
How to Fix IndexError in Python - Rollbar
The IndexError in Python occurs when an item from a list is attempted to be accessed that is outside the index range of...
Read more >
I keep getting “IndexError: list index out of range” when trying ...
This is most likely a problem on your side regarding logic inside the code. That error occurs when you try to access an...
Read more >
Python indexerror: list index out of range Solution
IndexErrors are one of the most common types of runtime errors in Python. They're raised when you try to access an index value...
Read more >

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