niteshmourya / app-inventor-for-android

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

Blocks won't load in Blocks Editor for one project, loads fine for others. Downloaded zip file, get error when uploading. #2149

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am having trouble getting the blocks to load in the Blocks Editor. It gives 
the error 'Blocks editor failed to load blocks to screen. Blocks will not save 
if no changes are made. Back up the file before continuing' (I do not know the 
exact wording of the error for reasons enumerated later, but this is the gist 
of it). An error highlighted in red reading 'the blocks editor was not able to 
load the project' also appeared at the top of the designer window.

I tried loading the blocks in IE9 and Firefox both on 2 different computers 
running Windows 7 and was greeted with the same error each time. 

Before the error occurred, the blocks loaded fine, although they tended to take 
a while to appear. The blocks for other projects load fine and without 
significant delay. It may be helpful to note that the project with the issue 
has a large number of blocks (the file size is approx. 1.2 MB).

I tried finding a solution to this issue in the forums but was not able to find 
anything helpful. I decided to try to download and reupload the source. I was 
able to download and save the zip file but when I try to upload it back into 
the inventor, an error highlighted in red reading 'Server error: could not 
upload project. Please try again later' appears at the top of the designer 
window after a minute or more. It is later and I have tried again and it still 
doesn't work. I have tried to upload the project several time over a couple of 
days since then and received the same error every time. This problem also 
persists across computers and browsers.

I have attached the zip file that I downloaded. I am running version 125 of the 
app inventor.

Original issue reported on code.google.com by elsenory...@gmail.com on 6 Jun 2012 at 6:47

Attachments:

GoogleCodeExporter commented 9 years ago
I have also been having issues for several days with Server errors when I try 
to do either a checkpoint or a save as.  I also get a server error if I 
download a project and then try and re-upload it.

Original comment by colli...@gmail.com on 8 Jun 2012 at 12:49

GoogleCodeExporter commented 9 years ago
Hi All,

I'm experiencing the same problem ("Server error: could not upload project. 
Please try again later!") for more than a week now. It seems to start happening 
all at a sudden. The issue is set to "Bug", but any comment on this is really 
appreciated. Thanx!

Regards,
Sjaak Bosman.

Original comment by sjaak....@gmail.com on 16 Aug 2012 at 5:49

GoogleCodeExporter commented 9 years ago
Hi All,

Sorry for posting twice (also in issue 2047) but I'm starting to get really 
desperate here.

This seems to happen more often, but not always: "The Blocks Editor was not 
able to load the blocks for the screen", especially with large projects (I know 
this is a known issue, but as I said it doesn't happen always).

From the Java-console I copied this:
--
Trying to download phone app apk
Phone app apk saved into temp file: 
C:\DOCUME~1\Sjaak\LOCALS~1\Temp\aia6916883599468508773.apk
systemId is file:///F:/Sjaak's%20documenten/Downloads/ignore_lang_def.dtd 
publicId is null
Reading language definition DTD from jar resources.
Preparing phone for new project
Creating GUI...
==== Loading form, project is wtc010701_Dordrecht_Dichter_bij_Dordt
java.io.IOException: HTTP request for assets_zipfile returned 500
    at com.google.appinventor.blockseditor.youngandroid.YaCodeblocksController.downloadZipFromServer(Unknown Source)
    at com.google.appinventor.blockseditor.youngandroid.YaHttpServerMain.loadForm(Unknown Source)
    at com.google.appinventor.blockseditor.youngandroid.YaHttpServerMain.access$200(Unknown Source)
    at com.google.appinventor.blockseditor.youngandroid.YaHttpServerMain$3.getResponseValueAsync(Unknown Source)
    at com.google.appinventor.blockseditor.jsonp.AsyncJsonpRequestHandler$Handler$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
--

So please help to solve this problem or give a workaround or advise.

Many, many thanks!

Regards,
Sjaak

Original comment by sjaak....@gmail.com on 22 Aug 2012 at 9:22

GoogleCodeExporter commented 9 years ago
I have tried to manually fix the corrupted files but it is still not loading. 
Forwarding to dev team.

PS: Sjaak, we are going to need more information about your project; please 
open a different issue and attach your source file. thanks!

Original comment by josmasfl...@gmail.com on 28 Oct 2012 at 2:46

GoogleCodeExporter commented 9 years ago
I am having the exact same problem as the OP, and there is an open block that 
is causing a problem to be downloaded but I can't get in to fix it because I 
get the exact same error message when trying to open it.

Original comment by gstets...@gmail.com on 29 May 2013 at 10:28

Attachments: