[Bug 933692] [NEW] dbind: Call to "GrabFocus" returned signature b; expected u

Nagappan Alagappan 933692 at bugs.launchpad.net
Thu Feb 16 19:15:12 UTC 2012


Public bug reported:

Steps to reproduce:

Install latest LDTP
Enable accessibility
Logout once and login back, if just enabling accessibility, else ignore this step
export LDTP_DEBUG=2 in one gnome-terminal (Ubuntu 12.04)
ldtp

In second terminal

python
>>> from ldtp import *
>>> launchapp('gedit')
>>> click('*-gedit', 'btnOpen')

In first terminal, you will notice the following stack trace:

dbind-WARNING **: dbind: Call to "GrabFocus" returned signature b; expected u
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 132, in process
    self.render(resrc)
  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 167, in render
    body = resrc.render(self)
  File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
    return m(request)
  File "/usr/local/lib/python2.7/dist-packages/ldtpd/xmlrpc_daemon.py", line 116, in render_POST
    xmlrpc.defer.maybeDeferred(function, *args, **kwargs).\
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/ldtpd/core.py", line 780, in click
    self._grab_focus(obj)
  File "/usr/local/lib/python2.7/dist-packages/ldtpd/utils.py", line 920, in _grab_focus
    componenti.grabFocus()
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Call to "GrabFocus" returned signature b; expected u

Note: This worked on Ubuntu 11.04, but on that we can run the test with
at-spi1. This has to be fixed, else this will block automated testing in
Ubuntu 12.04

I had discussion with upstream authore Mike Gorse, he suggested that the
latest at-spi2 has the fix for this.

http://mail.gnome.org/archives/gnome-accessibility-
devel/2012-February/msg00000.html

If you need additional info, please let me know. Thanks

** Affects: at-spi2-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Accessibility, which is subscribed to at-spi2-core in Ubuntu.
https://bugs.launchpad.net/bugs/933692

Title:
  dbind: Call to "GrabFocus" returned signature b; expected u

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/933692/+subscriptions



More information about the Ubuntu-accessibility-bugs mailing list