(ldtp:3781): WARNING **: AT-SPI: Error in GetItems,
majuanjuan opened this issue · 6 comments
Hi . I install ldtp by git clone and followed the step on your site (make install ..etc) using Fedora24
And when I try to import ldtp in python IDE, it gave me a bad news:
`/usr/lib/python2.7/site-packages/ldtpd/init.py:45: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/lib/python2.7/site-packages/ldtpd/core.py:29: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Wnck as wnck
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95bab230)>, 'window:deactivate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95ba48c0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
** (ldtp:3884): WARNING **: AT-SPI: Error in GetItems, sender=(null), error=Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95be94d0)>, 'window:activate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95ba48c0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95bd9ea0)>, 'window:create', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95bde6a0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95be8740)>, 'window:deactivate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95ba48c0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95be8740)>, 'window:activate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95bde6a0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95c019f0)>, 'window:deactivate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95bde6a0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95c019f0)>, 'window:activate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95bde6a0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95c019f0)>, 'window:deactivate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95bde6a0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
(<Atspi.Event object at 0x7fc73d172e88 (AtspiEvent at 0x55db95c019f0)>, 'window:activate', <Atspi.Accessible object at 0x7fc73d191a00 (AtspiAccessible at 0x55db95ba48c0)>, <Atspi.Accessible object at 0x7fc73d191550 (AtspiAccessible at 0x55db957fb0a0)>)
`
I am , in fact , really confused about that. Would anyone please give me some advice?
@majuanjuan, did you find a solution for this problem? I'm facing the same issue
Can you try getwindowlist() or getapplist() works ?
- Will those work even if the "from ldtp import *" throws an error?
- I'm also having similar errors when i try to launch ldtp by issuing "$ldtp"
====error log ===
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
/usr/lib/python2.7/dist-packages/pyatspi/init.py:17: PyGIWarning: Atspi was imported without specifying a version first. Use gi.require_version('Atspi', '2.0') before import to ensure that the right version gets loaded.
from gi.repository import Atspi
/usr/lib/python2.7/dist-packages/ldtpd/core.py:28: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Wnck as wnck
** (ldtp:1826): ERROR **: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
FYI, ldtp was installed using the command "sudo apt install ldtp". Don't know if that matters or not
did you get solution for this problem ?