I need to get the location of an object/node(an icon) present inside a Window
and print it.
I used,
ext = node.extents
print 'X, Y co-ordinates %d %d' %(ext[0] , ext[1])
I got the Error, pyspi.pyx : TypeError : an integer is required
Below is the full error description,
Traceback (most recent call last):
File "test1.py", line 29, in <module>
ext = mdm.extents()
File "/usr/lib/pymodules/python2.7/dogtail/tree.py", line 523, in __getattr__
return self.__component.getExtents()
File "pyspi.pyx", line 747, in atspi.Component.getExtents
TypeError: an integer is required
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/371825
Title:
pyspi.pyx : TypeError : an integer is required
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dogtail/+bug/371825/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs