-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pi-eyes] AttributeError: 'NoneType' object has no attribute 'glActiveTexture' #226
Comments
The script may need updating. |
Ditto. Right after reboot from the pieyes load. |
From the forums, somewhat different hardware but same error, unsure of fix but something to try:
|
FWIW: With a RPi 3B+, the Adafruit Animated Eyes Bonnet (# 3813), and two of the Adafruit OLED displays (# 1431), I had to go all the way back to
|
You mean, on Rpi4 it runs with the most recent bookworm? Yeah, my Zero with Pi-Eyes is also running on buster. It's a shame that the thing only runs with a Linux pre-pre-release. No further development. That has to be stated on the product pages and I would have liked to know this before buying the hardware. |
Crud. Sorry. I meant the latest legacy 32-bit full version for RPi 4. "Raspberry Pi OS (Legacy) Full" and dated 2023-05-03 in the official Raspberry Pi Imager tool. I can grab another OLED and double check this later today. The Adafruit Pi Eyes installer script has trouble with the mandatory Python venv's in Bookworm. |
Software dependencies are explained in the guide: Compatibility issues — the glActiveTexture message, etc. — are a product of the Pi3D library. That got all complicated with the release of the Pi 4 and is the reason different OS versions are needed in each case. A single-current-OS approach would be really nice, but I don’t know if that’s ever coming to Pi3D or if broadly compatible alternatives exist (maybe vulkan, IDK). (i.e. this is not an installer script problem, it’s a Pi3D problem) |
On a Raspberry Zero, fresh installed with Bullseye, I get the following error
Traceback (most recent call last): File "/boot/Pi_Eyes/eyes.py", line 9, in <module> import pi3d File "/usr/local/lib/python3.9/dist-packages/pi3d/__init__.py", line 10, in <module> from pi3d.constants import (USE_PYGAME, PIL_OK, File "/usr/local/lib/python3.9/dist-packages/pi3d/constants/__init__.py", line 198, in <module> PLATFORM, bcm, openegl, opengles = _detect_platform_and_load_libraries() File "/usr/local/lib/python3.9/dist-packages/pi3d/constants/__init__.py", line 193, in _detect_platform_and_load_libraries set_gles_function_args(opengles) #function defined in constants/gl.py File "/usr/local/lib/python3.9/dist-packages/pi3d/constants/gl.py", line 387, in set_gles_function_args gles.glActiveTexture.argtypes = [GLenum] # AttributeError: 'NoneType' object has no attribute 'glActiveTexture'
The text was updated successfully, but these errors were encountered: