MMM-GooglePhotos: Google photos freezes until reboot
It often happens to me that while everything is working, suddenly the photos freeze and I am forced to restart MagicMirror. I only have two active modules, the clock and google photo. The error that the log says is this:
0|mm | [09:19:57.511] [ERROR] (node:455) [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. 0|mm | [13:23:20.320] [ERROR] error: object file .git/objects/ab/794d61840189c19583b8c726edc88265dd5c51 is empty 0|mm | error: object file .git/objects/ab/794d61840189c19583b8c726edc88265dd5c51 is empty 0|mm | fatal: loose object ab794d61840189c19583b8c726edc88265dd5c51 (stored in .git/objects/ab/794d61840189c19583b8c726edc88265dd5c51) is corrupt 0|mm | fatal: the remote end hung up unexpectedly 0|mm | 0|mm | [19:35:46.793] [ERROR] (node:30362) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503 0|mm | at createError (/home/danilo/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/danilo/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/danilo/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (events.js:187:15) 0|mm | at endReadableNT (_stream_readable.js:1090:12) 0|mm | at process._tickCallback (internal/process/next_tick.js:63:19) 0|mm | [19:35:46.796] [ERROR] (node:30362) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) 0|mm | [19:35:46.797] [ERROR] (node:30362) [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.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 36
@ChrisAcrobat I’m trying the fix, I’ll let you know in the next days if there are any problems.