MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    MMM-NOAA3 Error

    Bug Hunt
    3
    5
    232
    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
      tacotaco last edited by

      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 mumblebaj 3 Replies Last reply Reply Quote 0
      • S
        sdetweil @tacotaco last edited by sdetweil

        @tacotaco
        it looks like the API has changed

        Sam

        Create a working config
        How to add modules

        T 1 Reply Last reply Reply Quote 0
        • T
          tacotaco @sdetweil last edited by

          @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
          • mumblebaj
            mumblebaj Module Developer @tacotaco last edited by

            @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
              sdetweil @tacotaco last edited by

              @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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy