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-OneCallWeather

    Scheduled Pinned Locked Moved Utilities
    24 Posts 2 Posters 6.7k Views 2 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.
    • S Offline
      sdetweil @N6NG
      last edited by

      @n6ng can u see the logs from npm start? or pm2 logs if you use pm2

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • N6NGN Offline
        N6NG
        last edited by

        Thank you Sam

        /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
        0|MagicMir | [23.02.2022 10:19.19.438] [ERROR] Whoops! There was an uncaught exception…
        0|MagicMir | [23.02.2022 10:19.19.442] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
        0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
        0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
        0|MagicMir | at process.emit (node:events:394:28)
        0|MagicMir | [23.02.2022 10:19.19.444] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        0|MagicMir | [23.02.2022 10:19.19.445] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        0|MagicMir | [23.02.2022 10:19.19.460] [ERROR] Whoops! There was an uncaught exception…
        0|MagicMir | [23.02.2022 10:19.19.462] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
        0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
        0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
        0|MagicMir | at process.emit (node:events:394:28)
        0|MagicMir | [23.02.2022 10:19.19.464] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        0|MagicMir | [23.02.2022 10:19.19.465] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        0|MagicMir | [2488:0223/101920.289240:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization

        Dennis

        N6NGN 1 Reply Last reply Reply Quote 0
        • N6NGN Offline
          N6NG
          last edited by

          I have no problem with the internet connection at this time…
          Dennis

          1 Reply Last reply Reply Quote 0
          • N6NGN Offline
            N6NG @N6NG
            last edited by

            @n6ng I’ve reinstalled it 3 times now with the same result.
            Just FYI.
            Dennis

            1 Reply Last reply Reply Quote 0
            • N6NGN Offline
              N6NG
              last edited by

              Ok… I think I have identified a bigger problem. I have thus far loaded the following weather programs.
              MMM-OneCallWeather
              MMM-MyWeather
              MMM-DynamicWeather
              all with the same result… A blank screen when any of them are included in my MM. I do have the following modules working properly on my MM with no problem.

              alert
              updatenotification
              clock
              calender-check
              google-calendar
              MMM-RAIN-RADAR
              on-this-day
              newsfeed

              All working properly… When every I include any of the weather modules is when I get the blank screen… Hope this helps somehow.
              Dennis

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @N6NG
                last edited by

                @n6ng see
                https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                N6NGN 1 Reply Last reply Reply Quote 0
                • N6NGN Offline
                  N6NG @sdetweil
                  last edited by

                  @sdetweil I followed the instructions from the link you posted and found it could not find a file called axios. So I did the install of that program, and now my screen won’t stay on for more than a few seconds. It then goes black… I don’t know if it fixed my weather module or not…Now I get the error messages:

                  0|MagicMir | [3417:0225/110146.538714:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
                  0|MagicMir | [3453:0225/110146.872192:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

                  The only thing I can think of doing is to start from scratch and try it all again…
                  Before I do that, any suggestions?
                  Thanks all…
                  Dennis
                  n6ngdennis@gmail.com

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @N6NG
                    last edited by

                    @n6ng those are incorrect error messages… not the problem

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    N6NGN 1 Reply Last reply Reply Quote 0
                    • N6NGN Offline
                      N6NG @sdetweil
                      last edited by

                      @sdetweil
                      I found your message to vintage89 about the display in package.json
                      "
                      S
                      sdetweil
                      Apr 10, 2020, 3:20 PM

                      @vintage89 edit the package.json file and remove the display=${display… stuff from the start clause

                      It should start with "node_modules, like this
                      “start”: “node_modules/.bin/electron js/electron.js”,

                      Sam"
                      Did that myself and it seems to have fixed the problem… now back to the weather problem again… More to follow…
                      Thanks again Sam… you have some real words of wisdom throughout these many pages…
                      Dennis

                      S N6NGN 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @N6NG
                        last edited by

                        @n6ng np. but you never said Windows…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          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