Read the statement by Michael Teeuw here.
MMM-NOAA3 Error
-
I have installed MMM-NOAA3 and it appears to work for a bit and then I start receiving errors.
[27.07.2022 12:54.43.190] [ERROR] Whoops! There was an uncaught exception…
[27.07.2022 12:54.43.200] [ERROR] TypeError: Cannot read properties of undefined (reading ‘WeatherText’)
at Object.parseResponse (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:210:29)
at Request._callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:104:27)
at self.callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
at Request.emit (node:events:526:28)
at Request. (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
at Request.emit (node:events:526:28)
at IncomingMessage. (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
at Object.onceWrapper (node:events:645:28)
at IncomingMessage.emit (node:events:538:35)
at endReadableNT (node:internal/streams/readable:1345:12)
[27.07.2022 12:54.43.205] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[27.07.2022 12:54.43.206] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[27.07.2022 12:54.43.215] [ERROR] Whoops! There was an uncaught exception…
[27.07.2022 12:54.43.220] [ERROR] TypeError: Cannot read properties of undefined (reading ‘length’)
at Object.parseForecast (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:150:53)
at Request._callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:91:18)
at self.callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
at Request.emit (node:events:526:28)
at Request. (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
at Request.emit (node:events:526:28)
at IncomingMessage. (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
at Object.onceWrapper (node:events:645:28)
at IncomingMessage.emit (node:events:538:35)
at endReadableNT (node:internal/streams/readable:1345:12)
[27.07.2022 12:54.43.229] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[27.07.2022 12:54.43.231] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[27.07.2022 12:54.43.344] [ERROR] Whoops! There was an uncaught exception…
[27.07.2022 12:54.43.347] [ERROR] ReferenceError: err is not defined
at Request._callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:113:42)
at self.callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
at Request.emit (node:events:526:28)
at Request.onRequestError (/home/simdo01/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:877:8)
at ClientRequest.emit (node:events:526:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[27.07.2022 12:54.43.356] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[27.07.2022 12:54.43.357] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesI opened an issue however no response. I checked and the api key is still valid.
thoughts?
thx
-
@tacotaco
it looks like the API has changed -
@sdetweil i would agree if it didn’t work at all but it works when first installed that then just quits. Not knowing much about other modules could potentially affect other modules, I’d say it’s a conflict or something as it quits as I am installing other modules. Noob here so just guessing. It appears that apps are isolated but… what do I know. Is the “request” call still valid? Looks like Electron fails on a SIGINT right afterwards. Does the order in the config file matter?
thx
-
@tacotaco said in MMM-NOAA3 Error:
[27.07.2022 12:54.43.215] [ERROR] Whoops! There was an uncaught exception…
[27.07.2022 12:54.43.220] [ERROR] TypeError: Cannot read properties of undefined (reading ‘length’)
at Object.parseForecast (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:150:53)
at Request._callback (/home/simdo01/MagicMirror/modules/MMM-NOAA3/providers/aw.js:91:18)I would agree with Sam on this one. Seems like the API could have changed and the above provider throws an error at that line.
Best bet is to raise an issue on the Github for the module. I see the same error but for wb.js provider in my logs.
-
@tacotaco i see u are using the accuweather provider
I see this error (after adding some code) from one of the sites used to get info