I have installed App Inventor 2 using a Debian package and these instructions. The software is 32 bit and my computer is 64.
Apparently also needed Oracle JRE for App Inventor and finally got it to work with Firefox. (The verification of my Java version works on Oracle's website and Firefox correctly opens jnlp
files.)
However, I can't get aiStarter
to work, which is needed to use the online Emulator. Seems to have to do with the 32-64-bit clash? I get the following error:
$ ./aiStarter
Bottle server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8004/
Hit Ctrl-C to quit.
Shutdown...
Traceback (most recent call last):
File "<string>", line 129, in <module>
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/bottle", line 2389, in run
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/bottle", line 2086, in run
File "/usr/lib/python2.7/wsgiref/simple_server.py", line 144, in make_server
return [stdout.getvalue()]
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/SocketServer", line 419, in __init__
File "/usr/lib/python2.7/wsgiref/simple_server.py", line 48, in server_bind
HTTPServer.server_bind(self)
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/BaseHTTPServer", line 108, in server_bind
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/SocketServer", line 430, in server_bind
File "/home/mckinney/Development/repo/mit-cml/appinventor-setup/Linux/aiStarter/build/aiStarter/out00-PYZ.pyz/socket", line 224, in meth
socket.error: [Errno 98] Address already in use
/usr/google/appinventor/commands-for-Appinventor/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I also read this that I though might help and tried the following to see what dependencies to install, but no luck from what I can see:
$ dpkg-deb -I appinventor2-setup_2.3_all.deb
new debian package, version 2.0.
size 75112754 bytes: control archive=2310 bytes.
286 bytes, 10 lines control
14440 bytes, 123 lines md5sums
Package: appinventor2-setup
Version: 2.3
Architecture: all
Maintainer: Hal Abelson <hal@mit.edu>
Installed-Size: 173563
Section: misc
Priority: optional
Description: Appinventor2-setup version 1.1
This software is used in conjunction with
MIT App Inventor. See appinventor.mit.edu
Anyone who's managed this and can give me a hand?
8004
-socket.error: [Errno 98] Address already in use
indicates that you may already have something running there – Thomas Ward Feb 18 '16 at 14:42netstat -lp
:tcp 0 0 localhost:8004 *:* LISTEN 6957/aiStarter
. Is it already running there itself? (Sorry for silly questions, don't know much about ports...) – Ingrid Feb 18 '16 at 14:47