monome / we

norns/dust: collected and collaborative projects
GNU General Public License v3.0
20 stars 12 forks source link

study2: attempt to call a nil value (field 'release') #25

Open simonvanderveldt opened 4 years ago

simonvanderveldt commented 4 years ago

I get the following error when opening study2:

Dec 21 18:57:34 norns ws-wrapper[129]: # script load: /root/dust/code/we/study/study2.lua
Dec 21 18:57:34 norns ws-wrapper[129]: # cleanup
Dec 21 18:57:34 norns ws-wrapper[129]: # script clear
Dec 21 18:57:34 norns ws-wrapper[129]: pset >> write: /root/dust/data/system.pset
Dec 21 18:57:34 norns ws-wrapper[129]: # script run
Dec 21 18:57:34 norns ws-wrapper[129]: loading engine: PolyPerc
Dec 21 18:57:34 norns ws-wrapper[129]: Engine.register_commands; count: 0
Dec 21 18:57:34 norns ws-wrapper[129]: ___ engine commands ___
Dec 21 18:57:34 norns ws-wrapper[129]: ___ polls ___
Dec 21 18:57:34 norns ws-wrapper[129]: amp_in_l
Dec 21 18:57:34 norns ws-wrapper[129]: amp_in_r
Dec 21 18:57:34 norns ws-wrapper[129]: amp_out_l
Dec 21 18:57:34 norns ws-wrapper[129]: amp_out_r
Dec 21 18:57:34 norns ws-wrapper[129]: cpu_avg
Dec 21 18:57:34 norns ws-wrapper[129]: cpu_peak
Dec 21 18:57:34 norns ws-wrapper[129]: pitch_in_l
Dec 21 18:57:34 norns ws-wrapper[129]: pitch_in_r
Dec 21 18:57:34 norns ws-wrapper[129]: # script init
Dec 21 18:57:34 norns ws-wrapper[129]: ### SCRIPT ERROR: init
Dec 21 18:57:34 norns ws-wrapper[129]: /root/dust/code/we/study/study2.lua:7: attempt to call a nil value (field 'release')
Dec 21 18:57:34 norns ws-wrapper[129]: stack traceback:
Dec 21 18:57:34 norns ws-wrapper[129]:         /usr/share/norns/lua/core/norns.lua:215: in field 'release'
Dec 21 18:57:34 norns ws-wrapper[129]:         /root/dust/code/we/study/study2.lua:7: in function 'init'
Dec 21 18:57:34 norns ws-wrapper[129]:         /usr/share/norns/lua/core/script.lua:77: in function 'core/script.init'
Dec 21 18:57:34 norns ws-wrapper[129]:         [C]: in function 'xpcall'
Dec 21 18:57:34 norns ws-wrapper[129]:         /usr/share/norns/lua/core/norns.lua:216: in field 'try'
Dec 21 18:57:34 norns ws-wrapper[129]:         /usr/share/norns/lua/core/engine.lua:89: in function </usr/share/norns/lua/core/engine.lua:88>
Dec 21 18:57:34 norns ws-wrapper[129]: >> reading PMAP /root/dust/data/we/study/study2/study2.pmap

it points to this line

https://github.com/monome/we/blob/master/study/study2.lua#L7

tehn commented 4 years ago

same as scales demo--- works on raspbian

engine isn't registering properly.