monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
630 stars 145 forks source link

190320 bug in fourwaves-test #765

Closed simonvanderveldt closed 5 years ago

simonvanderveldt commented 5 years ago

on version 190320, commit 010c4572738f6a971944680be1a35a4235b6f63b

Mar 22 00:55:46 norns ws-wrapper[330]: # script load: /home/we/dust/code/we/test/fourwaves-test.lua
Mar 22 00:55:46 norns ws-wrapper[330]: # cleanup
Mar 22 00:55:46 norns ws-wrapper[330]: # script clear
Mar 22 00:55:46 norns ws-wrapper[330]: ### initializing data folder
Mar 22 00:55:46 norns ws-wrapper[330]: pset >> write: /home/we/dust/data/system.pset
Mar 22 00:55:46 norns ws-wrapper[330]: # script run
Mar 22 00:55:46 norns ws-wrapper[330]: # script init
Mar 22 00:55:46 norns ws-wrapper[330]: ### SCRIPT ERROR: init
Mar 22 00:55:46 norns ws-wrapper[330]: /home/we/norns/lua/core/audio.lua:221: attempt to concatenate a nil value (global 'dust_dir')
Mar 22 00:55:46 norns ws-wrapper[330]: stack traceback:
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/norns.lua:185: in metamethod '__concat'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/audio.lua:221: in function 'core/audio.file_info'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/softcut/fourwaves.lua:30: in function 'fourwaves.init'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/dust/code/we/test/fourwaves-test.lua:12: in function 'init'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/script.lua:71: in function 'core/script.init'
Mar 22 00:55:46 norns ws-wrapper[330]:         [C]: in function 'xpcall'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/norns.lua:186: in field 'try'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/script.lua:160: in function 'core/script.run'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/script.lua:146: in function 'core/script.load'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/menu.lua:432: in field 'key'
Mar 22 00:55:46 norns ws-wrapper[330]:         /home/we/norns/lua/core/menu.lua:169: in function </home/we/norns/lua/core/menu.lua:146>
Mar 22 00:55:46 norns ws-wrapper[330]: >> reading PMAP /home/we/dust/data/we/test/fourwaves-test/fourwaves-test.pmap

This is probably an easy fix, but just trying to document issues for now.

tehn commented 5 years ago

fixed! thank you for spotting this