Read the statement by Michael Teeuw here.
MMM-GooglePhotos - Just says Loading...
-
Hi,
I followed all the instructions to install the Google Photos module. I got the json files and I think I did everything correctly. When I reboot my MM, I just get the word “Loading…” on the screen, but nothing else happens.
When I run MM via npm, I see this in the text:
[09.03.2024 16:15.43.513] [INFO] Checking git for module: MMM-GooglePhotos [09.03.2024 16:15.43.585] [ERROR] unable to load cache [Error: ENOENT: no such file or directory, open '/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/cache/photoListCache.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/cache/photoListCache.json' } [09.03.2024 16:15.43.585] [INFO] Initialization complete! [09.03.2024 16:15.43.586] [INFO] Start first scanning. [09.03.2024 16:15.43.588] [INFO] Start Album scanning [09.03.2024 16:15.43.590] [INFO] Getting album listThen a bit further down I see this:
[09.03.2024 16:16.12.348] [ERROR] Trace: [GPHOTOS:CORE] request fail with URL sharedAlbums at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:169:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.350] [ERROR] Trace: [GPHOTOS:CORE] params {"pageSize":50,"pageToken":""} at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:170:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.352] [ERROR] Trace: [GPHOTOS:CORE] data null at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:171:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.361] [ERROR] Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle stack: TypeError: Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle at JSON.stringify (<anonymous>) at error_to_string (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/error_to_string.js:13:38) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:172:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.369] [ERROR] (node:26481) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle at JSON.stringify (<anonymous>) at error_to_string (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/error_to_string.js:13:38) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:172:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) (Use `electron --trace-warnings ...` to show where the warning was created) [09.03.2024 16:16.12.373] [ERROR] (node:26481) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 17)Anyone know where I can start looking to figure out what all this means?
Thanks.
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