Closed Bug 351977 Opened 18 years ago Closed 18 years ago

error in reading data for specific file. Placed in read only mode/ code 0x80570021

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 349715

People

(Reporter: theo, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

I am running 3 remote agenda's with webdav using several pc's.
When I start a pc I frequently see following error message; 

"There has been an error reading data for calendar: remote_prive. It has been placed in read-only mode, since changes to this calendar will likely result in data-loss.  You may change this setting by choosing 'Edit Calendar'.

error code 0x80570021

[Exception... "'[JavaScript Error: "alarmTime has no properties" {file:
 "file:///C:/Program%20Files/Calendar/js/calAlarmService.js" line: 348}]' when calling method: [calIObserver::onAddItem]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Program%20Files/Calendar/components/calICSCalendar.js :: anonymous :: line 794"  data: yes]

==
Error messages seems to be independent from the specific pc. 
How to proceed?
Thanks/ Theo


Reproducible: Sometimes
(In reply to comment #0)
> file:///C:/Program%20Files/Calendar/components/calICSCalendar.js :: anonymous

From this URL, it appears you're not running a nightly version of Sunbird.

Please download a nightly version of Sunbird from
http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/
and retest. This issue may have already been fixed in later builds.
 
Thanks.
(In reply to comment #1)
> From this URL, it appears you're not running a nightly version of Sunbird.

Correction: it looks like it _is_ a nightly, but just not the _latest_ nightly.
(In reply to comment #2)
> (In reply to comment #1)
> > From this URL, it appears you're not running a nightly version of Sunbird.
> 
> Correction: it looks like it _is_ a nightly, but just not the _latest_ nightly.
> 

I was running a latest nightly version. Anyway today I made a fresh download. Problem still exists. I got following error message.
[Exception... "'[JavaScript Error: "alarmTime has no properties" {file: "file:///C:/Program%20Files/Calendar/js/calAlarmService.js" line: 378}]' when calling method: [calIObserver::onAddItem]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Program%20Files/Calendar/components/calICSCalendar.js :: anonymous :: line 813"  data: yes]
It looks like one of the tasks has invalid alarm settings, similar to Bug 349715.
Can you extract and attach the task that causes this problem as iCalendar file?

(In reply to comment #4)
> It looks like one of the tasks has invalid alarm settings, similar to Bug
> 349715.
> Can you extract and attach the task that causes this problem as iCalendar file?
> 

(In reply to comment #4)
> It looks like one of the tasks has invalid alarm settings, similar to Bug
> 349715.
> Can you extract and attach the task that causes this problem as iCalendar file?
> 

Do you mean attaching an exported file <prive.ics> to your emailaddress?? 
[Exception... "'[JavaScript Error: "alarmTime has no properties" {file: "file:///C:/Program%20Files/Calendar/js/calAlarmService.js" line: 378}]' when calling method: [calIObserver::onAddItem]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Program%20Files/Calendar/components/calICSCalendar.js :: anonymous :: line 813"  data: yes]

Problem still exists. Using the latest Nightly. The error mesage (see above) is a little different from what I had before. 
Please explain what to do. Currently Sunbird is not usable.
Regards, Theo
[Exception... "'[JavaScript Error: "alarmTime has no properties" {file: "file:///C:/Program%20Files/Calendar/js/calAlarmService.js" line: 378}]' when calling method: [calIObserver::onAddItem]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Program%20Files/Calendar/components/calICSCalendar.js :: anonymous :: line 813"  data: yes]

Problem still exists. Using the latest Nightly. The error mesage (see above) is a little different from what I had before. 
Please explain what to do. Currently Sunbird is not usable.
Regards, Theo
=======
Additional from the Error Console under Tools:
Three lines with all same error text: 
Error: alarmTime has no properties
Source File: file:///C:/Program%20Files/Calendar/js/calAlarmService.js
Line: 378
=======
Please attach the (anonymized) calendar file that causes this problem to this
bug.
BEGIN:VTODO
CREATED:20060815T224503Z
LAST-MODIFIED:20060916T093920Z
DTSTAMP:20060916T093920Z
UID:{5bfb10a7-c6ea-4a9b-8898-9434fe9e8937}
SUMMARY:zorgring Ztm bellen/schrijven
PRIORITY:0
STATUS:COMPLETED
CLASS:PUBLIC
DTSTART;TZID=/mozilla.org/20050126_1/Europe/Amsterdam:20060816T130000
COMPLETED:20060819T081107Z
PERCENT-COMPLETE:100
BEGIN:VALARM
TRIGGER;VALUE=DURATION;RELATED=END:-PT15M
X-MOZ-LASTACK:20060817T074349Z
DESCRIPTION:Mozilla Alarm: zorgring Ztm bellen/schrijven
ACTION:DISPLAY
END:VALARM
END:VTODO

This looks like it could be the problem.  There's RELATED=END, but no DUE property.
Whiteboard: dupeme
(In reply to comment #10)
> BEGIN:VTODO
> CREATED:20060815T224503Z
> LAST-MODIFIED:20060916T093920Z
> DTSTAMP:20060916T093920Z
> UID:{5bfb10a7-c6ea-4a9b-8898-9434fe9e8937}
> SUMMARY:zorgring Ztm bellen/schrijven
> PRIORITY:0
> STATUS:COMPLETED
> CLASS:PUBLIC
> DTSTART;TZID=/mozilla.org/20050126_1/Europe/Amsterdam:20060816T130000
> COMPLETED:20060819T081107Z
> PERCENT-COMPLETE:100
> BEGIN:VALARM
> TRIGGER;VALUE=DURATION;RELATED=END:-PT15M
> X-MOZ-LASTACK:20060817T074349Z
> DESCRIPTION:Mozilla Alarm: zorgring Ztm bellen/schrijven
> ACTION:DISPLAY
> END:VALARM
> END:VTODO
> 
> This looks like it could be the problem.  There's RELATED=END, but no DUE
> property.
> 

What do I have to do to isolate the problem or to solve?/ Theo

Resolving as duplicate of Bug 349715 because it's the same underlying problem that should be fixed with the patch in Bug 349715.

*** This bug has been marked as a duplicate of 349715 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: dupeme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: