V1.4

551 views
Skip to first unread message

Gary

unread,
Sep 21, 2012, 9:04:04 AM9/21/12
to ai...@googlegroups.com
I'm starting to get a version of the server up that is built from MIT's V129. It is not done but I put the jars on sourceforge so folks that want to start playing can get started.

It is based on MIT's source V129 with some of what the ai4a servers added. It has the code to run on Windows in addition to Linux and Mac. It also has the limit for App Inventor apps increased from 5Mb to 50Mb.

The version on sourceforge run but has problems with installing onto a device. The ai4a servers specified where tools were located, V1.4 currently uses the code from MIT and it does not find the jarsigner.exe. That can be fixed various ways, I have not decided how best to do that.

Soooo


You install it like the MIT version.

I'll be working on it as I have spare time.

Gary

kc ochibili

unread,
Sep 21, 2012, 7:11:46 PM9/21/12
to ai...@googlegroups.com
the 50mb size bump makes my mouth water :-)

Gary

unread,
Sep 22, 2012, 8:25:46 AM9/22/12
to ai...@googlegroups.com

On Friday, September 21, 2012 6:11:46 PM UTC-5, kc ochibili wrote:
the 50mb size bump makes my mouth water :-)

 KC, If you have V1.2 installed, you have the bump.

V1.4 has it, but it can have 'issues' when installing the .apk on a device. It works on my PC, but it would be awkward to have all of you use my PC ;-)

The issue is the code is not finding the jarsigner all the time. I have fixed that problem several ways, I want to do it such that it works without setting the location in a command line option or in a .properties file. That way folks can install the jar files and have a Personal server up and running.

I am deciding what direction I should go. AND I am working with twdb 2.0 first.

Gary

unread,
Sep 22, 2012, 8:40:36 AM9/22/12
to ai...@googlegroups.com
This is from the source:

/**
 * The TinyWebDB component communicates with a Web service to store
 * and retrieve information.  Although this component is usable, it is
 * very limited and meant primarily as a demonstration for people who
 * would like to create their own components that talk to the Web.
 * The accompanying Web service is at
 * (http://appinvtinywebdb.appspot.com).  The component has methods to
 * store a value under a tag and to retrieve the value associated with
 * the tag.  The interpretation of what "store" and "retrieve" means
 * is up to the Web service.  In this implementation, all tags and
 * values are strings (text).  This restriction may be relaxed in
 * future versions.
 *
 * @author halab...@google.com (Hal Abelson)
 */

"Although this component is usable, it is very limited and meant primarily as a demonstration for people who would like to create their own components that talk to the Web."

I upgraded the source from  http://beta.appinventor.mit.edu/learn/reference/other/tinywebdb.html to use the current Python version of App Engine. 
I am now working on building an App Engine  version of twdb 2.0 that uploads pictures to the Blobstore and works with twdb.
It is pretty close, it uploads pictures and displays them. It works with twdb. I'll have it return info about the blob uploaded and see where that goes.

You upload the file using html, so we should be able to use the nifty web view work that we are doing to upload any kind of file.
It currently displays the file uploaded, I am going to change that to return the file name and the url to display it, then the file name can be a tag and the url the value. Or I may have it return all the pictures stored as JSON. Or I may... do whatever makes sense.

The plan is to make it easy to upload anything to the cloud.

Gary

unread,
Sep 23, 2012, 10:42:25 AM9/23/12
to ai...@googlegroups.com
I updated V1.4  https://sourceforge.net/projects/ai4a-configs/upload/V1.4/

I am using the environment variable JAVA_HOME rather than the Java system property 'java.home'. Let me know if it does not work for you.

Gary

Taifun

unread,
Sep 23, 2012, 11:53:41 AM9/23/12
to ai...@googlegroups.com
I downloaded 1.4 yesterday and try to run it on Windows7 64 bit, but still with Java 6u35, I set the App Engine directory correctly:
set AEJSDK=..\..\appengine-java-sdk-1.7.2
but get a fatal error No fixid list found.
Any idea?
when I start the browser at
http://localhost:8888/ it seams to be that I get the old personal server which is still available in another directory?
Taifun


23.09.2012 15:42:16 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
23.09.2012 15:42:18 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF/appengine-web.xml
23.09.2012 15:42:18 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF/web.xml
23.09.2012 15:42:18 com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
23.09.2012 15:42:19 com.google.appinventor.server.IdMap <init>
SCHWERWIEGEND: No fixid list found.
23.09.2012 15:42:20 com.google.appengine.api.datastore.dev.LocalDatastoreService
 init
INFO: Local Datastore initialized:
        Type: Master/Slave
        Storage: C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF\appengine-generated\local_db.bin
23.09.2012 15:42:20 com.google.appengine.api.datastore.dev.LocalDatastoreService
 load
INFO: Time to load datastore: 100 ms
23.09.2012 15:42:22 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@localhost:8888
23.09.2012 15:42:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8888/
23.09.2012 15:42:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The admin console is running at http://localhost:8888/_ah/admin

Taifun

unread,
Sep 23, 2012, 12:43:21 PM9/23/12
to ai...@googlegroups.com
I now downloaded the newest update and get the same error
Taifun

Barre

unread,
Sep 24, 2012, 7:52:12 AM9/24/12
to ai...@googlegroups.com
hey guys i think i have a worked v1.29 personal server for windows with sdk 1.7.2 

i tested here and its works .

can Somme 1 else try it plz dropbox download : http://dl.dropbox.com/u/24259958/29.rar

its possible you have change the dir path of the sdk  into the startAI.bat cmd.

Gary

unread,
Sep 24, 2012, 11:01:41 AM9/24/12
to ai...@googlegroups.com

On Sunday, September 23, 2012 10:53:41 AM UTC-5, Taifun wrote:
I downloaded 1.4 yesterday and try to run it on Windows7 64 bit, but still with Java 6u35, I set the App Engine directory correctly:
set AEJSDK=..\..\appengine-java-sdk-1.7.2

I use an absolute path. I'll test if using a relative path changes anything.
 
but get a fatal error No fixid list found.
Any idea?

what happens when you go to  http://localhost:8888/

I get the same message. I look forward to having time to look into it.
sigh...

 
when I start the browser at http://localhost:8888/ it seams to be that I get the old personal server which is still available in another directory?

Is the other server running?

Gary

Gary

unread,
Sep 24, 2012, 11:03:16 AM9/24/12
to ai...@googlegroups.com

On Sunday, September 23, 2012 11:43:21 AM UTC-5, Taifun wrote:
I now downloaded the newest update and get the same error
Taifun


The change I made Sunday should only impact building an apk in the buildserver.
 

Gary

unread,
Sep 24, 2012, 11:04:54 AM9/24/12
to ai...@googlegroups.com
!!!

I really really wish I had more time to work on the server. 

Let us know what works and what does not.

Gary

Taifun

unread,
Sep 24, 2012, 3:32:21 PM9/24/12
to ai...@googlegroups.com
I tested again: old directory of personal server completely deleted and notebook rebooted. Path to App Engine now changed to direct path:
set AEJSDK=C:\Prog\appengine-java-sdk-1.7.2
Same problem: fatal error No fixid list found.

when I go to
http://localhost:8888/ the version I get is the old version (the new features of 129 are missing) and I get the message "This project was saved with a newer version of the App Inventor system. We will attempt to load the project, but there may be compatibility issues."

I get the same message. I look forward to having time to look into it.
sigh..
@Gary, did you say you also get the error No Fixid list found?
And you get version 129??? What is the correct version in the lower corner? I get the following: Version: 1+ Id: 0a5b464a3e66+

Taifun
PS: will now try Barre's version...

Taifun

unread,
Sep 24, 2012, 3:59:52 PM9/24/12
to ai...@googlegroups.com
I got it, it's running!
I deleted the cache, history and everything of my browser... restarted Gary's version of the personal server, well, same fatal error No fixid list found, but now I get the new version Built: September 19 2012 Version: v129
Woo Hoo!

Taifun

Taifun

unread,
Sep 24, 2012, 4:08:41 PM9/24/12
to ai...@googlegroups.com
I now checked Barre's version
@Barre: as far as I can see in your version there is the app inventor directory and the app engine sdk 1.7.2 directory, but no buildserver?
I get the same fatal error in Barre's version.
Well. probably that error can be ignored, we will see how things are going...
Taifun

Gary

unread,
Sep 24, 2012, 4:37:09 PM9/24/12
to ai...@googlegroups.com
Woo Hoo

fatal error? What fatal error? ;-)

Let me know if you find anything amiss!!!

and if you test with > 5Mb media.

Gary

unread,
Sep 24, 2012, 4:48:50 PM9/24/12
to ai...@googlegroups.com
I was rereading.

I test by shutting everything down and rebooting.

I deleted C:\Users\Gary\dev\ai4a\V1.4\AppEngine\war\WEB-INF\appengine-generated\local_db.bin at least once.
Hmmm

I really really wish I could afford to spend more time looking into everything. Thanks Taifun!

Barre

unread,
Sep 25, 2012, 1:27:01 AM9/25/12
to ai...@googlegroups.com
intresting , i will do that , yes i delete the buildserver for checking if it worked without.

so the fatal error can be ignored?

thx for the intel


Op maandag 24 september 2012 22:08:41 UTC+2 schreef Taifun het volgende:

Barre

unread,
Sep 25, 2012, 1:36:39 AM9/25/12
to ai...@googlegroups.com
i put the "build server" dir  to my v1.29 and thats works also without errors 



Op dinsdag 25 september 2012 07:27:01 UTC+2 schreef Barre het volgende:
ai1.29.PNG

Gary

unread,
Sep 25, 2012, 7:17:40 AM9/25/12
to ai...@googlegroups.com
I tested with the path in the startAI.cmd using a relative path and it worked
  at least once :-)

The scripts are more good enough to get things going than what we want. Look at what MIT added to the buildserver scripts (for Linux). Perhaps we can do the same for Mac and Windows.


Gary

unread,
Sep 25, 2012, 7:19:59 AM9/25/12
to ai...@googlegroups.com
If anyone has a Mac and tests V1.4, let us know how it goes.

or send me a Mac. ;-) 

Taifun

unread,
Sep 25, 2012, 4:36:38 PM9/25/12
to ai...@googlegroups.com
as Jos confirmed here https://groups.google.com/d/msg/app-inventor-open-source-dev/BJtPKnNgy6I/eSSoN9ZvEugJ
that error No fixid list found can be ignored
Taifun

Gary

unread,
Sep 27, 2012, 10:28:38 AM9/27/12
to ai...@googlegroups.com
:-)
Try setting this in the buildserver

@Option(name = "--requiredHosts",
            usage = "If specified, a list of hosts which are permitted to use this BuildServer, other the server is open to all."


The script for Linux/Mac shows an example.

Gary 

Gary

unread,
Oct 11, 2012, 5:39:10 PM10/11/12
to ai...@googlegroups.com
Did anyone test the 50Mb bump?

Gary

Jorge m

unread,
Oct 13, 2012, 11:50:57 AM10/13/12
to ai...@googlegroups.com
hi, how I can run the file in ubuntu?
thanks

Jose Mª Martin

unread,
Oct 13, 2012, 2:41:25 PM10/13/12
to ai...@googlegroups.com
Como cualquier otro ejecutable ./startAI

Y mirar la consola porque creo que necesitas tener el appengine-java-sdk junto con las capetas que tiene el zip.
Message has been deleted

Jorge m

unread,
Oct 14, 2012, 6:51:04 AM10/14/12
to ai...@googlegroups.com

Jose Mª Martin

unread,
Oct 14, 2012, 7:27:36 AM10/14/12
to ai...@googlegroups.com
El fallo es porque buildserver no esta arrancado y por eso no te deja compilar, tienes que hacer lo mismo que te he dicho antes pero en la carpeta Buildserver y con el comando ./launch-buildserver.

Gary

unread,
Oct 15, 2012, 2:03:21 PM10/15/12
to ai...@googlegroups.com
lots of conversation :-)

A school got the support (woo hoo) so I tested V1.4 in the cloud.

It works!!! I was pretty sure it would, but it is nice to actually test.

AND

I am currently using the App Engine part in the cloud connecting to a previous version of the buildserver. That works!
I'm sure there will be problems and I will get the V1.4 buildserver up soon

but a V1.4 server can use the old pre V1.2 buildserver (but you should not :-))


Gary

unread,
Oct 15, 2012, 2:20:03 PM10/15/12
to ai...@googlegroups.com
I'm making great progress with NOT getting twdb to do what I want :-)


I had to set JAVA_HOME on Windows
I tried with java_home and it did not work?

I expect Linux to act that way
and I like it

Windows...

Gary

Jorge m

unread,
Oct 15, 2012, 4:28:50 PM10/15/12
to ai...@googlegroups.com
no hay manera de que funciones el Buidserver, de toda formas me interesa por los apk de 50mg, sabes si funcina?

Jose Mª Martin

unread,
Oct 15, 2012, 8:00:49 PM10/15/12
to ai...@googlegroups.com

A mi tampoco me funciona el buildserver así.

Si usas linux montate tu un servidor propio así trasteas a tu gusto y lo del tamaño superior a los 5 megas yo tengo solventado el upload pero no el empaquetado hacia el APK, de todas formas tampoco es muy importante porque puedes poner dummys y luego reempaquetar el apk fuera de appintentor, pero bueno por simplificar el asunto no estaria mal poder sacar algo en claro.

Sebastiano T.

unread,
Oct 18, 2012, 11:10:54 AM10/18/12
to ai...@googlegroups.com
Hi Gary, your work is always excellent!
i managed to install it and run it succesfully after upgrading from V1.2 (not real upgrade, it was just quicker cause i had already ant , app engine sdk, java sdk installed : so actually i just unzipped v1.4 to a new dir in my pc )
My machine is Win Xp 32bit with Java6 upd36

I had to make few changes to config files, more specifically (i preferred to put absolute path everywhere):

launch-buildserver.cmd
cd /d D:\Android\V1.4\BuildServer
cd lib
java -Xmx1440m -cp activation-1.1.jar;jersey-bundle-1.3.jar;args4j-2.0.18.jar;jersey-multipart-1.3.jar;asm-3.1.jar;jettison-1.1.jar;BuildServer.jar;json.jar;CommonUtils.jar;jsr311-api-1.1.1.jar;CommonVersion.jar;localizer.jar;FastInfoset-1.2.2.jar;mail-1.4.jar;grizzly-servlet-webserver-1.9.18-i.jar;guava-10.0.1.jar;rome-0.9.jar;http-20070405.jar;sdklib.jar;jackson-core-asl-1.1.1.jar;stax-api-1.0-2.jar;jaxb-api-2.1.jar;wadl2java.jar;jaxb-impl-2.1.10.jar;wadl-cmdline.jar;jaxb-xjc.jar;wadl-core.jar;jdom-1.0.jar -Dfile.encoding=UTF-8 com.google.appinventor.buildserver.BuildServer --childProcessRamMb 1470 --port 9990

The part in red with the childprocess was needed in order to manage to build apk correctly (i saw it in previous documentation for v1.2 version and i "ported" it to v1.4 as well)

In the startAI.cmd i just put absolute path for the cd and the AEJSDK

Everything working wonderfully! looking as always for your news about Android sdk tools integration and AdMob integration :)

Sebastiano T.

unread,
Oct 19, 2012, 5:26:58 AM10/19/12
to ai...@googlegroups.com
Hi Gary, it's me again...
few updates, 
to locate the jarsigner.exe i think the best is to instruct users to define JAVA_HOME and the /bin path in the windows environment variables it's simple and it works (and also useful for other java sdk tasks)

I've tested the 50mb bump but apparently it's not working, when i try to package the apk i get the "old" Sorry, project was too large to package (7704136 bytes)
error (i've created and app with two mp3 of about 3,5mb each)
What can i check to help you fix the problem?

Another question, in the v1.2 the build process generated the AndroidManifest.xml.latest in the %LOCALAPPDATA%\ dir, 
it seems that with v1.4 this is not happening anymore, do you have any suggestion?
Also to launch the emulator, with v1.2 we had a config folder where the blocks editor run the run-emulator.bat file, on v1.4 i don't see any config file (like ai4a.properties)...
i'm missing something? thanks for your help

Gary

unread,
Oct 23, 2012, 10:45:47 AM10/23/12
to ai...@googlegroups.com
Howdy all,

I am able to surface again and hope to get some documentation out.

The V1.4 is MIT's V129 with code to run on Windows in addition to Linux and Mac.

You should set JAVA_HOME to the home of the jdk

I am going to tidy up the local repository and see if MIT will take a push with the Windows additions.



You can upload source that is bigger than 5Mb. You can run the app in debug
  but it will not generate an apk.
I think I tested with the code that uses the android tools when it worked. I plan on testing some more real soon.


V1.4 does not use the ai4a.properties. I wanted to get closer to what MIT source uses.

I am testing on Windows 7 64 bit with Java 7. The script files work on my system.
I would be thrilled if folks came up with better scripts.

If you use Windows 32 bit, set the memory as Sebastiano documented

Gary

unread,
Oct 23, 2012, 5:51:16 PM10/23/12
to ai...@googlegroups.com

Gary

unread,
Oct 24, 2012, 10:59:37 AM10/24/12
to ai...@googlegroups.com
I updated the source on github to use JARSIGNERLOCATION rather than getting it from JAVA_HOME

Gary

unread,
Oct 24, 2012, 11:01:44 AM10/24/12
to ai...@googlegroups.com
The jar files on sourceforge use JAVA_HOME.

I'll update sourceforge with something > V1.4 and let everyone know here.

Jomebrew

unread,
Oct 24, 2012, 11:04:02 AM10/24/12
to ai...@googlegroups.com
Are you building the drop in packages anymore?  I grabbed the latest source archive and can build myself of course but if it is already done...  Well, I am also keen to use what already works.

I am not too "git" aware so, do I just git from your source tree?  I "gitted"? "got"? "done git"? before but memory is a bit shaky. 

Are multiple git sources called "gii"?

/Joe

Gary

unread,
Oct 24, 2012, 11:29:54 AM10/24/12
to ai...@googlegroups.com


On Wednesday, October 24, 2012 10:04:33 AM UTC-5, Jomebrew wrote:
Are you building the drop in packages anymore?  I grabbed the latest source archive and can build myself of course but if it is already done...  Well, I am also keen to use what already works.

V1.4 on sourceforge is the jar files, ready to go http://sourceforge.net/projects/ai4a-configs/files/V1.4/


I am not too "git" aware so, do I just git from your source tree?  I "gitted"? "got"? "done git"? before but memory is a bit shaky. 

Depends on where you want to git to :-)

The stuff on sourceforge are built configurations.

You can git the source from MIT or from my version. Mine supports Windows. I passed on my changes to MIT and will start using branches from my source.

I am also just learning git. It looks good so far.
 

Are multiple git sources called "gii"?

Gee I do not know. :-)

I think it is a good name for them.

Jomebrew

unread,
Oct 24, 2012, 11:37:50 AM10/24/12
to ai...@googlegroups.com
I am not sure what bonehead thing I did but yesterday I grabbed your generously build V1.4 files from sourceforge but when I looked at the downloaded archive, it looked like the source package.  I looked just now and it is the jar files.  So, I am just going crazy.

I am interested in using git to sync with your source tree to I will give that a whirl too.  As with my prior custom builds, I don't know java but can hack source when I have to. 

Thanks!




Gary

unread,
Oct 24, 2012, 1:15:58 PM10/24/12
to ai...@googlegroups.com
Folks are VERY interested in bigger apps.

You can git a copy of my version or the MIT version. Very easy. Let us know how it goes.

david duan

unread,
Feb 1, 2013, 3:53:59 AM2/1/13
to ai...@googlegroups.com
I also has this problem

23.09.2012 15:42:19 com.google.appinventor.server.IdMap <init>
SCHWERWIEGEND: No fixid list found. 

This wll cause your login account can not packaging your finished building project.

On Sunday, September 23, 2012 11:53:41 PM UTC+8, Taifun wrote:
I downloaded 1.4 yesterday and try to run it on Windows7 64 bit, but still with Java 6u35, I set the App Engine directory correctly:
set AEJSDK=..\..\appengine-java-sdk-1.7.2
but get a fatal error No fixid list found.
Any idea?
when I start the browser at
http://localhost:8888/ it seams to be that I get the old personal server which is still available in another directory?
Taifun


23.09.2012 15:42:16 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
23.09.2012 15:42:18 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF/appengine-web.xml
23.09.2012 15:42:18 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF/web.xml
23.09.2012 15:42:18 com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
23.09.2012 15:42:19 com.google.appinventor.server.IdMap <init>
SCHWERWIEGEND: No fixid list found.
23.09.2012 15:42:20 com.google.appengine.api.datastore.dev.LocalDatastoreService
 init
INFO: Local Datastore initialized:
        Type: Master/Slave
        Storage: C:\Prog\appinventor-personal-V1.4\AppEngine\war\WEB-INF\appengine-generated\local_db.bin
23.09.2012 15:42:20 com.google.appengine.api.datastore.dev.LocalDatastoreService
 load
INFO: Time to load datastore: 100 ms
23.09.2012 15:42:22 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@localhost:8888
23.09.2012 15:42:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8888/
23.09.2012 15:42:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The admin console is running at http://localhost:8888/_ah/admin

Gary

unread,
Feb 1, 2013, 8:00:51 AM2/1/13
to ai...@googlegroups.com
Howdy

That should not be fatal. It is related to running the App Engine part in the cloud.

This thread started when we were talking about V1.4. The latest is V1.4.5 and some of us are testing V1.4.6a.1.

If you want to do some debugging, open a new conversation here https://groups.google.com/forum/?fromgroups=#!forum/usgsuacwai
and give your os and if it is 32bit/64 bit.
and what server you are using - MIT, MIT source or which of the Personal Servers.

We can get it going! It just takes a bit of work to find out what your setup is.

Gary


On Friday, February 1, 2013 2:53:59 AM UTC-6, david duan wrote:
I also has this problem

23.09.2012 15:42:19 com.google.appinventor.server.IdMap <init>
SCHWERWIEGEND: No fixid list found. 

This wll cause your login account can not packaging your finished building project.
... 
Reply all
Reply to author
Forward
0 new messages