Schedule tab does not reliably update

Bug #808982 reported by Elizabeth K. Joseph
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lernid
High
Unassigned

Bug Description

Version 0.8.1.4 on Xubuntu 11.04. Today while in Ubuntu Developer Week sessions I joined shortly after the first class started. It looks like it updated when the first class transition happened (but I can't confirm because I didn't look at the schedule until now, it could have always looked this way since I launched lernid). I am now in the 4th class at 12:40 local time (19:40 UTC) of the day but the schedule tab still indicates with an arrow that it's on the second class. Screenshot attached.

Related branches

Revision history for this message
Elizabeth K. Joseph (lyz) wrote :
Revision history for this message
John S. Gruber (jsjgruber) wrote :

Received the following message running xubuntu as the first Ubuntu Developer Week started this morning.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/lernid/widgets/Schedule.py", line 187, in _update
    session_message
  File "/usr/lib/python2.7/dist-packages/lernid/widgets/Schedule.py", line 214, in show_notification
    n.show()
glib.GError: Message did not receive a reply (timeout by message bus)

Revision history for this message
John S. Gruber (jsjgruber) wrote :

Correction. That was from the first session of the second day of Ubuntu Developer Week.

That error, at that spot, stops the schedule from being processed anymore. And that means messages won't be bolded and links and slides won't change from faculty on 0.8.1.4

Changed in lernid:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

As discussed in IRC, we've seen varying reliability here - today it made it through the whole day without a hiccup!

Is it at all possible for Lernid to catch this error and do some kind reloading without restarting to fix itself?

Revision history for this message
John S. Gruber (jsjgruber) wrote : Re: [Bug 808982] Re: Schedule tab does not reliably update

On Fri, Jul 15, 2011 at 4:58 PM, Elizabeth Krumbach
<email address hidden> wrote:
> As discussed in IRC, we've seen varying reliability here - today it made
> it through the whole day without a hiccup!
>
> Is it at all possible for Lernid to catch this error and do some kind
> reloading without restarting to fix itself?
>

Yes. I figure we will do that first and then worry about which
appropriate package to add to this report later.

Revision history for this message
John S. Gruber (jsjgruber) wrote :

Fix committed to lp:~jsjgruber/lernid/lernid-proposed. Being built by recipe in ppa:jsjgruber/lernid-proposed . Should be built tonight. See https://code.launchpad.net/~jsjgruber/+archive/lernid-proposed for instructions and to check status on today's builds.

Revision history for this message
John S. Gruber (jsjgruber) wrote :

The fix is simply to ignore errors returned by libnotification.

Changed in lernid:
status: Confirmed → Fix Released
milestone: none → 0.8.1.5
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers