It does. If you try this you will see that it doesn't even allow it to connect. The problem becomes when you have a text block that contains a number, e.g. "0", which we accept due to (your favorite) duck-typing, after which you change the valid value to an invalid value. I believe that this was fixed by @BeksOmega in #2037, but projects may still contain the problematic connections. The fix I linked above will handle the issue when loading projects that contain the bad code and mark the blocks as errors.
#2037 fixed a slightly different issue. That was a problem with number inputs showing text when they shouldn’t.
The problem where text blocks don’t get kicked still exists:
But that shouldn’t be too hard to fix. I can definitely look into it!
Ok I’ve put up a pull request (#2177) to add the block bumping!
If you guys have any other ideas for making this system better, I’m happy to work on stuff
@Anke This may have caused other problems depending on how Notepad saved the file. For example, if it included a line ending so that the file wasn’t completely empty (zero size), then App Inventor won’t know to regenerate it and will fail when it attempts to read the (now missing) XML. You could try deleting the .bky entirely, in which case the server should do the right thing.
We probably can't make this runtime-foolproof, but all we need here is Blockly-foolproof.
This is the only Blockly-killer I've seen recently, so we're probably good for now.
Aha, thank you, that was the reason I was wondering why I don’t see 0 here:
Hi, @ewpatton
I am a coder and I had created a professional app.
But after I completed it I went to check it on my phone, and it had some errors. It was 11 In the night so I went to sleep with my computer shut downed.
After I woke up, I went to debug my code but to my surprise, it showed me this message: (The blocks area did not load properly. Changes to the blocks for screen 6730568888090624_Screen1 will not be saved.) and all my effort was gone to waste.
Help me, as this error is continuously coming as I am writing my code.
If you wish to contact me, you can feel free to contact me at removed by Mod - please do not share private info - instead use PM
Regards,
Vihaan Patil
Since it is a professional app you made backups?
Quando si tratta di una app professionale, come ben dice @Peter; devi avere l'accortenza di eseguire tantissimi file AIA..anche ogni 15 minuti; dato che le modifiche al codice sono molto frequenti.
You may have removed an extension or updated it. When blocks from a removed extension are left in the block area, or the new version no longer has any of the blocks. Often such a design fails. Without seeing your project, no one can help.
There have been a few reports where things have gone wrong reloading the blocks after the upgrade. As far as I'm aware we have addressed all of them, so assuming this is new we will need you to share your project with us so that we can analyze it.
Estou com o mesmo erro em meu app
I have the same error in my app
Help Please
on screen3 you have too much error, try to fix these first.
so i've tried to fix the errors that wasn't there initially but can only get so far, apparently there are missing global variables that when i try to reproduce to fix the error it still shows an error for it. Hope that makes sense
I did the same but no lucky.
please be patient, some one else will help.
the location service wasn't used in this app, I'm not sure why that is showing up? to be honest i haven't got a clue on how to resolve these issues, could you help please?
It looks like a screen has been copied and renamed to Screen3. You should know better.