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

MM Error - .AppleDouble and UnhandledPromiseRejectionWarning

Scheduled Pinned Locked Moved Unsolved Troubleshooting
34 Posts 4 Posters 13.2k 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.
  • B Offline
    bolish
    last edited by bolish Feb 17, 2019, 12:10 AM Feb 17, 2019, 12:09 AM

    @lavolp3
    I have the original version from Jopyth.
    S***, I hoped it would have been easier to figure out!!

    I just Git Pulled… Was already up to date

    L 1 Reply Last reply Feb 17, 2019, 12:11 AM Reply Quote 0
    • L Offline
      lavolp3 Module Developer @bolish
      last edited by Feb 17, 2019, 12:11 AM

      @bolish OK I can confirm your errors. Had it disabled. By enabling the unhaldled promises come up.
      Raise an issue. I’ll have a look at the code

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • B Offline
        bolish
        last edited by bolish Feb 17, 2019, 12:12 AM Feb 17, 2019, 12:11 AM

        Don’t you think it can be linked to the .appledouble thing. Remember that :

        2019-02-15T22:45:59  Launching application. (/home/pi/MagicMirror/js/electron.js:82 App.)
        2019-02-15T22:45:59  ERROR! Could not find main module js file for .AppleDouble (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:258 Class.loadModuleDefaultConfig)
        2019-02-15T22:46:03  (node:6793) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:03  (node:6793) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:03  (node:6793) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:03  (node:6793) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefined (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:03  (node:6793) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'refs' of undefined (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:04  (node:6793) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'refs' of undefined (/home/pi/MagicMirror/internal/process/warning.js:18 writeOut)
        2019-02-15T22:46:08  MMM-Logging updated config received, reloading console (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:30 Class.socketNotificationReceived)
        
        

        Because the .appledouble error is refering to Remote Control also.

        So…you just have the same issue now but never noticed it before?

        L 2 Replies Last reply Feb 17, 2019, 12:13 AM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @bolish
          last edited by Feb 17, 2019, 12:13 AM

          @bolish No.
          Unhandled promise rejections are code stuff that can be overcome quite easily.

          Think of it like this.
          You ask your program to do something outside (e.g. request data from somewhere else.
          When it doesn’t work the “promise” of delivering something is rejected.
          When this rejection is unhandled (the program isnt told what to do) you get this error

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          B 1 Reply Last reply Feb 17, 2019, 12:15 AM Reply Quote 0
          • L Offline
            lavolp3 Module Developer @bolish
            last edited by Feb 17, 2019, 12:14 AM

            @bolish said in MM Error - .AppleDouble and UnhandledPromiseRejectionWarning:

            So…you just have the same issue now but never noticed it before?

            May have been updated in the past. Don’t know.

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            1 Reply Last reply Reply Quote 0
            • B Offline
              bolish @lavolp3
              last edited by Feb 17, 2019, 12:15 AM

              @lavolp3
              Thanks for explanation.

              I’ve just raised it on Git on an existing issue log.

              1 Reply Last reply Reply Quote 0
              • L Offline
                lavolp3 Module Developer
                last edited by lavolp3 Feb 17, 2019, 12:19 AM Feb 17, 2019, 12:19 AM

                The issue is already raised
                https://github.com/Jopyth/MMM-Remote-Control/issues/87

                And the solution si down below:

                “It’s this line: var baseUrl = result[0].refs.fetch; for some modules it looks like simple-git fails. Adding a try catch block for it in my PR.”

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                B 1 Reply Last reply Feb 17, 2019, 12:22 AM Reply Quote 1
                • B Offline
                  bolish
                  last edited by Feb 17, 2019, 12:19 AM

                  Just to be sure. I didn’t noticed any real effect of this issue.
                  I was mainly trying to solve it before I’m experiencing stability issues with MMM-GroveGestures and wanted to be sure that this “promise” thing is not the root cause before raising the MMM-GroveGestures issue.

                  Do you think that it is now clear that my MMM-GroveGestures issue and this one are not linked (meaning I can look at the GroveGesture issue in parallel)

                  L 1 Reply Last reply Feb 17, 2019, 12:23 AM Reply Quote 0
                  • B Offline
                    bolish @lavolp3
                    last edited by Feb 17, 2019, 12:22 AM

                    @lavolp3
                    OK, I will try the fix

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lavolp3 Module Developer @bolish
                      last edited by Feb 17, 2019, 12:23 AM

                      @bolish This error/notice is solely within the Remote-Control module and not related to any other module. It does not influence your mirror performance at all.
                      If you can ignore it (which I couldnt), you might as well do.

                      How to troubleshoot modules
                      MMM-soccer v2, MMM-AVStock

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