TreeFallSound / pi-stomp

pi-stomp is a DIY high definition, multi-effects stompbox platform for guitar, bass and keyboards
https://treefallsound.com
GNU General Public License v3.0
110 stars 21 forks source link

LCD stuck on pi-Stomp splash screen due to plugin in pedalboard that won't load #32

Closed rreichenbach closed 2 years ago

rreichenbach commented 2 years ago

LCD stuck on pi-Stomp splash screen due to plugin in pedalboard that won't load

Error can be seen by running: sudo journalctl -fu mod-ala-pi-stomp

Mar 13 00:33:20 greytree systemd[1]: Started MOD-ALA-PI-STOMP. Mar 13 00:33:22 greytree python3[21046]: Traceback (most recent call last): Mar 13 00:33:22 greytree python3[21046]: File "/home/patch/pi-stomp/modalapistomp.py", line 147, in Mar 13 00:33:22 greytree python3[21046]: main() Mar 13 00:33:22 greytree python3[21046]: File "/home/patch/pi-stomp/modalapistomp.py", line 89, in main Mar 13 00:33:22 greytree python3[21046]: handler.load_pedalboards() Mar 13 00:33:22 greytree python3[21046]: File "/home/patch/pi-stomp/modalapi/mod.py", line 443, in load_pedalboards Mar 13 00:33:22 greytree python3[21046]: pedalboard.load_bundle(bundle, self.plugin_dict) Mar 13 00:33:22 greytree python3[21046]: File "/home/patch/pi-stomp/modalapi/pedalboard.py", line 175, in load_bundle Mar 13 00:33:22 greytree python3[21046]: category = cat[0] Mar 13 00:33:22 greytree python3[21046]: IndexError: list index out of range

The problem appears to occur when a plugin has a Category field but the field is empty