10/18/2023 Map Stopped Working?
Visit this post for the fix
Im currently haveing issues getting webapp.py to run on a pi zero 2w. I can ssh into the pi over wifi but the web interface won't load. I ran it manually and this is the output I got in terminal.
pi@LiveSectionalV4:/NeoSectional $ sudo python3 webapp.py
[I 220309 16:09:22 webapp:66]
Startup of metar-v4.py Script, Version v4.373
[I 220309 16:09:22 webapp:67] Log Level Set To: 20
Traceback (most recent call last):
File "webapp.py", line 125, in <module>
strip.begin()
File "/usr/local/lib/python3.7/dist-packages/rpi_ws281x/rpi_ws281x.py", line 131, in begin
raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)
Segmentation fault
Any help would be great!
Will
managed to find a solution in another post.
Was the fix to update the image?
Let us know, post the link to the answer when you get a moment. - Mark
No problem, the fix was to update the Rpi-Ws281x package using
sudo pip3 install rpi_ws281x -U
Was posted on this thread.