niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Deleting media without deleting blocks that use them gives error #797

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using HTC Wildfire-Android 2.1

Got this message when Blocks editor loaded.
Just popped up when moving objects in App Inventor.

Original issue reported on code.google.com by jamie.tom.w@gmail.com on 26 Nov 2010 at 8:52

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for reporting this.  please send us the source  (zip) file so we can 
check things out

Original comment by halabel...@google.com on 28 Nov 2010 at 2:24

GoogleCodeExporter commented 9 years ago
also says "The Blocks Editor was not able to load the project." at the top in 
red highlight...I wouldnt mind it very much if I know that I can still work on 
my app..

Original comment by DoGsa...@gmail.com on 28 Nov 2010 at 7:58

GoogleCodeExporter commented 9 years ago
I also am having this issue.  Not only have I lost a ton of work that I did, 
but I can't even opent o the part where it did at least save my work to modify. 
 So what am I to do?  I have a school project that is due Monday with this that 
is worth a large portion of my grade.  So I hope someone can find a solution to 
this.  I have tried everything and its been doing it since about 5 this 
morning, and I had lost hours of work already!!

Original comment by brtnyAnstet on 4 Dec 2010 at 12:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
As requested, Here is the source for my app, sorry about delay wasn't quite 
sure what you meant, Thanks jamie.tom.w

Original comment by jamie.tom.w@gmail.com on 4 Dec 2010 at 6:39

Attachments:

GoogleCodeExporter commented 9 years ago
Jamie,

I donloading the zip file you attached, uploaded it into appinventor, started 
the blocks editor and it loaded the project just fine.  I then did connect to 
phone, and the phone also connected fine, and I was able to press the buttons 
on the phone and see the screen change.

Is this really not working for you?   Perhaps this was an intermittent error?

Original comment by halabel...@google.com on 4 Dec 2010 at 1:38

GoogleCodeExporter commented 9 years ago
This was intermittent but popped up randomly, when it did I lost much work.

Original comment by jamie.tom.w@gmail.com on 4 Dec 2010 at 3:00

GoogleCodeExporter commented 9 years ago
Thanks.   I'll think about whether there's a way we can work on this, but for 
now, we'll have to wait until there is something more repeatable.

Original comment by halabel...@google.com on 4 Dec 2010 at 4:25

GoogleCodeExporter commented 9 years ago
this issue happened to me too, I can add this detail about how it happened: i 
had just finished the drawning canvas tutorial and i was emptying the project 
deleting all the components

after the deletion of all the components i switched back to the block editor 
and the error was there

additional info: i also deleted the horizontal arrangment that was used to 
contain the 3 buttons, without before deleting the 3 buttons themselves

Original comment by marco.fa...@openmind-solutions.it on 14 Dec 2010 at 1:38

GoogleCodeExporter commented 9 years ago
Thanks Marco.

It would be great if you could get a repeatable example.

Original comment by halabel...@google.com on 14 Dec 2010 at 2:26

GoogleCodeExporter commented 9 years ago
@halabel, i know, sorry but I tried to reproduce it with no luck :(

be sure i'll post it if i ever accomplish to reproduce the situation

good work, and thank you, i like the app inventor approach very much :)

Original comment by marco.fa...@openmind-solutions.it on 14 Dec 2010 at 2:32

GoogleCodeExporter commented 9 years ago
ok guys DoG saors to the rescue =)

basically, when you delete images (maybe even components) without removing the 
blocks that go to the deleted media, blocks editor will return an error message 
(the same one you see!)
to fix this just remove the blocks that contain deleted media

example:
if i uploaded pic1.png to my media section of the app inventor and in blocks 
editor i put a block dealing with pic1.png, then i delete pic1.png from the 
media section, if i don't delete the blocks dealing with pic1.png then i will 
get that same error message 

Original comment by DoGsa...@gmail.com on 22 Dec 2010 at 4:18

GoogleCodeExporter commented 9 years ago
Issue 801 has been merged into this issue.

Original comment by halabel...@google.com on 22 Dec 2010 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by halabel...@google.com on 22 Dec 2010 at 4:34

GoogleCodeExporter commented 9 years ago
I had a similar error on my PC. I ran the Java console and found an out of 
space error when trying to load the blocks editor. To verify, I loaded my 
project on another PC and it worked fine. I then went to the Java settings in 
the control panel and cleared out the Java cache, rebooted my PC and was able 
to load the blocks editor for the project.

Original comment by marchip...@gmail.com on 15 Feb 2011 at 10:31