Welcome screen on image #200 always states that there are no data sources available

Bug #1359022 reported by Victor Thompson
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Invalid
Medium
Unassigned
libusermetrics (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Upon upgrading to image 200 [1]. The welcome screen does not see any data sources for User Metrics. Even doing tasks that would normally add sources does not do so.

To reproduce:

1. Upgrade to image 200. Note that there are no sources found by the "No data sources available" message on the Welcome screen.
2. Play a few songs on the music app, letting each play for more than 10 seconds.
3. Take a few pictures with the camera app.
4. Note that the Welcome screen still reports "No data sources available"

Expected results:

Steps 3 and 4 would each lead to the Welcome screen showing valid data in libusermetrics and Step 1 should have retained the previous metrics.

I've looked at the music app logs and it doesn't look like libusermetrics is returning any sort of error and dmesg seems to be free of apparmor denials.

[1] http://people.canonical.com/~ogra/touch-image-stats/200.changes

Changed in music-app:
importance: Undecided → Medium
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
I can confirm that when using the package music-app/usermetrics on ubuntu touch utopic #200 using the steps provided by Victor that I can reproduce the bug. Therefore I have set this bug to confirmed.

Changed in libusermetrics:
status: New → Confirmed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Flashed phone back to #119 and can confirm it works there.

Revision history for this message
Victor Thompson (vthompson) wrote :

@popey, I assume you meant 199? I also have verified that it worked in 199 and broke in 200.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Also note that the in the console the music app is stating.

Failed to register user metric: "music-metrics" " "<b>%1</b> songs played today" ": Launch helper exited with unknown return code 1

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

This seems inconsistently broken:-

mako: ubuntu-touch/ubuntu-rtm/14.09-proposed r17 broken
mako: ubuntu-touch/devel-proposed r217 broken
krillin: ubuntu-touch/ubuntu-rtm/14.09-proposed r9: works.

Revision history for this message
Michał Sawicz (saviq) wrote :

It's unlikely then that unity8 is the problem, please mark otherwise if needed.

Changed in unity8:
status: New → Incomplete
Changed in unity8 (Ubuntu):
status: New → Incomplete
Pete Woods (pete-woods)
no longer affects: libusermetrics
Michał Sawicz (saviq)
no longer affects: unity8
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This is suspiciously close to the date in this bug 1363129 which caused files to have the wrong owner (logs owned by usermetrics).

Note this output:
$ sudo ls -l /var/lib/usermetrics/
total 16
-rw-r--r-- 1 messagebus systemd-journal 16384 Aug 20 13:21 usermetrics6.db

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

See also bug #1372502.

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

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

Changed in libusermetrics (Ubuntu):
status: New → Confirmed
Revision history for this message
Victor Thompson (vthompson) wrote :

This has been fixed (see notes in the comments of the bugs mentioned above). Marking as invalid for music-app.

Changed in music-app:
status: New → Invalid
Michael Terry (mterry)
Changed in unity8 (Ubuntu):
status: Incomplete → Invalid
Changed in libusermetrics (Ubuntu):
status: Confirmed → Invalid
Grazina (boroskograzina)
Changed in music-app:
assignee: nobody → Grazina (boroskograzina)
Grazina (boroskograzina)
Changed in music-app:
assignee: Grazina (boroskograzina) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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