michkaravolos / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Unable to connect to SL4A server on Atrix(Gingerbread) from Macbook Pro via USB #585

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Motorola Atrix 4G

What firmware version are you running on the device?

What steps will reproduce the problem?
1. Procure and place 'android.py(SL4A)' in working directory.
2. At Python prompt:
   >>>import android
   >>>a = android.Android()

What is the expected output?
No error should be seen. 

What do you see instead?
"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "sla.py", line 34, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
"

What version of the product are you using? On what operating system?
PythonForAndroid_r6.apk under sl4a_r4.apk on Gingerbread(2.3.6)

Please provide any additional information below.

Original issue reported on code.google.com by fibinse....@gmail.com on 6 Nov 2011 at 7:15