Hello!
I’m doing my first steps on the Magic Mirror project and I was able to get run everything but not the newsfeed.
I changed the script like this:
{
module: ‘newsfeed’,
position: ‘bottom_bar’,
config: {
feeds: [
{
title: “news.orf.at”,
url: “http://rss.orf.at/news.xml”
}
],
showSourceTitle: true,
showPublishDate: true
}
},
The newsfeed ist not loading anything and in the terminal I get following:
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
magicmirror@2.0.0 start /home/pi/MagicMirror
electron js/electron.js
Loading config …
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper …
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
All module helpers loaded.
Starting server op port 8080 …
Server started …
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & 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://rss.orf.at/news.xml - Interval: 300000
Whoops! There was an uncaught exception…
TypeError: parser.close is not a function
at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/lib/xmlfeedparser.js:107:14)
at emitOne (events.js:96:13)
at SAXStream.emit (events.js:188:7)
at Object.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:640:35)
at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:645:5)
at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:841:5)
at Object.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1318:13)
at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
at yoshi.write (/home/pi/MagicMirror/node_modules/feedme/lib/feedme.js:41:14)
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
Can anybody pleayse tell me why it is not working?
Thank you very much for your help!