[Bug 371825] Re: pyspi.pyx : TypeError : an integer is required

Edward Rosario geteddy333 at gmail.com
Tue Feb 28 13:51:34 UTC 2012


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
Accessibility, which is subscribed to dogtail in 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



More information about the Ubuntu-accessibility-bugs mailing list