ldtp / ldtp2

Linux Desktop Testing Project
GNU Lesser General Public License v2.1
108 stars 49 forks source link

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

Open majuanjuan opened 7 years ago

majuanjuan commented 7 years ago

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 commented 7 years ago

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

nagappan commented 7 years ago

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

brownie313 commented 7 years ago

@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 commented 7 years ago

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

purushothamc commented 5 years ago

did you get solution for this problem ?

brownie313 commented 5 years ago

not yet

2019년 2월 28일 (목) 20:54, Chowdam Purushotham notifications@github.com님이 작성:

did you get solution for this problem ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ldtp/ldtp2/issues/32#issuecomment-468245771, or mute the thread https://github.com/notifications/unsubscribe-auth/Aa0ykTgk3HwPUGkNcj1fhnUJzryYG93Oks5vR8OPgaJpZM4Lmo88 .