为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Bug in Lightning in Thunderbird?

  • 5 个回答
  • 4 人有此问题
  • 6 次查看
  • 最后回复者为 FineCutBodies

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

由FineCutBodies于修改

被采纳的解决方案

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!

定位到答案原位置 👍 1

所有回复 (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...

由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

选择的解决方案

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!