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 654685 - Frequent LookupErrors
Frequent LookupErrors
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp2
2.0.0
Other Linux
: Normal normal
: ---
Assigned To: LDTP Development Mailing List
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2011-07-15 15:28 UTC by Michael Terry
Modified: 2011-07-16 00:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Terry 2011-07-15 15:28:11 UTC
When using ldtp (say, just having it sit there imported in an interactive python console), it doesn't take long for it to spit out a LookupError.  After that, ldtp in that python session doesn't work.

I'm not sure exactly what triggers it.  I think it helps to be doing things elsewhere on the desktop.

This is on Ubuntu 11.10, using 2.1.1-2ubuntu1.

Traceback (most recent call last):
  • File "/usr/lib/pymodules/python2.7/ldtpd/utils.py", line 258 in _on_window_event
    event.source)
  • File "/usr/lib/pymodules/python2.7/ldtpd/utils.py", line 335 in _ldtpize_accessible
    rel_set = acc.getRelationSet()
  • File "/usr/lib/python2.7/dist-packages/pyatspi/Accessibility.py", line 171 in <lambda>
    Atspi.Accessible.getRelationSet = lambda *args: exwrap(Atspi.Accessible.get_relation_set, *args)
  • File "/usr/lib/python2.7/dist-packages/pyatspi/Accessibility.py", line 154 in exwrap
    raise LookupError LookupError

Comment 1 Nagappan Alagappan 2011-07-16 00:25:27 UTC
Have pushed the fix to git head, thanks for the bug report, please feel free to reopen the issue, if you still face the issue.