Open IshaanGarud opened 9 months ago
Hello I got trapped with this exception too, have you solved this? :D
It seems that this KeyError
should be caught by the try block (in file screen_rect.py
line 51), and handled by the code wrote in moderngl.error.Error
(exactly moderngl.Error
in newer version of 5.10).
I added except KeyError
, and then handle this error with the code wrote in except moderngl.error.Error
. With this, example programs are able to run at least.
But I'm not sure whether them act properly or not. :D
as MeteorShower2004 already said, in newer versions of ModernGL (e.g. current 5.10) moderngl does not have an "error" attribute, it has been replaced by "Error", so you just have to downgrade the version of moderngl. I got everything working on version 5.8.2
pip uninstall moderngl
pip install moderngl==5.8.2
The following error persists when you try to output a color using:-
In short, you cant get an output rather than the texture fed to the shader (the screen). It worked in previous versions