dogtail-devel [Bug 321273] Problem where dogtail stops working altogether



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321273
 dogtail | Framework | Ver: CVS HEAD





------- Additional Comments From Dave Malcolm  2005-11-11 23:26 -------
I went through all of them and there were two indexes for which checkSelf failed
(2 and 4 below).  I couldn't spot any apps that were missing; maybe there's some
kind of stale reference?

>>> import atspi
>>> atspi.registry.getDesktop().getChildCount()
11
>>> atspi.registry.getDesktop().getChildAtIndex(0).getName()
'gnome-terminal'
>>> atspi.registry.getDesktop().getChildAtIndex(1).getName()
'metacity'
>>> atspi.registry.getDesktop().getChildAtIndex(2).getName()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pyspi.pyx", line 354, in atspi.Accessible.getName
  File "pyspi.pyx", line 140, in atspi.Base.__checkSelf
AssertionError
>>> atspi.registry.getDesktop().getChildAtIndex(3).getName()
'gnome-panel'
>>> atspi.registry.getDesktop().getChildAtIndex(4).getName()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pyspi.pyx", line 354, in atspi.Accessible.getName
  File "pyspi.pyx", line 140, in atspi.Base.__checkSelf
AssertionError
>>> atspi.registry.getDesktop().getChildAtIndex(5).getName()
'notification-area-applet'
>>> atspi.registry.getDesktop().getChildAtIndex(6).getName()
'nautilus'
>>> atspi.registry.getDesktop().getChildAtIndex(7).getName()
'evolution'
>>> atspi.registry.getDesktop().getChildAtIndex(8).getName()
'epiphany'
>>> atspi.registry.getDesktop().getChildAtIndex(9).getName()
'mixer_applet2'
>>> atspi.registry.getDesktop().getChildAtIndex(10).getName()
'gramps'
>>> atspi.registry.getDesktop().getChildAtIndex(11).getName()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pyspi.pyx", line 354, in atspi.Accessible.getName
  File "pyspi.pyx", line 140, in atspi.Base.__checkSelf
AssertionError
>>> atspi.registry.getDesktop().getChildAtIndex(4).getName()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pyspi.pyx", line 354, in atspi.Accessible.getName
  File "pyspi.pyx", line 140, in atspi.Base.__checkSelf
AssertionError
>>> atspi.registry.getDesktop().getChildAtIndex(4)
<atspi.Accessible object at 0xb7bebb60>
>>> atspi.registry.getDesktop().getChildAtIndex(4)
<atspi.Accessible object at 0xb7bebb80>
>>> atspi.registry.getDesktop().getChildAtIndex(2)
<atspi.Accessible object at 0xb7bebb70>


All of the methods on those instances seem to fail with __checkSelf assertions
(meaning a underlying NULL pointer in the C level, right?)
I guess we can bulletproof things against this until we figure out what the
udnerlying problem is.


------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]