This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Bug in Lightning in Thunderbird?

more options

Is it me doing something wrong or adding an ICS calendar file to Lightning triggers an exception?

Thunderbird v4.5.2.0 / Lightning version 4.7 / OS: Win7 x64 and Win10 x64

What's happening: I'm trying to add an ICS file as a new calendar from my computer ( New Calendar / On The Network / ICS & offline support / absolute filepath&name ) but I got this error message:

Error message: [Exception... "Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIIOService2.newChannelFromURI2]" nsresult: "0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL)" location: "JS frame :: file:///C:/Users/K/ AppData/Roaming/Thunderbird/Profiles/8mdugl5v.K/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendar.js :: calICSCalendar.prototype.uri :: line 119" data: no]

- I've tried with different ICS files from different sources (the error is always the same)

- removed and reinstalled Lightning, error is the same.

Any advice would be appreciated, Kevin

Is it me doing something wrong or adding an ICS calendar file to Lightning triggers an exception? Thunderbird v4.5.2.0 / Lightning version 4.7 / OS: Win7 x64 and Win10 x64 What's happening: I'm trying to add an ICS file as a new calendar from my computer ( New Calendar / On The Network / ICS & offline support / absolute filepath&name ) but I got this error message: Error message: [Exception... "Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIIOService2.newChannelFromURI2]" nsresult: "0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL)" location: "JS frame :: file:///C:/Users/K/ AppData/Roaming/Thunderbird/Profiles/8mdugl5v.K/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendar.js :: calICSCalendar.prototype.uri :: line 119" data: no] - I've tried with different ICS files from different sources (the error is always the same) - removed and reinstalled Lightning, error is the same. Any advice would be appreciated, Kevin

Modified by FineCutBodies

Chosen solution

Hey Matt,

It seems it was me being silly as didn't use the ""file:///" prefix before the file. thought maybe the JS file exception is not the best way to communicate the User's mistake.

Thanks a lot for your effort and help with validating the files and sorry for the false alarm!

Read this answer in context 👍 1

All Replies (5)

more options

have you actually opened the ics file in notepad to see what is contains?

Is the source read only? I see lots of issues on this forum when folk add read only calendars from the likes of Outlook.com

more options

Thanks Matt, the ICS files are not read only and also the files seems OK as text files, thought I don't know the ICS format, so who knows.

Also I've tried a couple of different ICS files from different sources, like exporting a Google calendar in an ICS file. Same problem with all of them.

Right now I made a test what happens if I export the almost empty (1 event as you can't export an empty calendar) default HOME calendar from Lightning as an ICS, then try to add it back as a new calendar :) And the same error in the JS file...

Modified by FineCutBodies

more options
more options

none of them has errors, one of them has a few "Line length should not be longer than 75 characters" warnings. But even the one with the one event (exported from Lightning) and no errors/warnings can't be added as a new calendar.

Just to make sure I'm not doing something total silly thing. Is this the way to add an ICS calendar from my HDD? Just because the "On The Network" is not obvious for a file on the same computer, but couldn't find another way to add a file:

New Calendar >> On The Network >> ICS & offline support >> absolute filepath&name

more options

Chosen Solution

Hey Matt,

It seems it was me being silly as didn't use the ""file:///" prefix before the file. thought maybe the JS file exception is not the best way to communicate the User's mistake.

Thanks a lot for your effort and help with validating the files and sorry for the false alarm!