After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 488995 - None nodes in child iterator
None nodes in child iterator
Status: RESOLVED DUPLICATE of bug 465103
Product: accerciser
Classification: Applications
Component: core
0.1.x
Other Linux
: Normal normal
: ---
Assigned To: Accerciser Developers
Accerciser Developers
Depends on:
Blocks:
 
 
Reported: 2007-10-22 13:05 UTC by SteveLee
Modified: 2008-02-28 07:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description SteveLee 2007-10-22 13:05:06 UTC
At least for the desktop it is possible to get children of None.
so for example

import pyatspi
root = pyatspi.Registry.getDesktop(0)
for app in root:
  print app.name

will fail when app is None (gave me some very strange crashes)

I think that the iterator should only return valid acc nodes, otherwise we need to to extra checks (plus it really doesn't make sense).
Comment 1 Brian G. Merrell 2008-02-26 17:51:59 UTC
This is a problem with at-spi and has been logged for that product (see Bug 465103).  It can probably be marked as a duplicate of that bug.
Comment 2 Eitan Isaacson 2008-02-28 07:47:52 UTC
Thanks again, Brian!

*** This bug has been marked as a duplicate of 465103 ***