Closed e-dervieux closed 5 days ago
Hey, thank you for your suggestion. I will include this in the next release.
I noticed here that the popup comes up before any code is executed since validating the configuration file is part of the extension's job, which perhaps in retrospect, can be relied on manim itself. For the upcoming patch, I have resorted to displaying a better popup, but in the future, I think it'd be best to overhaul the system to work differently.
When using an external
config.cfg
file, the error message in case of incorrect option value is not very explicit.For instance, when putting
quality=medium
the error message is the following:Yet, if launching the same manim compilation from the terminal, the error message ends up with:
Which is much more explicit as to what options are valid. Now this would not be that much of an issue if manim's documentation was explicit about that, i.e. if the command line flag
-q
was stated to work with any of the'fourk_quality', 'production_quality', 'high_quality', 'medium_quality', 'low_quality', 'example_quality'
value somewhere. However, this is - to the best of my knowledge - documented nowhere, and the only mentions I could find on the web were into manim's code source...While this is clearly an issue with manim's documentation, I think that forwarding manim's error output to sideview's error popup and offering the possibility to display it with a drop-down menu would be very nice. Something like:
Note: maybe this applies to other sideview's error messages as well.