Skip to first unread message
Assigned to ewpa...@gmail.com by me

Hassan Raza

unread,
Jan 26, 2017, 10:22:06 PM1/26/17
to MIT App Inventor Forum
Hello all, I am using App Inventor 2 from last last couple of weeks. 
I started with a famous "Hello World!" App and successfully run it on EMULATOR. 
But after couple of days later when I try to run it again onto EMULATOR. It started giving me ERRORs. 
Kindly help me get rid off from this problem.
THANKS

REGARDS.

Some snaps are also attached.




Error text given below


"Platform = Windows
AppInventor tools located here: "C:\Program Files (x86)"
Bottle server starting up (using WSGIRefServer())...
Hit Ctrl-C to quit.

Traceback (most recent call last):
  File "C:\Users\mckinney\Projects\appinventor-tools-setup\Windows\aiStarter\build\aiStarter\out00-PYZ.pyz\bottle", line 737, in _handle
  File "C:\Users\mckinney\Projects\appinventor-tools-setup\Windows\aiStarter\build\aiStarter\out00-PYZ.pyz\bottle", line 1454, in wrapper
  File "<string>", line 63, in echeck
  File "<string>", line 107, in checkrunning
  File "C:\Users\mckinney\Projects\appinventor-tools-setup\Windows\aiStarter\build\aiStarter\out00-PYZ.pyz\subprocess", line 568, in check_output
  File "C:\Users\mckinney\Projects\appinventor-tools-setup\Windows\aiStarter\build\aiStarter\out00-PYZ.pyz\subprocess", line 711, in __init__
  File "C:\Users\mckinney\Projects\appinventor-tools-setup\Windows\aiStarter\build\aiStarter\out00-PYZ.pyz\subprocess", line 948, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
127.0.0.1 - - [27/Jan/2017 07:56:58] "GET /echeck/ HTTP/1.1" 500 748

Abraham Getzler

unread,
Jan 27, 2017, 1:16:34 PM1/27/17
to MIT App Inventor Forum
Do you like to leave your PC running overnight?

Maybe it has extra copies of adb.exe running, blocking the connection to the emulator.
Kill them all from Windows Task Manager
then RESET Connection from the AI2 window.
Also see the Companion and Emulator section of this FAQ:
ABG

Hassan Raza

unread,
Feb 1, 2017, 4:14:58 AM2/1/17
to MIT App Inventor Forum
I still facing same issue.....
I'll be thankful to whom, who will help me to get rid off from this issue
THANKS

Evan Patton

unread,
Feb 1, 2017, 7:33:41 AM2/1/17
to MIT App Inventor Forum
Hi Hassan,

Can you run the following test for me and show the output?

Press Windows+R to bring up the run command dialog.
Type cmd.exe and press enter.
In the command prompt that opens:
  1. Type "C:\Program Files (x86)\AppInventor\commands-for-Appinventor\adb.exe" devices (including quotes) and press enter
  2. Type "C:\Program Files\AppInventor\commands-for-Appinventor\adb.exe" devices (including quotes) and press enter
If everything is okay, one of these two should return something like:

C:\Users\ewpatton> "C:\Program Files (x86)\AppInventor\commands-for-Appinventor\adb.exe" devices"
List of devices attached
emulator-5554    emulator

Note that the last line won't be present if you don't actually have the emulator up, but that is not important for this first test. If both of these commands come back with errors, did you change the installation directory or install under a different, non-administrator user?

Evan

Hassan Raza

unread,
Feb 1, 2017, 8:53:39 PM2/1/17
to MIT App Inventor Forum
HI EVAN,
I run commands in cmd as you instruct me and following output appear which I think shouldn't appear.

Here is scree shots 

Evan Patton

unread,
Feb 1, 2017, 11:03:51 PM2/1/17
to MIT App Inventor Forum
Thanks Hassan.

You forgot to include the keyword devices at the end of the command, but the output confirms that adb.exe is there and that you have permission to run it; that's good. I'm curious now if the following runs, and if not, what the error message is:

"C:\Program Files (x86)"\AppInventor\commands-for-Appinventor\adb devices

Would you mind running that command? This is the same command as what aiStarter runs when the echeck is performed.

Evan

Hassan Raza

unread,
Feb 2, 2017, 2:34:13 AM2/2/17
to MIT App Inventor Forum
Hi EVAN,
I Run another command in CMD as you instruct and following output I get.
Look at this and tell me something
Here is Snapshot of output screen

 
Reply all
Reply to author
Forward
0 new messages