JacobAMason / FTCDevSuite

3.. 2.. 1.. Charge!
1 stars 1 forks source link

App Inventor doesn't run correctly on clean installations #8

Closed dmssargent closed 8 years ago

dmssargent commented 8 years ago

I downloaded the latest App Inventor Full installer package [version 1.0.0] currently available, and attempted to install it with defaults checked in a clean Windows 8.1 VM.

Upon first launch, Firefox launched (version bundled in installer). The address was the correct address being http://localhost:8888 and it presented the login page, in which the default credentials were used Username: test@example.com No Password given

The Terms of Service was then accepted, and a new project was created (named "foo"). The project didn't open as the creation of the project failed, stuck at "Saving...".

The App Inventor session was then killed and restarted by hand in Command Prompt (for further diagnostic information): CMD 1: cd \d "%userprofile%\appinventor-sources\appinventor" && "%ANT_HOME%\bin\ant.bat" RunLocalBuildServer CMD 2: cd \d "%userprofile%\appinventor-sources" && "%localappdata%\appengine-java-sdk-1.9.27\bin\dev_appserver.cmd" --port=8888 --address=0.0.0.0 appinventor\appengine\build\war

After both processes reached the Server is running phase, I tried to go the localhost:8888 in Firefox were I was prompted greeted with HTTP 503 and SERVICE_UNAVAILABLE

The issue persisted across session (logon/logoff) and computer reboots.

Diagnostics performed: [FAILED] Tried launching the server against JDK 1.8.0_92 [latest JDK, per documentation of App Inventor can be used if not being pushed to Google App Engine servers] instead of JDK 1.7.0_90 [FAILED] Tried launching the server against App Engine 1.9.23 [default App Engine] inside App Inventor VM] instead of App Engine 1.9.27 [FAILED] Rebooting the server [FAILED] Reinstallation of components on same computer [FAILED] Running rebuilding appinventor in-place on system. Note: failed due to lack of aviable heap space due to a 32-bit version of Windows [SUCCESS] Running rebuilding appinventor in-place on system after executing: “set _JAVA_OPTION=-Xmx1024M”

The working solution right now for me is executing the following Gist as Batch file post-install (it takes about 5 minutes on my VM): https://gist.github.com/dmssargent/8ea6300620ace3a4f808e38e80dfee1a

I haven't yet tested pre-installation execution of those instructions on appinventor-sources