Does not load the testability driver when QT_LOAD_TESTABILITY is set

Bug #1400619 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts setup for Ubuntu Touch
Fix Released
High
Alberto Mardegan
ubuntu-system-settings-online-accounts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm currently unable to introspect into the signon-ui dialog that is launched when trying to install an application as it doesn't load the testability driver when QT_LOAD_TESTABILITY is set.

(Unable to pass -testability as a command line option as the dialog is launched independently).

Related branches

Alberto Mardegan (mardy)
affects: signon-ui → ubuntu-system-settings-online-accounts
Changed in ubuntu-system-settings-online-accounts:
status: New → In Progress
assignee: nobody → Alberto Mardegan (mardy)
importance: Undecided → High
Revision history for this message
Christopher Lee (veebers) wrote :

I tested the existing proposal and it attempts to load the module but fails with the message (bigger log here[1]):

.. snip ..
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
.. snip ..

To reproduce (on the device):
  - Run: OAU_LOGGING_LEVEL=2 OAU_DAEMON_TIMEOUT=9999 QT_LOAD_TESTABILITY=1 online-accounts-service
  - Open the signon-ui dialog (i.e. attempt to install an application)
  - Note the log output in the console.

The failure message is coming from libautopilot-qt when it attempts to connect to dbus[2].
Looking at the log it appears that it might be trying to load the driver twice? Once succeeding the other failing (pure conjecture).

[1] http://pastebin.ubuntu.com/9473161/
[2] http://bazaar.launchpad.net/~autopilot/autopilot-qt/trunk/view/head:/driver/qttestability.cpp#L38

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

This bug was fixed in the package ubuntu-system-settings-online-accounts - 0.5+15.04.20141209-0ubuntu1

---------------
ubuntu-system-settings-online-accounts (0.5+15.04.20141209-0ubuntu1) vivid; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Alberto Mardegan ]
  * Load testability driver if QT_LOAD_TESTABILITY is set (LP: #1400619)
 -- Ubuntu daily release <email address hidden> Tue, 09 Dec 2014 13:45:40 +0000

Changed in ubuntu-system-settings-online-accounts (Ubuntu):
status: New → Fix Released
Alberto Mardegan (mardy)
Changed in ubuntu-system-settings-online-accounts:
status: In Progress → 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.