• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-NOAA3 Error

Scheduled Pinned Locked Moved Bug Hunt
5 Posts 3 Posters 427 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    tacotaco
    last edited by Jul 27, 2022, 6:01 PM

    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/issues

    I opened an issue however no response. I checked and the api key is still valid.

    thoughts?

    thx

    S M 3 Replies Last reply Jul 27, 2022, 6:05 PM Reply Quote 0
    • S Away
      sdetweil @tacotaco
      last edited by sdetweil Jul 27, 2022, 6:07 PM Jul 27, 2022, 6:05 PM

      @tacotaco
      it looks like the API has changed

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Jul 27, 2022, 6:42 PM Reply Quote 0
      • T Offline
        tacotaco @sdetweil
        last edited by Jul 27, 2022, 6:42 PM

        @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

        1 Reply Last reply Reply Quote 0
        • M Offline
          mumblebaj Module Developer @tacotaco
          last edited by Jul 29, 2022, 5:10 PM

          @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.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @tacotaco
            last edited by Jul 30, 2022, 3:45 PM

            @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

            Screenshot at 2022-07-30 10-43-03.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              5/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy