2016년 11월 29일 화요일

Local server error: Server error: could not upload project. Please try again later


I'm running appinventor locally. When I'm uploading project from  ai2.appinventor.mit.edu. Project is 2 weeks old. I'm getting "Server error: could not upload project. Please try again later!" error message.

More detailed error message:
Nov 29, 2016 12:09:17 AM com.google.apphosting.utils.

jetty.JettyLogger warn
WARNING: /ode/upload/project/myapp
com.google.appengine.tools.cloudstorage.NonRetriableException: java.lang.IllegalArgumentException: operating on too many entity groups in a single transaction.

Uploading from repository works fine.

What can be causing this behavior? Server most certainly is not under heavy load.
What I tried so far:
Switch browser (Chrome, Firefox, Opera)

I'm running:    Ubuntu 16.04.1 LTS
Java version "1.7.0_80"
Apache Ant(TM) version 1.9.6 compiled on July 8 2015
appengine-java-sdk-1.9.46 - 2016-11-01

Video:
https://youtu.be/Rgzu8n_usrQ

Thanks~




--
have you tried more than one aia file? It might be an issue with the one you are trying to upload.
Does it use an extension or similar? Any code that is not in your
local server or have you modified any of the components?

If you've modified any of the ones you are using in that aia file, it
will have a hard time loading it.

cheers,
José


--
Yes, your right, other .aia files seems to work fine. Oh, by the way, there is no external extensions, modifications or components. What can be causing this error?

--
where was that aia originally created? local server? if you haven't
changed anything, and it was created in the same server, then it's odd
that it is not loading.

cheers,
José

--
Original file was created on http://ai2.appinventor.mit.edu website about two weeks ago.

--
does it load in there?

cheers,
José

--
Yes, It loads and runs on my phone, also I can upload that specific .iai file to http://ai2.appinventor.mit.edu

--
Maybe there is upload size restriction on local appinventor server?
I'm uploading 3.0MB .iai file.

--
I think too many media upload elemets was causing:
java.lang.IllegalArgumentException: operating on too many entity groups in a single transaction.
There was about 40 or more media elements, after deleting large number of then, upload to local server was successful.

--
I believe I understand what is happening here.

AppInventor is hosted on Google’s App Engine system. App Engine places
strict limits of how long a single transaction can run (60
seconds). As you build your project you add blocks and upload
assets. Each of these operations runs in a small amount of time.

However when you attempt to upload a .aia file with a lost of assets,
the upload is one transaction. If there are a lot of images, it takes
awhile for these to get uploaded (another Google restriction). If the
sum of the upload times exceeds 60 seconds, the transaction is
terminated and your project upload fails.

We are looking at several alternatives to avoid this problem, but for
now there isn’t much we can do about it.

You are welcome to try uploading your project to
code.appinventor.mit.edu. This is a re-implementation of MIT App
Inventor which is not running in App Engine and doesn’t have the App
Engine related restrictions.

-Jeff

P.S. code.appinventor.mit.edu is reasonably stable, but we will be
updating it this week, including moving it to different hardware, so
there may be some (hopefully short) downtime.


Nir Vana writes:
> Yes, It loads and runs on my phone, also I can upload that specific
> .iai file to http://ai2.appinventor.mit.edu



--

댓글 없음:

댓글 쓰기