I made a project to control an ESP32 via BLE and it was working fine till now. I made some changes with ListView today and while doing it, the following error showed up.
"The blocks area did not load properly. Changes to the blocks for screen 6690073400442880_Screen1 will not be saved".
I tried to reverse everything I did today to get rid of the error, but my work is no longer getting saved on this particular project as it looked like it has been corrupted I guess. I’ve also tried loading backup, but it didn't work as well.
I've attached the development file here: PSPv3.aia (258.0 KB)
Can you help me to get my deleted blocks back please?
Unfortunately, the blocks can't be retrieved because they were never saved, which is what the error message says.
When you see this error message, you should reload your browser and see if you can make changes then. Don't continue to work on a project that is not saving.
Are you getting the error every time you load that project now?
I have been trying to rescue your file but there are hidden Blocks - even if the file is recreated via copy-paste, those hidden blocks carry over too. How recently was the 'Daffy' extension added? When that extension is removed, at least some of the hidden blocks are revealed and they are Daffy Blocks (you have to save, logout, login, load). Not the whole story though.
Looks pretty well intact, loads without complaint - I think it must be pretty close to the original state before the issue began. In particular, when I tried to rescue the file (copy-paste incrementally to a new file) I had to remake the zero4D and initGPS procedures - however, after save, logout, login, load - those procedures had disappeared.
That's a good spot. How on earth that could happen is a bit of a mystery - perhaps a 'Click' extension that was subsequently removed. I think a lot of the more recent extensions could be more robust.
Thank you very much Boban. You guys have been a solid help.
Chris, I tried to use the following extension for listview and then I changed it back to the original ListView component in App Inventor and that's when this error may have occurred.
Neither the built-in list view nor this extension reference the existence of a Click event. I wonder if some interplay between either the backpack or copy/paste functionality, in combination with a Button or other component with a Click handler had a name collision and the failure mode is the result we see here.
I'm currently at a loss for how to come up with a good sequence of events that would result in a project in this state.