This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Description
After a combination of actions I can't reproduce (ran a couple of scripts, had grid plugged in, then plugged in USB MIDI device) I get the following errors continuously scrolling in the maiden's repl:
lua: attempt to call a nil value
stack traceback:
Occasionally when unplugging from USB I get:
dev_delete(): removing device 2
lua:
/home/we/dust/scripts/tehn/earthsea.lua:164: attempt to index a nil value (global 'pat')
stack traceback:
/home/we/dust/scripts/tehn/earthsea.lua:164: in function 'gridkey'
/home/we/norns/lua/grid.lua:119: in function </home/we/norns/lua/grid.lua:115>
MIDI input isn't working for these scripts when this happens. It is working for jah/hello_ack.
Any idea what could be causing it?