musicblocks icon indicating copy to clipboard operation
musicblocks copied to clipboard

Set Key in more than one START block does not work

Open pikurasa opened this issue 3 years ago • 1 comments

Not quite sure what the matter is, but MB does not seem to like either 1. having multiple set key blocks, or 2. having multiple set key blocks in different start blocks.

Will continue investigating further. Dump of info here:

Log


index.html:1 Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('https://sugarlabs.github.io/') with script ('https://sugarlabs.github.io/sw.js'): A bad HTTP response code (404) was received when fetching the script.
Tone.js:21  * Tone.js v14.7.40 * 
index.html:108 Uncaught ReferenceError: doSearch is not defined
    at HTMLDocument.<anonymous> (index.html:108)
    at fire (jquery-2.1.4.js:194)
    at Object.fireWith [as resolveWith] (jquery-2.1.4.js:199)
    at Function.ready (jquery-2.1.4.js:206)
    at HTMLDocument.completed (jquery-2.1.4.js:206)
Tone.js:21  * Tone.js v14.7.40 * 
js/widgets/phrasemaker.js:3707 Uncaught SyntaxError: Unexpected token '.'
js/activity.js:2895 Music Blocks
js/activity.js:2902 Music Blocks is a collection of tools for exploring fundamental musical concepts in a fun way.
js/activity.js:2895 Music Blocks
js/activity.js:2902 Music Blocks is a collection of tools for exploring fundamental musical concepts in a fun way.
3
ProjectStorage.js:188 Uncaught (in promise) Error: Not enough space to save locally
    at ProjectStorage.set (ProjectStorage.js:188)
    at async ProjectStorage.save (ProjectStorage.js:208)
2
js/blocks/PitchBlocks.js:1826 Uncaught TypeError: Cannot read property '0' of undefined
    at PitchBlock.flow (js/blocks/PitchBlocks.js:1826)
    at Logo.runFromBlockNow (js/logo.js:1478)
    at js/logo.js:1331

Screenshot Screenshot at 2021-08-10 14:29:55 Project Two-Set-Key-Two-Start.html.zip

pikurasa avatar Aug 10 '21 18:08 pikurasa

Can you assign me this issue ? And can you elaborate this a little more ?

jwalapc avatar Aug 18 '21 17:08 jwalapc

@pikurasa I suspect that the error you encountered my be related to the y-to-pitch block returning some weird value. I've tested multiple setkey blocks and it is not an issue.

walterbender avatar Jan 10 '23 22:01 walterbender