Integer error when installing Microblocks on board

Issue #20 resolved
Dominic Kelly created an issue

Hi there!

I just noticed an issue when I select 'install MicroBlocks on board' form the 'About' menu in MicroBlocks. I select the board and everything seems to work fine. Then when I try to run my code by clicking on 'Start', nothing happens. When I click on a code block, I get an error message - Error: needs an integer.

If I disconnect and reconnnect the micro:bit, then all works fine, so there is a workaround :).

Kind regards,

Dom

Comments (3)

  1. Bernat Romagosa

    @john_maloney can you reproduce this? I can't test this because auto installing the VM doesn't work in my platform because of my geek WM... prices one has to pay!

  2. John Maloney repo owner

    I haven't reproduced this bug, but I'm pretty sure I understand the issue. The IDE thinks that it's stored all the scripts to the board but they've been erased by the VM install. So I'm pretty sure we just need to add one line to the IDE to tell it that the VM has forgotten everything. (This would be good to fix before the next release...)

  3. Log in to comment