narcode / codeklavier

Programming with the piano as interface
32 stars 6 forks source link

Disklavier.ini doesnt auto evaluate in Master and crashes in CK-Dev #97

Closed wooloogooloo closed 4 years ago

wooloogooloo commented 4 years ago

NOt sure why in Master

wooloogooloo commented 4 years ago

This is the terminal output for CK_dev:

fallback eval Traceback (most recent call last): File "codeklavier.py", line 156, in boot(configfile=config, version=play) File "codeklavier.py", line 103, in boot eval(version.main()) File "/Users/Anne/codeklavier/hybrid/hybrid.py", line 154, in main mainMem.parse_midi(msg, 'full', ck_deltadif['all'], ck_deltadif['low'], ck_deltadif['hi'], ck_deltadif['mid']) File "/Users/Anne/codeklavier/CodeKlavier/motippets_classes.py", line 396, in parse_midi self.mapscheme.snippets(motif) File "/Users/Anne/codeklavier/CodeKlavier/Mapping.py", line 263, in snippets if evaluate == None: UnboundLocalError: local variable 'evaluate' referenced before assignment

Yes I know it has something to do with evaluate - but don't know how to fix it

wooloogooloo commented 4 years ago

OH I fixed it :)

The shortcuts for evaluate was missing in disklavier file