MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-DropboxWallpaper halting mirror



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



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



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



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



  • 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


Log in to reply