Closed Bug 472961 Opened 15 years ago Closed 14 years ago

Alarm sound repeats on startup with nothing in alarm window.

Categories

(Calendar :: Alarms, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jasonw.co, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5
Build Identifier: Lightning .8 build 2008060210 on Thunderbird 2.0.0.19 (20090105)

I recently switched from Windows to Linux for my desktop operating system.  On Windows I was using Sunbird with a davical back-end.  I installed the Lightning plug-in in Thunderbird on my new Linux system and tried to connect to the davical.  Immediately it displayed 60+ alerts (playing an alarm for each), and when I tried to do dismiss all it said that the data had changed on the server, to which I said submit anyway.  After this point, when starting Thunderbird the alarm window pops up (empty) and the notification sound always plays 33 times.  Nothing shows up in the error console.  I'm running a remote calendar under davical 0.9.6.1 on Debian (Linux 2.6.24-etchnhalf.1-686).  I'm using the latest Thunderbird and Lightning packages on Ubuntu 8.10 (Linux 2.6.27-9-generic).  This problem didn't occur when I was running Sunbird on Windows.
It would appear that Lightning (and Sunbird) don't play well with calendar data created by other calendar software.  I messed around with it a bit, in one case exporting the data to an ICS file, then importing it again (which involved waiting through endless beeps) into a separate CalDAV user space, only to find the problem persisted.  I even tried wiping out the davical database and doing an import ... still the same behavior.

I was able to resolve the issue by exporting everything from the CalDAV server to an ICS file, importing it into a local Lightning calendar, acknowledging all of the alerts, exporting it again to another ICS file, deleting everything from the CalDAV server and importing the second ICS file.


Reproducible: Always

Steps to Reproduce:
1. Set up a davical server and set up a user to host a calendar.
2. Configure the calendar in Lightning
3. Import ics data from http://www.voegtek.com/testcal.ics
4. Attempt to dismiss alerts.
5. Quit thunderbird
6. Starts thunderbird again.
Actual Results:  
On step 3 a number of alerts will pop for past events which should already be acknowledged.
On step 6 the alarm window will pop up and there should be multiple beeps.  The alarm window should be empty.

Expected Results:  
Import without beeping repeatedly, then not pop an empty alarm window every time Thunderbird is opened.

I'm running a remote calendar under davical 0.9.6.1 on Debian (Linux 2.6.24-etchnhalf.1-686).  I'm using the latest Thunderbird (2.0.0.19+nobinonly-0ubuntu0.8.10.1) and Lightning (lightning-extension/0.8+nobinonly-0ubuntu1) packages on Ubuntu 8.10 (Linux 2.6.27-9-generic).
First thing you should try is updating to the latest official release instead of using the old version shipped in Ubuntu. Remove the lightning-extension package, install the required libstdc++5 package and install Lightning <https://addons.mozilla.org/thunderbird/addon/2313>.

The issue with alarm sounds being played one after another is a know issue in the Mozilla Toolkit that is used in Thunderbird, see Bug 110385.
I did the upgrade as you mentioned.  The first time I pulled up Lightning it did the same behavior with showing past reminders that had been acknowledged by other clients (with the repeat sounds, holding true to the bug you mentioned).  When I clicked "dismiss all" it gave me one after another window of "this item has already been updated, discard changes and reload or submit anyway" (paraphrased).  Eventually I got sick of escaping out of that, so I killed the process.  After this things appear to be working okay.  I guess the problem still remains with alerting the user for events that were acknowledged by other clients when running a new version/installation of Lightning for the first time.  Thus far I haven't had the empty window come up, as the previous version did.

I did find that the workaround I used for the older version of Lightning stopped working after scheduling events with reminders then acknowledging them.  My hope is that I don't run into that with this version.
Adding Ubuntu bug to this report just for tracking.
https://bugs.launchpad.net/sunbird/+bug/315732
CC'ing myself. I suffer from the same issue with a remote .ics file that has been created by lightning and Apple iCal. Is there any way to find the culprit entry, so I can delete it by hand?
(In reply to comment #5)
> CC'ing myself. I suffer from the same issue with a remote .ics file that has
> been created by lightning and Apple iCal. Is there any way to find the culprit
> entry, so I can delete it by hand?

Sebastian, which Lightning version and OS do you use?
lightning 0.9 and thunderbird 2.0.0.21 from the Ubuntu jaunty repositories. I'd be willing to test this with a later nightly if there are chances that the issue could be solved already. (one problem being that I am on amd64 and the latest nightlies arae only built for i686)

It is my work calendar file, so I won't be able to attach it here, unfortunately. But I'll happily dig through the file if I get some clues what to look for :)
Yes, please try 1.0pre and tb3beta2 or later. Be sure to use a new profile. Also see bug 496883, maybe its the same issue, nothing being in the alarm window may be a timing issue?
No response for a while now, closing INCOMPLETE. Please reopen if you can reproduce or answer any unanswered questions.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: