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-DropboxWallpaper halting mirror

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 616 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.
    • Hein-JanH Offline
      Hein-Jan
      last edited by

      I’am running my mirror on a R’Pi. I have recently added MMM-DropboxWallpaper.
      Now my mirrors hangs in a black screen after aproximately 10 to 15 minutes.
      I not sure why. Monitoring System Stats, suggest that Memory is not the problem, it doesn’t drop below 20%.
      Load also does not seem to be the trouble.
      The last entry in pm2 mm-out.log:

      [DBXWLP] DSC_0199.JPG is downloaded.
      

      Anybody any idea’s?

      Hein-Jan.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Hein-Jan
        last edited by

        @Hein-Jan when hung open the developers window, ctrl-shift-i from the keyboard on the mirror, then select the tab labeled ‘console’ and scroll up the see any errors… usually red text

        let us know

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • Hein-JanH Offline
          Hein-Jan
          last edited by

          @sdetweil

          (0_1577719932947_dev.gif

          I’m not sure this is helpfull. Nothing in Red.
          I got the screendump from the vnc on my computer. It matches the actual screen on the Pi which is hanging on the wall in the hallway… (without keyboard etc.)
          I can still SSH and Sftp into the Pi.
          Last entry in mm-out.log:

          [CALEXT] https://calendar.google.com/calendar/ical/spiegelclovishof%40gmail.com/private-XXXXXXXX/basic.ics  >> 
          { state: 'fetched but no change',
            lastFetchedTime: '19-12-30 16:37:17',
            lastFetchedEvents: 69,
            lastFetchedOldEvents: 93,
            lastServedEvents: 118,
            error: null }
          

          So nothing there either.

          last entries in mm-error.log:

          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined
          (node:7881) [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.
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefined
          Global fetch is deprecated and will be unsupported in a future version. Please pass fetch function as option when instantiating dropbox instance: new Dropbox({fetch})
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'hash' of null
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'hash' of null
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 'hash' of null
          (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property 'hash' of null
          

          Absolutely no clue about this. It usually seems to keep on running despite a lot of errors/warnings.

          Appreciate your help!

          Hein-Jan

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Hein-Jan
            last edited by sdetweil

            @Hein-Jan said in MMM-DropboxWallpaper halting mirror:

            Absolutely no clue about this. It usually seems to keep on running despite a lot of errors/warnings.

            great thanks… so, the code has some bugs… doesn’t handle errors right…
            (I have code that talks to dropbox and displays pics too, so I know it very well!)

            one can also connect to the mirror from your windows box (assuming u set config.js to allow this), using chrome or firefox, or a windows browser

            and open the developers window on THAT page, and see the same stuff…
            but I didn’t see anything fatal in the above…

            need to see it when it goes black screen

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Hein-JanH Offline
              Hein-Jan
              last edited by

              Second attemp:
              0_1577722478844_dev.jpg

              mm-out.log:

              [DBXWLP] DSC_0244.JPG is downloaded.
              [DBXWLP] DSC_0258.JPG is downloaded.
              [DBXWLP] DSC_0199.JPG is downloaded.
              [DBXWLP] IMG-20191229-WA0000.jpg is downloaded.
              

              last entries in mm-error.log:

              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 28): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 29): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 30): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 31): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 32): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 33): TypeError: Cannot read property 'hash' of null
              (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 34): TypeError: Cannot read property 'hash' of null
              
              

              I’m not seeing it.
              Which probably means I am not looking at the right place…

              Hein-Jan

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy