sikuli_cpython
sikuli_cpython copied to clipboard
Package stops while looking to getLocation()
I am using this code to verify that the package is working. I am using Mac OS
import os
import sikuli
dm = sikuli.DesktopMouse()
dir(dm)
#['__class__', '__cls_storage', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', u'__javaclass__', u'__javaconstructor__', '__module__', '__new__', '__pyx_vtable__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'click', 'doubleClick', 'drag', 'drop', 'equals', 'getClass', 'getLocation', 'hashCode', 'location', 'mouseDown', 'mouseUp', 'notify', 'notifyAll', 'rightClick', 'toString', 'wait', 'wheel']
x = dm.getLocation()
When I try this code, I can see it is trying to load some java lib as shown and gets stuck there. I didn't get any error to know what the package is trying to load. Any help to troubleshoot this would be greatly appreciated.