ldtp/pyatom

Getwindowlist() fails

Opened this issue · 1 comments

I have been seeing more and more getwindowlist() failing.
The following is the logging output from the new logging to file via env var:
Traceback (most recent call last):
File "build/bdist.macosx-10.8-intel/egg/atomac/ldtpd/utils.py", line 183, in _dispatch
return getattr(self, method)(*args)
File "build/bdist.macosx-10.8-intel/egg/atomac/ldtpd/core.py", line 110, in getwindowlist
return self._get_windows(True).keys()
File "build/bdist.macosx-10.8-intel/egg/atomac/ldtpd/utils.py", line 336, in _get_windows
if not app_windows and app.AXRole == "AXApplication":
File "build/bdist.macosx-10.8-intel/egg/atomac/AXClasses.py", line 681, in getattr
attr = self._getAttribute(name)
ErrorInvalidUIElement: Error retrieving attribute (AXError -25202)

satpal