Lens doesn't start on login

Bug #758839 reported by Jorge Castro on 2011-04-12
88
This bug affects 16 people
Affects Status Importance Assigned to Milestone
AskUbuntu Lens
Critical
Unassigned
Gwibber
Undecided
Unassigned
Unity-lens-gwibber
High
Ken VanDine
Unity
Fix Released
High
Neil J. Patel
Unity Books Lens
Critical
Unassigned
libunity
Fix Released
High
Neil J. Patel
unity-2d
High
Unassigned
libunity (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

I can reproduce this on 2 machines, the lens doesn't start up, but the daemon is running. I have to kill the daemon and then reinitialize unity for it to work.

Ken VanDine (ken-vandine) wrote :

If I start the daemon manually then restart unity with "setsid unity" I see some assertions complaining the sections model isn't a Dee Model. G_IS_DEE_MODEL assertions, something like that. And trying to look at it in d-feet, the sections model doesn't look out of the ordinary.

Changed in askubuntu-lens:
status: New → Confirmed
importance: Undecided → Critical

As of revision 39, I can't reproduce it anymore - but since I'm not really sure what went wrong, I'm marking this incomplete. Please try to confirm or reproduce.

Changed in askubuntu-lens:
status: Confirmed → Incomplete
Changed in libunity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Ken VanDine (ken-vandine) wrote :

I marked this as affecting libunity as well, there is clearly something wrong here and I don't think it is specific to the askubuntu lens. This happens on and off with the gwibber and google books lenses too. There are times when none of the 3 work at all, or all but 1 works, but it has been weeks since I have had all 3 of these start properly at login. The one thing they all have in common is python, however the reddit lens is python and I have never had that one fail to start. But I have only had it installed for a few days, so maybe it is just luck.

It is definitely something that only happens at login time, if I login and kill all the daemons then run "setsid unity", they all work.

Of interest, I added logging to the gwibber lens and noticed that even when the lens doesn't appear to be functioning, all the functions that refresh the data gets called just fine. My function that gets called on the active signal gets called, but the results aren't getting rendered. The sections don't show up in the lens either, nor in the quicklist.

I would be happy to add any more debugging that might be useful, but it feels to me that it is the unity side not playing well with the models.

Changed in libunity:
importance: Undecided → Medium
Jorge Castro (jorge) on 2011-04-20
Changed in libunity:
status: New → Confirmed
David Callé (davidc3) on 2011-04-20
Changed in unity-books-lens:
status: New → Confirmed
Didier Roche (didrocks) wrote :

(after feedback from Mikkel)

This is an important thing to tackle for Natty, too late for final though. So, let's target for a 0day SRU.

Changed in libunity:
importance: Medium → High
Changed in unity:
importance: Undecided → High
status: New → Triaged
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
milestone: none → 3.8.12
Ken VanDine (ken-vandine) wrote :

I tested by reverting the lazy loading branch of unity and they all worked fine. So it was introduced by rev 1133 on trunk.

Without reverting that branch, I do see the following output in .xsession-errors when right-clicking on a lens that isn't loading the sections:

(<unknown>:24978): dee-CRITICAL **: dee_model_get_first_iter: assertion `DEE_IS_MODEL (self)' failed
(<unknown>:24978): dee-CRITICAL **: dee_model_get_last_iter: assertion `DEE_IS_MODEL (self)' failed

I suspect it isn't really lazy loading the sections model, so now it doesn't block on the model being up but never connects when it is available.

Oier Mees (oier) wrote :

I also have the problem that the lense doesn't show any result (I have installed it from the PPA) on startup(never). When I then run unity --replace it sometimes works.

Didier Roche (didrocks) on 2011-04-21
Changed in libunity:
status: Confirmed → Triaged
Changed in libunity (Ubuntu):
status: New → Triaged
David Barth (dbarth) on 2011-04-22
Changed in unity:
milestone: 3.8.12 → 3.8.14
David Callé (davidc3) on 2011-04-25
Changed in unity-books-lens:
importance: Undecided → Critical
Ken VanDine (ken-vandine) wrote :

I can no longer reproduce this on standard Unity, however it does still seem to happen with unity-2d. Maybe a completely different bug?

Jorge Castro (jorge) wrote :

I can no longer reproduce this on the Ask Ubuntu lens on Unity after the last update, 5 out of 5 logins all work.

David Callé (davidc3) wrote :

I still can reproduce it from time to time on two different installs.

Tim Penhey (thumper) wrote :

I have this problem on my desktop, but not my laptop.

David Barth (dbarth) wrote :

Neil: I'll let you either dive into it or re-assign. Maybe to the reporter above ;)

Changed in unity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → Neil J. Patel (njpatel)
milestone: 3.8.14 → 3.8.16
Changed in libunity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → Neil J. Patel (njpatel)
Didier Roche (didrocks) on 2011-05-31
Changed in unity-2d:
status: New → Triaged
David Barth (dbarth) on 2011-06-15
Changed in unity:
milestone: 3.8.16 → 3.8.18
Florian Boucault (fboucault) wrote :

Any news on that one? Is it still a problem in Oneiric?

Changed in unity-2d:
importance: Undecided → High
David Callé (davidc3) wrote :

Doesn't seem to be a problem anymore, at least for the Books Lens.

David Callé (davidc3) on 2011-09-13
Changed in unity-books-lens:
status: Confirmed → Fix Released
Changed in gwibber:
status: New → Fix Released
Jorge Castro (jorge) on 2011-11-06
Changed in askubuntu-lens:
status: Incomplete → Fix Released
Tim Penhey (thumper) on 2011-11-06
Changed in unity:
status: Triaged → Fix Released
Changed in libunity:
status: Triaged → Fix Released
Changed in unity-2d:
status: Triaged → Fix Released
Changed in libunity (Ubuntu):
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers