OK, the second of the errors is irrelevant; the error is happening during an init, preventing all of the attributes of that object from being instantiated. Then the GLError causes the program to crash and call the __del__ method, which is assuming init completed.
I'm not entirely certain what's going on. At a guess (and it really is a guess), I suspect that the shader isn't linking properly - but this should raise an error. Or at least that's what I thought...
Anyways, I've got a fair bit on my plate at the moment, but when I get a chance I'll see if I can upload something which will specifically detect if this is the case.
OK, the second of the errors is irrelevant; the error is happening during an init, preventing all of the attributes of that object from being instantiated. Then the GLError causes the program to crash and call the __del__ method, which is assuming init completed.
I'm not entirely certain what's going on. At a guess (and it really is a guess), I suspect that the shader isn't linking properly - but this should raise an error. Or at least that's what I thought...
Anyways, I've got a fair bit on my plate at the moment, but when I get a chance I'll see if I can upload something which will specifically detect if this is the case.