<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Calendar issue with 2.7.1]]></title><description><![CDATA[<p dir="auto">After updating to the latest version ( 2.7.1 ) from 2.6.0, one of my subscribed calendar feeds no longer works.  It has worked fine in 2.6.0.</p>
<p dir="auto">Running on Raspberry Pi 3B - Raspbian Stretch.  NodeJS version 9.11.2.  Electron 3.0.13</p>
<p dir="auto">Currently, the calendar module shows “No upcoming events” for this calendar feed.  I know there are items there because I’m subscribed on my laptop and iphone.  This is a feed for our school calendar.</p>
<p dir="auto">In the error logs, I see the following:</p>
<pre><code>TypeError: Cannot read property 'length' of undefined
    at eventDate (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:69:25)
    at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:90:22
    at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
    at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/request/request.js:1157:10)
    at Request.emit (events.js:182:13)
    at Gunzip.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/request/request.js:1079:12)
    at Object.onceWrapper (events.js:273:13)
    at Gunzip.emit (events.js:187:15)

</code></pre>
<p dir="auto">My calendar config is as follows:</p>
<pre><code>{
  module: "calendar",
  header: "School Calendar",
  position: "top_left",
  config: {
    wrapEvents: true,
    fade: false,
    timeFormat: 'absolute',
    dateFormat: 'ddd , MMM DD',
    getRelative: 0,
    urgency: 0,
    maxTitleLength: 25,
    maximumEntries: 10,
    calendars: [
      {
        symbol: "calendar",
        url: "https://www.ojrsd.com//site/handlers/icalfeed.ashx?MIID=11"
      }
    ]
  }
},
</code></pre>
<p dir="auto">Anyone else come across this issue?</p>
]]></description><link>https://forum.magicmirror.builders/topic/10235/calendar-issue-with-2-7-1</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 05:29:30 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10235.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Apr 2019 15:04:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Wed, 17 Apr 2019 12:18:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfukc" aria-label="Profile: drfukc">@<bdi>drfukc</bdi></a>  I ssh to my mirrors…  one autostarts, one does not…</p>
]]></description><link>https://forum.magicmirror.builders/post/56079</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56079</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 17 Apr 2019 12:18:45 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Wed, 17 Apr 2019 10:05:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thanks a lot, - this helped :-) , it is so much easier if things are done right straight from the beginning  :-D</p>
<p dir="auto">In addition I also found the root cause for above reported “EADDRINUSE” error.<br />
Simple again: I have enabled MagicMirror autostart in <em>/home/pi/MagicMirror/installers/mm.sh</em>, but don’t see it since I use a Remote Desktop connection (RDP) that gives me a different X-Window in comparison to the native Raspberry desktop.<br />
Now launching Magic Mirror a second time on a different desktop and the same port causes the issue.<br />
Since I disabled MM autostart Magic Mirror boots up without these errors.<br />
Maybe I should get back from XRDP and switch to the preinstalled VNC to avoid having multiple desktops.</p>
<p dir="auto">Again, thanks a lot for your support  :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/56075</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56075</guid><dc:creator><![CDATA[drfukc]]></dc:creator><pubDate>Wed, 17 Apr 2019 10:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Tue, 16 Apr 2019 21:30:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfukc" aria-label="Profile: drfukc">@<bdi>drfukc</bdi></a> that calendar,</p>
<pre><code>url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
</code></pre>
<p dir="auto">is thru 2018…</p>
<p dir="auto">this one contains thru 2019</p>
<pre><code>url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/56041</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56041</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 16 Apr 2019 21:30:47 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Tue, 16 Apr 2019 20:58:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your advise. After launching the mirror I do a <em>pm2 list</em> with the following result:</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ pm2 list
+-------------------------------------------------------+
¦ Name        ¦ id ¦ mode ¦ status ¦ ? ¦ cpu ¦ memory   ¦
+-------------+----+------+--------+---+-----+----------¦
¦ MagicMirror ¦ 0  ¦ fork ¦ online ¦ 0 ¦ 0%  ¦ 2.5 MB   ¦
+-------------------------------------------------------+
 Use `pm2 show &lt;id|name&gt;` to get more details about an app
</code></pre>
<p dir="auto">With this information I stop the MagicMirror by the following command: <em>pm2 stop 0</em></p>
<pre><code>pi@raspberrypi:~ $ pm2 stop 0
[PM2] Applying action stopProcessId on app [0](ids: 0)
[PM2] [MagicMirror](0) ?
+------------------------------------------------------+
¦ Name        ¦ id ¦ mode ¦ status  ¦ ? ¦ cpu ¦ memory ¦
+-------------+----+------+---------+---+-----+--------¦
¦ MagicMirror ¦ 0  ¦ fork ¦ stopped ¦ 0 ¦ 0%  ¦ 0 B    ¦
+------------------------------------------------------+
Use `pm2 show &lt;id|name&gt;` to get more details about an app

</code></pre>
<p dir="auto">By surprise the running MagicMirror survives and I kill the <em>Electron</em> instance with <em>kill</em><br />
After the MagicMirror instance is terminated I relaunch MagicMirror again with <em>npm start &amp;</em><br />
The funny thing is that the naughty <em>EADDRINUSE</em> message is gone by now, but the calendar is still not working:</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm start &amp;
[2] 1279
[1]   Fertig                  npm start
pi@raspberrypi:~/MagicMirror $ 
&gt; magicmirror@2.7.1 start /home/pi/MagicMirror
&gt; sh run-start.sh

Starting MagicMirror: v2.7.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8081 ... 
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected &amp; modules started ...
Launching application.
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
</code></pre>
<p dir="auto">OK, as said above I have relaunched the mirror by <em>npm start &amp;</em> and try to evaluate what is going on with <em>pm2 list</em>:</p>
<pre><code>pi@raspberrypi:~ $ pm2 list
+------------------------------------------------------+
¦ Name        ¦ id ¦ mode ¦ status  ¦ ? ¦ cpu ¦ memory ¦
+-------------+----+------+---------+---+-----+--------¦
¦ MagicMirror ¦ 0  ¦ fork ¦ stopped ¦ 0 ¦ 0%  ¦ 0 B    ¦
+------------------------------------------------------+
 Use `pm2 show &lt;id|name&gt;` to get more details about an app
</code></pre>
<p dir="auto">It’s funny, <em>pm2 list</em> tells me that the Mirror has stopped, while it is still running, but I still do not recieve any Calendar updates.<br />
What is wrong here?</p>
]]></description><link>https://forum.magicmirror.builders/post/56040</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56040</guid><dc:creator><![CDATA[drfukc]]></dc:creator><pubDate>Tue, 16 Apr 2019 20:58:50 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Tue, 16 Apr 2019 19:32:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfukc" aria-label="Profile: drfukc">@<bdi>drfukc</bdi></a> is mirror starting on boot with PM2?</p>
<p dir="auto">go to console and do</p>
<p dir="auto">pm2 list<br />
is something, get its name and pm2 stop name</p>
]]></description><link>https://forum.magicmirror.builders/post/56038</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56038</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 16 Apr 2019 19:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Tue, 16 Apr 2019 19:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thanks for your comment.<br />
First I changed the port as recommended in mm/config/config.js to 8081 and gave it a reboot.<br />
After reboot and logon I checked the network connections by <em>sudo netstat -lnptu</em>:</p>
<pre><code>pi@raspberrypi:~ $ sudo netstat -lnptu
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:8081          0.0.0.0:*               LISTEN      836/electron.js     
tcp6       0      0 :::21                   :::*                    LISTEN      418/vsftpd          
tcp6       0      0 ::1:3350                :::*                    LISTEN      446/xrdp-sesman     
tcp6       0      0 :::3389                 :::*                    LISTEN      461/xrdp            
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           318/avahi-daemon: r 
udp        0      0 0.0.0.0:68              0.0.0.0:*                           348/dhcpcd          
udp        0      0 0.0.0.0:47216           0.0.0.0:*                           318/avahi-daemon: r 
udp6       0      0 :::5353                 :::*                                318/avahi-daemon: r 
udp6       0      0 :::34261                :::*                                318/avahi-daemon: r 
</code></pre>
<p dir="auto">I am surprised to see <em>Electron</em> already listening on port 8081, though I have not started the MagicMirror.<br />
In the next step I launch Magic Mirror by calling: <em>npm start &amp;</em></p>
<p dir="auto">Unfortunately I see again a <em>EADDRINUSE</em> message (port 8081):</p>
<pre><code>Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected &amp; modules started ...
Whoops! There was an uncaught exception...
{ Error: listen EADDRINUSE 127.0.0.1:8081
    at Server.setupListenHandle [as _listen2] (net.js:1330:14)
    at listenInCluster (net.js:1378:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
  errno: 'EADDRINUSE',
  code: 'EADDRINUSE',
  syscall: 'listen',
  address: '127.0.0.1',
  port: 8081 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
</code></pre>
<p dir="auto">While the mirror is running I execute again <em>sudo netstat -lnptu</em> and get:</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ sudo netstat -lnptu
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:8081          0.0.0.0:*               LISTEN      888/electron.js     
tcp6       0      0 :::21                   :::*                    LISTEN      435/vsftpd          
tcp6       0      0 ::1:3350                :::*                    LISTEN      450/xrdp-sesman     
tcp6       0      0 :::3389                 :::*                    LISTEN      465/xrdp            
udp        0      0 0.0.0.0:42644           0.0.0.0:*                           318/avahi-daemon: r 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           318/avahi-daemon: r 
udp        0      0 0.0.0.0:68              0.0.0.0:*                           354/dhcpcd          
udp6       0      0 :::42148                :::*                                318/avahi-daemon: r 
udp6       0      0 :::5353                 :::*                                318/avahi-daemon: r 
</code></pre>
<p dir="auto">This is strange. The launch of the mirror <em>npm start &amp;</em> tells me a multiple use of the port 8080 or 8081 (whatever it set in config.js) but <em>netstat -lnptu</em> does not know anything about a duplicate use.</p>
<p dir="auto">As advised I also added below line right after <em>if (event.type === “VEVENT”) {</em> in <em><a href="ftp://192.168.178.36/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js" target="_blank" rel="noopener noreferrer nofollow ugc">ftp://192.168.178.36/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js</a></em></p>
<pre><code>console.log("have event title="+event.summary);
</code></pre>
<p dir="auto">Unfortunately the console outcome again is: “EADDRINUSE”</p>
<pre><code>Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8081 ... 
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected &amp; modules started ...
Whoops! There was an uncaught exception...
{ Error: listen EADDRINUSE 127.0.0.1:8081
    at Server.setupListenHandle [as _listen2] (net.js:1330:14)
    at listenInCluster (net.js:1378:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
  errno: 'EADDRINUSE',
  code: 'EADDRINUSE',
  syscall: 'listen',
  address: '127.0.0.1',
  port: 8081 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
</code></pre>
<p dir="auto">I feel a little bit lost … … …</p>
]]></description><link>https://forum.magicmirror.builders/post/56037</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/56037</guid><dc:creator><![CDATA[drfukc]]></dc:creator><pubDate>Tue, 16 Apr 2019 19:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Mon, 15 Apr 2019 11:04:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfukc" aria-label="Profile: drfukc">@<bdi>drfukc</bdi></a> said in <a href="/post/55921">Calendar issue with 2.7.1</a>:</p>
<blockquote>
<p dir="auto">{ Error: listen EADDRINUSE 127.0.0.1:8080</p>
</blockquote>
<p dir="auto">ok, then something ELSE on your system is using port 8080… maybe a web server?</p>
<p dir="auto">change the port number in mm/config/config.js  to something else (8081 maybe)</p>
<pre><code>			if (event.type === "VEVENT") {
         // console.log("have event title="+event.summary);
</code></pre>
<p dir="auto">so, add the second line and then uncomment it… I must have added that fro debugging someone elses problem</p>
]]></description><link>https://forum.magicmirror.builders/post/55926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55926</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 15 Apr 2019 11:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Mon, 15 Apr 2019 07:19:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Hi Sam,<br />
the calendar entry I use for testing is the standard URL:</p>
<pre><code>url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
</code></pre>
<p dir="auto">As advised by you I searched up-and-down my calendarfetcher.js in:<br />
/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js</p>
<p dir="auto">I can find the following string: <em>if (event.type === “VEVENT”) {</em><br />
But I cannot even find substring to uncomment such like this: <em>console.log("have</em> or <em>event title</em> or<br />
Hence there seems to be nothing to uncomment</p>
<p dir="auto">I rather believe my issue has something to do with to many <em>Electron</em> instances that kill several moduls.<br />
Maybe you have an idea for this:</p>
<ol>
<li>I boot up my raspberry 3b</li>
<li>Execute ‘ps -a’ to check the running processes</li>
<li>‘ps -a’ returns ‘ps’ as the only running processes</li>
<li>launching the mirror: ‘npm start &amp;’</li>
<li>the console tells me <strong>uncaught exception</strong> since <strong>EADDRINUSE</strong> is already in use:</li>
</ol>
<blockquote>
<p dir="auto">magicmirror@2.7.1 start /home/pi/MagicMirror<br />
sh <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a></p>
</blockquote>
<pre><code>Starting MagicMirror: v2.7.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 ... 
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected &amp; modules started ...
Whoops! There was an uncaught exception...
{ Error: listen EADDRINUSE 127.0.0.1:8080
    at Server.setupListenHandle [as _listen2] (net.js:1330:14)
    at listenInCluster (net.js:1378:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
  errno: 'EADDRINUSE',
  code: 'EADDRINUSE',
  syscall: 'listen',
  address: '127.0.0.1',
  port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
</code></pre>
<ol start="6">
<li>Now I recheck my running processes and see *<em>four</em> instances of <strong>Electron</strong>. According to another thread it looks like I run two instances of MagicMirror in parallel, that have a conflict with each other and causing this <em>EADDRINUSE</em> message:</li>
</ol>
<pre><code>PID TTY          TIME CMD
 1176 pts/0    00:00:01 npm
 1187 pts/0    00:00:00 sh
 1188 pts/0    00:00:00 sh
 1189 pts/0    00:00:00 node
 1196 pts/0    00:00:30 electron
 1198 pts/0    00:00:00 electron
 1236 pts/0    00:00:00 electron
 1238 pts/0    00:00:15 electron
 1305 pts/1    00:00:00 ps
</code></pre>
<ol start="7">
<li>Checking PM2 by ‘pm2 list’ gives me only one instance:</li>
</ol>
<pre><code>pi@raspberrypi:~ $ pm2 list
+-------------------------------------------------------+
¦ Name        ¦ id ¦ mode ¦ status ¦ ? ¦ cpu ¦ memory   ¦
+-------------+----+------+--------+---+-----+----------¦
¦ MagicMirror ¦ 0  ¦ fork ¦ online ¦ 0 ¦ 0%  ¦ 2.5 MB   ¦
+-------------------------------------------------------+
</code></pre>
<ol start="8">
<li>For more details I try <strong>pm2 show 0</strong></li>
</ol>
<pre><code>pi@raspberrypi:~ $ pm2 show 0
 Describing process with id 0 - name MagicMirror 
+--------------------------------------------------------------+
¦ status            ¦ online                                   ¦
¦ name              ¦ MagicMirror                              ¦
¦ version           ¦ 2.7.1                                    ¦
¦ restarts          ¦ 0                                        ¦
¦ uptime            ¦ 16m                                      ¦
¦ script path       ¦ /home/pi/MagicMirror/installers/mm.sh    ¦
¦ script args       ¦ N/A                                      ¦
¦ error log path    ¦ /home/pi/.pm2/logs/MagicMirror-error.log ¦
¦ out log path      ¦ /home/pi/.pm2/logs/MagicMirror-out.log   ¦
¦ pid path          ¦ /home/pi/.pm2/pids/MagicMirror-0.pid     ¦
¦ interpreter       ¦ bash                                     ¦
¦ interpreter args  ¦ N/A                                      ¦
¦ script id         ¦ 0                                        ¦
¦ exec cwd          ¦ /home/pi/MagicMirror                     ¦
¦ exec mode         ¦ fork_mode                                ¦
¦ node.js version   ¦ N/A                                      ¦
¦ node env          ¦ N/A                                      ¦
¦ watch &amp; reload    ¦ ?                                        ¦
¦ unstable restarts ¦ 0                                        ¦
¦ created at        ¦ 2019-04-06T11:57:10.685Z                 ¦
+--------------------------------------------------------------+
 Revision control metadata 
+---------------------------------------------------------------------+
¦ revision control ¦ git                                              ¦
¦ remote url       ¦ https://github.com/MichMich/MagicMirror.git      ¦
¦ repository root  ¦ /home/pi/MagicMirror                             ¦
¦ last update      ¦ 2019-04-15T06:53:55.840Z                         ¦
¦ revision         ¦ b508a629e8a727358f1b88e3c7df842d14669ec4         ¦
¦ comment          ¦ Merge pull request #1632 from MichMich/fix-2.7.1 ¦
¦                  ¦                                                  ¦
¦                  ¦ Fix package.json version number.                 ¦
¦ branch           ¦ master                                           ¦
+---------------------------------------------------------------------+
</code></pre>
<p dir="auto">Any ideas?</p>
]]></description><link>https://forum.magicmirror.builders/post/55921</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55921</guid><dc:creator><![CDATA[drfukc]]></dc:creator><pubDate>Mon, 15 Apr 2019 07:19:21 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Sun, 14 Apr 2019 11:49:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfukc" aria-label="Profile: drfukc">@<bdi>drfukc</bdi></a> this is the same problem as for <a class="plugin-mentions-user plugin-mentions-a" href="/user/dommer" aria-label="Profile: Dommer">@<bdi>Dommer</bdi></a> …<br />
if u can send me your calendar entry url, I can look at it to see which event is causing this problem…<br />
or u can uncomment the one line in mm/modules/default/calendar/calendarfetcher.js, line</p>
<pre><code>				if (event.type === "VEVENT") {
         // console.log("have event title="+event.summary);
</code></pre>
<p dir="auto">and restart the mirror</p>
<p dir="auto">you will see the event summary in the pm2 log</p>
]]></description><link>https://forum.magicmirror.builders/post/55875</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55875</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 14 Apr 2019 11:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Sun, 14 Apr 2019 11:46:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dommer" aria-label="Profile: Dommer">@<bdi>Dommer</bdi></a> said in <a href="/post/55539">Calendar issue with 2.7.1</a>:</p>
<p dir="auto">there is an event which does not have a start date and time. i looked thru changes to the calendarfetcher code, and cannot see any change to this line of code since before 2017.</p>
<pre><code>data={"type":"VEVENT","params":[],"uid":"42271","dtstamp":"20190414T114129Z","summary":"District Closed","class":"PUBLIC","status":"CONFIRMED","priority":"0","sequence":"0","duration":"P1D","last-modified":"20180523T131717Z","transparency":"OPAQUE"}
</code></pre>
<p dir="auto">raw data from ical</p>
<pre><code>BEGIN:VEVENT
UID:42271
DTSTAMP:20190414T112505Z
SUMMARY:District Closed
CLASS:PUBLIC
STATUS:CONFIRMED
PRIORITY:0
SEQUENCE:0
DTSTART:20190419
DURATION:P1D
LAST-MODIFIED:20180523T131717Z
TRANSP:OPAQUE
END:VEVENT
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/55873</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55873</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 14 Apr 2019 11:46:28 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar issue with 2.7.1 on Sun, 14 Apr 2019 09:13:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi Dommer,<br />
Quite similar with me. I have a fresh Raspberry installation on my Pi-3B, the only additional packages installed are vsftpd (FTP-tool) and xrdp (RDP-server to allow Windows Remote Desktop Connections). On this fresh installation I have installed MagicMirror² and default Weather- and News app are working fine receiving live data.<br />
For some reason the calendar app does not work and I get the same error message for the calendar module as you in my log-file:</p>
<p dir="auto">./home/pi/.pm2/logs/MagicMirror-error.log</p>
<pre><code>ATTENTION: default value of option force_s3tc_enable overridden by environment.
TypeError: Cannot read property 'length' of undefined
    at eventDate (/home/pi/MagicMirror/modules/default/**calendar/calendarfetcher.js:69:25)
    at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:90:22
    at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
    at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/request/request.js:1157:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/request/request.js:1079:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
</code></pre>
<p dir="auto">I reinstalled from scratch on another SD-card with the same result.</p>
]]></description><link>https://forum.magicmirror.builders/post/55867</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55867</guid><dc:creator><![CDATA[drfukc]]></dc:creator><pubDate>Sun, 14 Apr 2019 09:13:32 GMT</pubDate></item></channel></rss>