Closed Bug 343691 Opened 18 years ago Closed 18 years ago

import of .ics file fails with Lightning

Categories

(Calendar :: Lightning Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 343053

People

(Reporter: ctuffli, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla Thunderbird version 3 alpha 1 (20060705) with Lightning 0.1+ (build 2006070507)

Trying to import a .ics file created using Outport displays an error dialog and does not import the iCalendar events

Reproducible: Always

Steps to Reproduce:
1. Calendar > Import ...
2. Select the .ics file and click Open

Actual Results:  
Dialog box appears with title "Error getting calendar" and exception information that starts:

Unable to read from file: C:\outlook\simple.ics
[Exception...

Expected Results:  
Import iCalendar file

Import of same file in Sunbird works correctly (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050111 Mozilla Sunbird/0.2RC2)

The 3 errors generated in the Error Console are:
Error: Components.classes['@mozilla.org/calendar/ics-service;1'] has no properties
Source File: file:///C:/Documents%20and%20Settings/Chuck%20Tuffli/Application%20Data/Thunderbird/Profiles/3xofp620.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calIcsImportExport.js
Line: 81

Error: [Exception... "Invalid ClassID or ContractID"  nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)"  location: "JS frame :: file:///C:/Documents%20and%20Settings/Chuck%20Tuffli/Application%20Data/Thunderbird/Profiles/3xofp620.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 64"  data: no]
Source File: file:///C:/Documents%20and%20Settings/Chuck%20Tuffli/Application%20Data/Thunderbird/Profiles/3xofp620.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 64

Error: uncaught exception: [Exception... "ServiceManager::GetService returned failure code:"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: chrome://lightning/content/lightning-utils.js :: ltnGetService :: line 22"  data: no]
I think this is the same problem as in Bug 343053.

Did you used the official Thunderbird build from http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-trunk/ ?

If yes, does it works with the Thunderbird build from ftp://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-trunk/ ?
Version: unspecified → Trunk
Yes, the original install used the official Thunderbird build (the .exe if that matters).

And yes, the import works using the "Lightning" version of Thunderbird 3.0a1

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