Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Calendar fails to load as of 2/7/20 #1922

Closed
bdin1 opened this issue Feb 9, 2020 · 6 comments
Closed

Default Calendar fails to load as of 2/7/20 #1922

bdin1 opened this issue Feb 9, 2020 · 6 comments

Comments

@bdin1
Copy link

bdin1 commented Feb 9, 2020

0|mm | Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
0|mm | [17:52:42.010] [LOG]
0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/private-bbf487ef0035dfe5709683aa2738a1c5/basic.ics - Interval: 300000
0|mm | [17:52:42.121] [LOG]
0|mm | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|mm | [17:52:43.613] [LOG]
0|mm | Whoops! There was an uncaught exception...
0|mm | [17:52:43.614] [ERROR]
0|mm | Error: Unknown RRULE property ''
0|mm | at /home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1207:23
0|mm | at Array.forEach ()
0|mm | at parseRrule (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1165:11)
0|mm | at parseLine (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1148:16)
0|mm | at Array.map ()
0|mm | at Function.parseString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1126:41)
0|mm | at Function.RRule.fromString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2150:32)
0|mm | at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:62:23)
0|mm | at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:400:41)
0|mm | at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:441:20)
0|mm | [17:52:43.624] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm | [17:52:43.625] [LOG] If you think this really is an issue, please open an issue on GitHub: /~https://github.com/MichMich/MagicMirror/issues

@dtreskunov
Copy link
Contributor

I noticed this as well. Opened peterbraden/ical.js#109 on the ical library.

@sdetweil
Copy link
Collaborator

sdetweil commented Feb 10, 2020

this is actually a problem with the calendar data. it generates empty RRULE: statements..
0|mm | Error: Unknown RRULE property ''

the rrule nodejs library cannot handle this

edit the rrule/dist/es5/rrule.js file and insert the line below

            case 'BYEASTER':
                options.byeaster = Number(value);
                break;
            case '':                      // insert
                break;                  // insert
            default:

note also the calendar ics file has duplicates of all events.. so the file is very messed up

@bdin1
Copy link
Author

bdin1 commented Feb 14, 2020 via email

@sdetweil
Copy link
Collaborator

calendarlabs reported that the empty RRULE problem has been fixed. I don't see any more failures on new installs...

@sdetweil
Copy link
Collaborator

sdetweil commented Apr 5, 2020

we can close this now, was calendar labs formatting problem

@bdin1
Copy link
Author

bdin1 commented Apr 5, 2020 via email

@MichMich MichMich closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants