-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] manimgl
rendering: unexpected keyword argument 'skip_animations'
#314
Comments
Hello @ttiee, are you sure that you are using Manim Slides v5? Because running your code works perfectly on my computer (with the same version of ManimGL). Can you run this code and check the version printed? import numpy as np
from manimlib import *
import manim_slides
from manim_slides import Slide
print("Manim Slides version:", manim_slides.__version__)
class BasicExample(Slide):
def construct(self):
circle = Circle(radius=3, color=BLUE)
dot = Dot()
self.play(GrowFromCenter(circle))
self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)
self.play(dot.animate.move_to(ORIGIN)) |
Hello, @jeertmans I appreciate your reply. Yes, it is indeed that version. However, I had previously executed break_into_partial_movies: false
camera_resolutions:
4k: 3840x2160
default_resolution: high
high: 1920x1080
low: 854x480
medium: 1280x720
directories:
mirror_module_path: false
output: default
raster_images: default
sounds: default
temporary_storage: E:\Manim\manimgl\Temp
vector_images: default
fps: 30
full_screen: false
style:
background_color: '#333333'
font: Consolas
tex_template: default
universal_import_line: from manimlib import *
window_monitor: 0
window_position: UR |
Can you rapidly test without your configuration file? (delete it or move it elsewhere temporarily). |
Ok so actually the error may be that you installed The issue is the ManimGL is only updated once in a while, and breaking changes occur almost every release. I cannot find what caused the breakage in 3b1b/manim@v1.6.1...master, but can you |
Yes, the error may be from I re-install the manimgl and manim-slides, It can render the animation file. It seems that manimgl-tag1.6.1 can't run on python3.10 and 3.11.So I create a virtual environment python=3.8.10.And I install by But when running (.env-3.8.10) E:\Manim\manimgl-manim-slides>manim-slides BasicExample
failed to get textures for frame; format: 172 textureConverter null
Device loss detected in Present()
Device loss detected in Present() |
Ok so I think this is a separate bugs from the first one. could you create another issue with the title: Device loss detected in Present() and re-post the images / details from your last comment? For the first issue, this is because your were using some unreleased version of ManimGL that contains breaking changes. I will address these changes when they are released. For the second issue, I think this is related to PySide6, the graphical library I use. This may be related, but does not help: https://bugreports.qt.io/browse/QTBUG-92097. Can you try rerunning the Manim slides command, but setting |
manimgl
rendering: unexpected keyword argument 'skip_animations'
I labelled this as Maybe I should restrict the |
Closing this as issue is now documented by #316, and we cannot really do anything about that... |
Hi, I am getting the same issue, but I made sure to install manimgl from pypi: here is the checkhealth:
I guess this could be related to the new version 1.7.1? |
Yes, this could be very likely this. I haven't tested it yet. |
See #499. |
It works for me now after installing from the main branch, thanks! |
Description
Hello, I am new to use manimgl and manim-slides
this when running
manimgl demo01.py BasicExample
, it runs wellbut replace the
Scene
toSlide
like thisI get the following error:
I don't really know why
I will apprechiate a lot If you can give me some help
Version
The latest manimgl and manim-slides
Platform
Win11
Screenshots
Additional information
No response
The text was updated successfully, but these errors were encountered: