Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ldtp:3781): WARNING **: AT-SPI: Error in GetItems, #32

Open
majuanjuan opened this issue Jan 18, 2017 · 6 comments
Open

(ldtp:3781): WARNING **: AT-SPI: Error in GetItems, #32

majuanjuan opened this issue Jan 18, 2017 · 6 comments

Comments

@majuanjuan
Copy link

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?

@brownie313
Copy link

@majuanjuan, did you find a solution for this problem? I'm facing the same issue

@nagappan
Copy link
Member

Can you try getwindowlist() or getapplist() works ?

@brownie313
Copy link

@nagappan,

  1. Will those work even if the "from ldtp import *" throws an error?
  2. 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?

@brownie313
Copy link

FYI, ldtp was installed using the command "sudo apt install ldtp". Don't know if that matters or not

@purushothamc
Copy link

did you get solution for this problem ?

@brownie313
Copy link

brownie313 commented Feb 28, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants