No animations in this scene + Specified file not found
See original GitHub issueHello everyone, I’ve recently installed Manim and after playing a little on Eulertour, i decided to create my own scenes. I created a python file “bidule.py” in the main Manim folder with a “Test” scene inside but 2 problems occur :
- When I enter
manim bidule.py Test -w
in the terminal, it spits out :Media will be written to ./media\. You can change this behavior with the --media_dir flag. No animations in this scene Played 0 animations
Which is unexpected onsidering my code (I’ll put it at the end) - When I enter
manim bidule.py Test -pl
, it spits out :
Media will be written to ./media\. You can change this behavior with the --media_dir flag.
No animations in this scene
Played 0 animations
Traceback (most recent call last):
File "c:\users\tvasi\appdata\local\programs\python\python37-32\lib\site-packages\manimlib\extract_scene.py", line 151, in main
open_file_if_needed(scene.file_writer, **config)
File "c:\users\tvasi\appdata\local\programs\python\python37-32\lib\site-packages\manimlib\extract_scene.py", line 35, in open_file_if_needed
os.startfile(file_path)
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable: 'C:\\Manim\\manim_12_2019\\videos\\bidule\\1440p60\\Test.mp4
I think I need to first create the video in order to read it, but from what i’ve managed to undestand, -pl also creates/edits the video file if I’m not wrong… So there is a real problem going on. Is there a problem with my packages or ffmpeg ? I don’t see where it is. I’ve seen other people struggling with similar problems, but their solutions did not work. Thanks in advance for your help. Here is my python file :
from manimlib.imports import *
class Test(Scene):
def contruct(self):
text = TextMobject(r"Bonjour, ceci est du \Latex")
self.play(Write(text))
self.wait()`
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Scene - Manim Community v0.17.1
This method is used to prep the animations for rendering, apply the arguments and parameters required to them, render them, and write them...
Read more >Blender 2.8 animations not importing in Beta 2019.3.0b4
Result: The animations are not visible under the animation tab of the model in the inspector. I have attached a .blend file with...
Read more >How to work with scenes in Animate - Adobe Support
Find instructions for working with scenes, navigating the Scene panel, and using Scene buttons in Animate.
Read more >Import animation into the Time Editor | Maya 2019
If no animation is loaded in the scene, you can import or ma, .mb, .fbx animation files into Maya to use as Time...
Read more >Unity Animation not working on different scene - Stack Overflow
Hard to know without looking at your scene setup. Keep in mind that animation clips map to specific properties in an object hierarchy....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No problem. Just close this issue if there are no problems. There are way too many dead issues that haven’t been closed 😉
You’ve misspelled the word “construct” in the Test() class. It’s just a typo. Here’s your fixed code:
from manimlib.imports import *
class Test(Scene): def construct(self): text = TextMobject(r"Bonjour, ceci est du \Latex") self.play(Write(text)) self.wait()