New question #261363 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261363

I have a problem that sounds similar to question 223935 but is based on the 
version of Java I have installed. I'm using Sikuli 1.0.1 on 2 Mac Mini machine 
- 1 with Java 1.6 and the other with Java 7 installed. Using the same scripts 
and setup, I'm seeing an error in line 668 of socket.py in the 
sikuli-script.jar file when trying to run gethostname. The script is doing an 
'import pymongo' and returns the following:

import pymongo
  File "/Library/Python/2.7/site-packages/pymongo.egg/pymongo/__init__.py", 
line 104, in <module>
  File "/Library/Python/2.7/site-packages/pymongo.egg/pymongo/connection.py", 
line 41, in <module>
  File "/Library/Python/2.7/site-packages/pymongo.egg/bson/__init__.py", line 
32, in <module>
  File "/Library/Python/2.7/site-packages/pymongo.egg/bson/objectid.py", line 
50, in <module>
  File "/Library/Python/2.7/site-packages/pymongo.egg/bson/objectid.py", line 
57, in ObjectId
  File "/Library/Python/2.7/site-packages/pymongo.egg/bson/objectid.py", line 
46, in _machine_bytes
  File "/Users/oscar/SikuliX/sikuli-script.jar/Lib/socket.py", line 668, in 
gethostname
socket.gaierror: (20001, 'getaddrinfo failed')

If I replace java 1.7 with java 1.6 on the machine that fails, it will then 
work. Currently, I have 2 setups running java 1.6 but I'd like to at least 
update them to use 1.7. Any suggestions?


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to