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 7.8k 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 sounds like u didn’t do the npm install in the module folder

      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

        I thought I did but I did it again just in case but I still get the blank screen. All I see, is the mouse pointer…

        S 1 Reply Last reply Reply Quote 0
        • 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
                            • N6NGN Offline
                              N6NG @N6NG
                              last edited by

                              @n6ng It wasn’t Windows… but it worked anyway.
                              Dennis

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

                                @n6ng what is it? DISPLAY is an xwindows thing

                                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 It is just a standard Raspberry Pi 3b with Debian with Buster and anASUS HDMI monitor…
                                  But it was on for a couple of seconds and then off for 5 or 10 seconds back and forth… now it is back to normal…
                                  Dennis

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

                                    @n6ng so display might be set in the environment already.

                                    the code says set display to :0 if not set

                                    that’s the normal default xwindows instance

                                    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 So are you saying that’s what I should set the display line to instead of what to said to set it to in this forum link?
                                      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                                      If that’s true, I’ll try it…
                                      Dennis

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

                                        @n6ng we are crossing topics

                                        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”,

                                        that is
                                        won’t start on Windows, because DISPLAY=… on start function in package.json

                                        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
                                        that is
                                        blank screen because of missing dependencies on some/many modules

                                        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

                                          Ok… going to build another and try again…
                                          Thanks Sam
                                          Dennis

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

                                            Can’t figure out how to mark this as resolved but rebuilt it and it worked fine… Thanks
                                            Dennis

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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