Closed Bug 456978 Opened 16 years ago Closed 15 years ago

since 0.9 remote ICS calendar is not shown anymore (after reload?)

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 329570

People

(Reporter: thinktank2002, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2) Gecko/2008091620 Firefox/3.0.2
Build Identifier: 2008091719

Since i updated to Lightning 0.9 (under Thunderbird (Portable) 2.0.0.16) my calendar is not shown anymore. It is hosted at Memotoo and i integrate the ICS calendar as https://sync.memotoo.com/calendarICS.php?l=user&p=pass. 

I get no error message but my calendar in lightning is empty. If i delete the calendar and make an new one with exact the same setting but under a different! name, than my appointments are shown properly... till the next reload, than everything disapears. 

I am using lightning since 0.6 and never had problems with remote ICS calendars. This is serios, i can not use lightning in the moment!

Regards, David

Reproducible: Always

Steps to Reproduce:
1. Create new calendar -> on the network -> ICS -> Location: https://sync.memotoo.com/calendarICS.php?l=user&p=pass. Set a name and i have default checked "show Alarms" and my primary email address.
2. Now you see you appointments. 
3. Reload remote calendar.

Actual Results:  
you see no appointments anymore

Expected Results:  
you should see all appointments
I forgot to say: when i cloase Thunderbird after that steps above, that it is still running in the background. I have to kill the process in the task manager.
This seems similar to my situation and reported in this bug -https://bugzilla.mozilla.org/show_bug.cgi?id=459265.

This is getting to be a major problem for my small office.
I can confirm this on Thunderbird version 2.0.0.17 (20080914) and lightning 0.9.  It seems I have a recurring meeting notice which I added to my ical file and this has hosed Lightning.

Editing the ics file on the server to remove the offending entry does not fix the issue.  I must remove the account from lightning and re-create it in order to get it to show up again.  

I have a sanitized offending ics file below.  You should be able to use tools import to re-create.

-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:GMT -0600 (Standard) / GMT -0500 (Daylight)
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20081107T211702Z
DTSTART;TZID="GMT -0600 (Standard) / GMT -0500 (Daylight)":20070913T130000
SUMMARY:Updated: Bi Monthly Meeting
UID:040000008200E00074C5B7101A82E0080000000010ED96BC8D96C501000000000000000
 010000000A2C76D1B9EC92A43934FAE736D59897D
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070913T12
 1748Z;RSVP=TRUE;CN="Jt":MAILTO:rj@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T18
 1000Z;RSVP=TRUE;CN="Ly":MAILTO:kl@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T20
 5100Z;RSVP=TRUE;CN="Hk":MAILTO:dh@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T20
 5500Z;RSVP=TRUE;CN="He":MAILTO:rh@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=16021022T22
 1800Z;RSVP=TRUE;CN="Ag":MAILTO:ga@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T18
 1500Z;RSVP=TRUE;CN="Bn":MAILTO:sb@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T18
 2400Z;RSVP=TRUE;CN="Bk":MAILTO:rb@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=16021022T22
 1800Z;RSVP=TRUE;CN="Gk":MAILTO:dg@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=16021022T22
 1800Z;RSVP=TRUE;CN="Sy":MAILTO:ps@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20070912T18
 4925Z;RSVP=TRUE;CN="Kn":MAILTO:ak@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=16021022T22
 1800Z;RSVP=TRUE;CN="Se":MAILTO:as@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=16021022T22
 1800Z;RSVP=TRUE;CN="Bm":MAILTO:tb@foo.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20071210T20
 2300Z;RSVP=TRUE;CN="'KN (kk@foo.com)'":MAILTO:kk
 @foo.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20080318T14
 1509Z;RSVP=TRUE;CN="Rn":MAILTO:kr@foo.org
ORGANIZER;CN="Smith, T":MAILTO:TS@foo.org
LOCATION:Conf. Rm. 12
DTEND;TZID="GMT -0600 (Standard) / GMT -0500 (Daylight)":20070913T143000
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2 TH;WKST=SU
DESCRIPTION:\N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20081107T211701Z
LAST-MODIFIED:20081107T211706Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:1
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:526485461
X-MICROSOFT-CDO-APPT-SEQUENCE:9
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20081107T211702Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20081107T211702Z
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT00H15M00S
END:VALARM

END:VEVENT
END:VCALENDAR
I checked this issue and it is not possible to reproduce this bug.
I seem to be having a similar problem, only for the last few days.  I wonder if the recent Windows XP patches could be the issue?  (I keep my system up to date.)  Nothing else has changed for the past couple of weeks.

This has happened before.  In the past, deleting the calendar and then adding a new one (with the same URL) cleared up the problem.  Not this time however.

The error console shows this (some info DELETED):

Error: [Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]"  nsresult: "0x804a0100 (<unknown>)"  location: "JS frame :: file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calIcsParser.js :: ip_parseString :: line 58"  data: no]
Source File: file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calIcsParser.js
Line: 58
-------------------------------
Warning: There has been an error reading data for calendar: Home-net. Error code: ICS_NO_ERROR. Description: [Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]"  nsresult: "0x804a0100 (<unknown>)"  location: "JS frame :: file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///C:/Documents%20and%20Settings/[DELETED]/Application%20Data/Thunderbird/Profiles/l4qn5k3i.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calIcsParser.js :: ip_parseString :: line 58"  data: no]
---------------------------------------------------
Warning: There has been an error reading data for calendar: Home-net. Error code: READ_FAILED. Description: 

=====================================

I have turned off all extensions, tried uninstalling and re-installing
lightning, all to no avail.  The calendar is accessible, using a URI of
"https://.../Home.ics".

(WinXP + Thunderbird version 2.0.0.18 (20081105) + Lightning 0.9 (build 2008091719).
FYI.
> (a) Lightning Project Home:
>     http://www.mozilla.org/projects/calendar/lightning/
> (b) "Lightning 0.9 Release Notes" linked by "Download Page"
>     http://www.mozilla.org/projects/calendar/releases/lightning0.9.html
> (c) "Calendar:WCAP Guide" linked by "Lightning Project Home"  
>     https://wiki.mozilla.org/Calendar:WCAP_Guide

See (c) and get client side log. It may help your problem analysis.
Problem relates to issues listed in "Known Issues" section of (b)?
Does problem occur with newest Lightning nightly?
Can problem be reproduced with "Tb latest-trunk" + "new profile" + "newest Lightning nightly"?
Do you only see the shutdown problem if you get the error?
Gone with latest nightly?  (per comment 6)
I tracked down my issue.  It seems the calendar data file is not locked during updates.  lightning will update the file even if busy.  This results in a corrupted ICS file, however no error message is reported.  Just the symptoms discussed here.  Once I restored my calendar from a backup, all was working again.  This has happened to me twice now.  The obvious solution is to figure out how to lock the file when busy.  A simple lock file that lightning uses would help.  But I suspect I need to figure out how to do this from webDAV/Apache.
@wayne: this is fixed in bug 329570 for 1.0pre. 

I tried the STR from DavidZ and this works for me.
Thanks. duping
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.