Error when opening the online-accounts panel from command line

Bug #1273262 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm making an autopilot test for the click scope that needs an U1 account. But when I try to start the online accounts UI, I get an error.

$ system-settings online-accounts
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.

(process:27035): libupower-glib-WARNING **: already added: /org/freedesktop/UPower/devices/ups_hiddev0
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
WARNING: ListItems.Standard.icon is DEPRECATED. Use iconName and iconSource instead.
Opening Online Accounts
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml:59: Unable to assign [undefined] to bool
$

Related branches

Revision history for this message
Alberto Mardegan (mardy) wrote :

I can reproduce it as well. Actually, it seems to happen only if online-accounts-ui isn't running already; if it is, then it seems to work.

Changed in ubuntu-system-settings-online-accounts:
assignee: nobody → Alberto Mardegan (mardy)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Alberto Mardegan (mardy) wrote :

It seems that the problem is with system-settings exiting right after loading the plugin. I'll link a branch with a fix in a few minutes.

affects: ubuntu-system-settings-online-accounts → ubuntu-system-settings
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.1+14.04.20140128-0ubuntu1

---------------
ubuntu-system-settings (0.1+14.04.20140128-0ubuntu1) trusty; urgency=low

  [ CI bot ]
  * Resync trunk

  [ Alberto Mardegan ]
  * MainView: return success if a plugin has been loaded The
    loadPluginByName() function was not returning anything in the case
    where a plugin could be loaded but didn't provide a page component
    (like Online Accounts is doing). In this case probably JS returns
    just false. Make sure that the function returns a value in all
    cases: false if the plugin cannot be loaded, true if the plugin was
    loaded successfully (even if it doesn't provide a page component).
    (LP: #1273262)

  [ Sebastien Bacher ]
  * storage: use UbuntuShape rather than Rectangle, remove redundant
    “Installed apps” label
  * disable the osk predictive text, so results are shown while typing
    (LP: #1272081)
 -- Ubuntu daily release <email address hidden> Tue, 28 Jan 2014 13:22:49 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: New → Fix Released
Leo Arias (elopio)
tags: added: qa-new
removed: qa
no longer affects: ubuntu-system-settings
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.