gl
gl copied to clipboard
AttributeError: 'NoneType' object has no attribute 'decode'
Thank for your example,I find this error.
Traceback (most recent call last):
File "./main.py", line 26, in
Ubuntu 16.04 and I just have Command interface without graphical interfaces,it's a server in our school.
Hello, You can try to add a test after this line: https://github.com/eduble/gl/blob/94485a1c9f3eb4f62e5a21a018c814b4232b6b0a/libegl/devices/generic.py#L51 Something like that:
devstr = egl.eglQueryDeviceStringEXT(self.egl_dev, EGL_DRM_DEVICE_FILE_EXT)
if devstr is None:
return "EGL device unknown"