TreeFallSound/pi-stomp

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

rreichenbach opened this issue · 0 comments

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