Error when rendering /optics_puzzles/e_field.py with stable ManimGL
- Lingua principale
- Python
- Stelle
- 93.8k
- Fork
- 7.7k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
### Describe the error
When trying to render the 2023 3Blue1Brown optics_puzzles/e_field.py videos using the stable ManimGL repository, the VectorField.__init__() method raises a missing argument error (coordinate_system). I suspect the current stable version of ManimGL is not fully compatible with some of the _2023 files.
### Code and Error
**Code**:
After cloning and installing the repository ("git clone https://github.com/3b1b/manim.git"), and setting the paths, I run:
"manimgl _2023/optics_puzzles/e_field.py"
This opens the scene selection, but when choosing any scene, I get the attached error. Some scenes in other .py files in /optics_puzzels are correctly rendered, but not all of them.
**Error**:
Select which scene to render (by name or number): 2
Traceback (most recent call last):
File "/home/ijb/Inigo/3B1B/manim3b1b/bin/manimgl", line 8, in
sys.exit(main())
File "/home/ijb/Inigo/3B1B/manim/manimlib/__main__.py", line 61, in main
run_scenes()
File "/home/ijb/Inigo/3B1B/manim/manimlib/__main__.py", line 39, in run_scenes
scene.run()
File "/home/ijb/Inigo/3B1B/manim/manimlib/scene/scene.py", line 154, in run
self.setup()
File "/home/ijb/Inigo/3B1B/videos/_2023/optics_puzzles/e_field.py", line 996, in setup
self.add_field(self.particles)
File "/home/ijb/Inigo/3B1B/videos/_2023/optics_puzzles/e_field.py", line 1034, in add_field
self.field = self.field_class(*particles, **self.field_config)
File "/home/ijb/Inigo/3B1B/videos/_2023/optics_puzzles/objects.py", line 616, in __init__
super().__init__(*charges, **kwargs)
File "/home/ijb/Inigo/3B1B/videos/_2023/optics_puzzles/objects.py", line 585, in __init__
super().__init__(
TypeError: VectorField.__init__() missing 1 required positional argument: 'coordinate_system'
### Environment
**OS System**: Linux (Ubuntu 22.4)
**manim version**: master
**python version**: Python 3.10.12
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.