Unity8 freeze (caused by shell plugin) after performing OA workflow

Bug #1373807 reported by Pete Woods
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-shell
Fix Released
Critical
Marcus Tomlinson
unity-scopes-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

From Kyle:

Today, I took a another look the new support for online accounts for scopes (since my email of last week).

Problem is that after logging into the facebook account in OA settings and then authenticating the app there, creating the unity::scopes::OnlineAccountClient object *every time after that* causes the code to not return: the scope hangs.

In my query::run(), right at the top, I have this:

     qDebug() << "=== query run()";
     qDebug() << "=== query run() 1";
     unity::scopes::OnlineAccountClient oa_client("com.canonical.scopes.fbphotos_fbphotos", "fbphotos", "facebook");
     qDebug() << "=== query run() 2";

Until I authorize the app in OA > facebook account > settings, I get this:

=== query run() 1
=== query run() 2

At this point, I do see the "Log In" reply displayed in the scope, and things are looking good. So I go to OA and authorize the app.

But after this, we never return from the instantiation of the oa_client, and I see this *only*:

=== query run() 1

Seems to hang on
unity::scopes::OnlineAccountClient oa_client(...)

Any thoughts?

Tags: rtm14

Related branches

Pete Woods (pete-woods)
Changed in unity-scopes-shell:
status: New → Confirmed
importance: Undecided → Critical
tags: added: rtm14
Changed in unity-scopes-shell:
assignee: nobody → Marcus Tomlinson (marcustomlinson)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-shell - 0.5.4+14.10.20140925-0ubuntu1

---------------
unity-scopes-shell (0.5.4+14.10.20140925-0ubuntu1) utopic; urgency=low

  [ Marcus Tomlinson ]
  * OnlineAccountsClient::Setup::finished signature changed causing a
    hang. Use safer C++11-style connect() (LP: #1373807)
 -- Ubuntu daily release <email address hidden> Thu, 25 Sep 2014 09:53:15 +0000

Changed in unity-scopes-shell (Ubuntu):
status: New → Fix Released
Changed in unity-scopes-shell:
status: Fix Committed → 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.