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

Bug #933692 reported by Nagappan Alagappan
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
at-spi2-core (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Tags: a11y
Revision history for this message
Mgorse (mgorse) wrote :

097e26 in at-spi2-atk should fix this. Will be in v2.3.90 on Monday.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in at-spi2-core (Ubuntu):
status: New → Confirmed
tags: added: a11y
Revision history for this message
Nagappan Alagappan (nagappan) wrote :
Revision history for this message
Nagappan Alagappan (nagappan) wrote :

I have verified this with today's package update and its fixed. Thanks

Changed in at-spi2-core (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.