Re: [g-a-devel] "Couldn't register with accessibility bus" Error



It seems that, at least in some cases, the X property for the accessibility bus address either isn't being set or isn't sticking. So AT-SPI uses the session bus to find the accessibility bus address, since it didn't find the X property. When an application runs as root and tries to register itself on the accessibility bus, it triggers a new instance of at-spi-bus-launcher, since DBUS_SESSION_BUS_ADDRESS is not passed through and so the session bus is different, and this time it _does_ set the X property, causing new programs to try to use the new bus started by the root application (which probably won't accept connections coming from other users). In theory, at-spi-bus-launcher should be setting the X property the first time it is run, so all of this should not happen. I'm not sure why that isn't working; need to look into it more.

-Mike

On Sun, 5 Jun 2011, Nischal Rao wrote:

Hi,

I sometimes come across the following error in at-spi2 when I try to start an application of mine that uses pyatspi2 :

      WARNING **: Couldn't register with accessibility bus: 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.
      process 12330: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line
      3524.

      This is normally a bug in some application using the D-Bus library.
        D-Bus not built with -rdynamic so unable to print a backtrace
      Aborted


I am able to consistently reproduce this issue by going to the package manager in OpenSUSE (looks like the massive tree structure in the package manager is causing this
error) and then start my application. I also found that applications like Accerciser don't start at all after this (even if I close the package manager application).

--
Best Regards,
Nischal E Rao

Download VEDICS @ http://vedics.sourceforge.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]