Sooo many errors when switching to block

I also noticed that, quite often, there are errors when left panel components are clicked.e.g yesterday it happened to mysql.aia the interface example i downloaded.

here is the source code
asd.aia (2.3 KB)

The .aia file was readable in the Unchive tool, no problem.

No excesses in the Media, Extensions, components areas.
Four checkboxes were in the Designer.

The empty socket in the generic block broke subsequent error detection for the missing global variable:

Before:

After correction of the missing block:

(ABG Edit-)
Notice how the red errors that should have been caught in the first blocks image are now available in the second blocks image. (The global init block for global selection_list was left off the OP's .aia file)

The lack of red errors in the first block image is a sign that error checking broke.

This looks like an AI2 bug to me.

Attn: @ewpatton

2 Likes

For me it is working just fine asd.aia (2.6 KB)

blocks

Did your .aia magically heal itself?

This version does not expose the AI2 bug like the OP's version at

Thanks for including a project. I've identified the underlying issue and will put a fix together.

3 Likes

on my computer, it gives an error everytime i tried. You need to test it this way:

  1. open asd.aia, it will show designer view
  2. switch to blockview, it should give you an error
  3. click 'cancel' on the error message, the block will showup
  4. switch it back to designer view, it should be fine
  5. switch to blockview again, it should give you error again
  6. click "cancel" on error message, this time no block will show up and the backpack is on the left.

Thanks for making AI better.

The fix for this issue is now available on https://ai2-test.appinventor.mit.edu/.

1 Like

It works like a charm! I can't express how much gratefulness I have to you!!

1 Like