sugarlabs / musicblocks

Music Blocks -- A musical microworld
https://musicblocks.sugarlabs.org/
GNU Affero General Public License v3.0
539 stars 727 forks source link

Project not working: Needs investigation #3869

Closed pikurasa closed 2 months ago

pikurasa commented 2 months ago

For whatever reason, this project doesn't seem to work on https://sugarlabs.github.io/musicblocks/index.html?id=1713527227274529&run=True.

This needs some investigating.

Screenshot from 2024-04-19 12-10-30

Screenshot from 2024-04-19 12-12-49

Console output:

Uncaught SyntaxError: "undefined" is not valid JSON
    at Object.parse (<anonymous>)
    at Singer.noteCounter (turtle-singer.js:519:50)
    at NoteCounterBlock.arg (MeterBlocks.js:415:31)
    at Logo.parseArg (logo.js:619:26)
    at HSpaceBlock.arg (ExtrasBlocks.js:361:25)
    at Logo.parseArg (logo.js:619:26)
    at HSpaceBlock.arg (ExtrasBlocks.js:361:25)
    at Logo.parseArg (logo.js:619:26)
    at MultiplyBlock.arg (NumberBlocks.js:481:34)
    at Logo.parseArg (logo.js:619:26)
pikurasa commented 2 months ago

This is a video of the project working as expected: Register-Intro.webm

walterbender commented 2 months ago

There seems to be a problem with the note counter restoring state after counting the notes. Investigating.