manim
manim copied to clipboard
First example command returns error (get_monitors)
Describe the error
I want to execute : manimgl example_scenes.py OpeningManimExample
Code and Error
Code: example_scenes.py
Error: Warning: Using the default configuration file, which you can modify in d:\videos\manim\manimlib\default_config.yml If you want to create a local configuration file, you can create a file named custom_config.yml, or run manimgl --config
Traceback (most recent call last):
File "C:\Users\bob\AppData\Local\Programs\Python\Python37-32\Scripts\manimgl-script.py", line 33, in
Environment
OS System: windows 8.1 manim version: master python version: Python 3.7.2
Any help ?
Any help ?
@ultravision3d The automatic config creator doesn't appear to create the param window_monitor: 0
Adding it under: window_position: UR window_monitor: 0
Fixed the issue for me
running manim-render example_scenes.py OpeningManimExample instead of manimgl example_scenes.py OpeningManimExample worked for me. Afterwards I had no problem running the original command
I have the same issue. Tried both fixes mentioned above and the problem persists. Any advise?
🧐
Mohsen Salah
On Mar 31, 2021, 11:03 PM +0430, carlolimb @.***>, wrote:
I have the same issue. Tried both fixes mentioned above and the problem persists. Any advise? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
This is due to a bug in screeninfo. This pull request has solved it for me.
This is due to a bug in screeninfo. This pull request has solved it for me.
I tried the pr in screeninfo. Unfortunately, it didn't work for me. Any advice?
This is due to a bug in screeninfo. This pull request has solved it for me.
I tried the pr in screeninfo. Unfortunately, it didn't work for me. Any advice?
It can be fixed manually by just replacing all the monitor variables in window.py and config.py. You can set them to a constant like monitor.width=1920.