Read the statement by Michael Teeuw here.
Ical calender no longer works - randomly just stopped.
-
So my mirror has been running fine for a month or so since I have updated to 2.23. However, it now seems to no longer wants to load my work calendar.
The pm2 logs show this.
0|mm | [29.05.2023 18:05.40.893] [ERROR] Calendar Error. Could not fetch calendar: https://wheremycaleris.com/calendar.ics Error: ERROR when trying to convert to ISOString
0|mm | at Object.END (/home/pi/MagicMirror/node_modules/node-ical/ical.js:597:21)
0|mm | at Object.handleObject (/home/pi/MagicMirror/node_modules/node-ical/ical.js:644:39)
0|mm | at Object.parseLines (/home/pi/MagicMirror/node_modules/node-ical/ical.js:696:18)
0|mm | at Object.parseICS (/home/pi/MagicMirror/node_modules/node-ical/ical.js:732:18)
0|mm | at sync.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:198:15)
0|mm | at autodetect.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:229:17)
0|mm | at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:73:18
0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)I cant seem to see why it will no longer loads. The calendar is there and i can access it fine. Some have said it about time zone and I need to edit the Ical.js but this doesnt seem to work (or im not doing it right)…
-
@TDMPro2K would you be winning to share the ics file with me(via email)
my same userid at gmail
the fact that its in node-ical is not a good sign …
to get the ics file
curl -sL https://wheremycaleris.com/calendar.ics >xxx.ics
then send me xxx.ics
replace https://wheremycaleris.com/calendar.ics as appropriate
I will not share any info… I work on the calendar parser most often
-
@sdetweil So, I have made a new calender to share with you but that one works. So it must be something in the current calender it doesnt like.
-
@TDMPro2K thanks for the update.
if you can share the ics I can tell you which event is causing the problem. I understand if you choose not to.
-
This randomly started working again. So not sure what’s going on with it.
I can only think that it was the amount of entries or something it didn’t like when reading.