Bug in Lightning in Thunderbird?
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)
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
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于
Lets validate it. http://icalendar.org/validator.html
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
选择的解决方案
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!