Closed danielXengines closed 1 year ago
Just realised this is a duplicate of https://github.com/hermanho/MMM-GooglePhotos/issues/153#issue-1503792171
Can you try to add more than 5 pics in your album? It's trying to send a list of 5, but looks like you only have 3 in there.
Thank you for your reply. I did as suggested (6 photos), unfortunately the issue remains (same error messages).
If I look at the debug window under lh3.googleusercontent.com -> lr -> all pictures from the google album are there.
Kind regards,
> magicmirror@2.21.0 start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev
[29.12.2022 20:42.46.181] [LOG] Starting MagicMirror: v2.21.0
[29.12.2022 20:42.46.187] [LOG] Loading config ...
[29.12.2022 20:42.46.192] [LOG] Loading module helpers ...
[29.12.2022 20:42.46.194] [LOG] No helper found for module: clock.
[29.12.2022 20:42.46.450] [LOG] Initializing new module helper ...
[29.12.2022 20:42.46.452] [LOG] Module helper loaded: MMM-GooglePhotos
[29.12.2022 20:42.46.453] [LOG] No helper found for module: MMM-GrafanaChart.
[29.12.2022 20:42.46.454] [LOG] All module helpers loaded.
[29.12.2022 20:42.46.563] [LOG] Starting server on port 8080 ...
[29.12.2022 20:42.46.580] [LOG] Server started ...
[29.12.2022 20:42.46.582] [LOG] Connecting socket for: MMM-GooglePhotos
[29.12.2022 20:42.46.583] [LOG] Sockets connected & modules started ...
[29.12.2022 20:42.46.846] [LOG] Launching application.
[29.12.2022 20:42.49.598] [LOG] [GPHOTOS] Starting Initialization
[29.12.2022 20:42.49.616] [LOG] [GPHOTOS] Getting album list
[29.12.2022 20:42.49.622] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:42.49.625] [LOG] [GPHOTOS:CORE] Getting Album info chunks.
[29.12.2022 20:42.50.290] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:42.50.291] [LOG] [GPHOTOS:CORE] Getting Album info chunks.
[29.12.2022 20:42.50.639] [LOG] [GPHOTOS] Finish Album scanning. Properly scanned : 1
[29.12.2022 20:42.50.647] [LOG] [GPHOTOS] Initialized
[29.12.2022 20:42.50.653] [LOG] [GPHOTOS] Initialization complete!
[29.12.2022 20:42.50.654] [LOG] [GPHOTOS] Start first scanning.
[29.12.2022 20:42.50.656] [LOG] [GPHOTOS] Start Album scanning
[29.12.2022 20:42.50.658] [LOG] [GPHOTOS] Prepping to get photo list from 'MagicMirror'
[29.12.2022 20:42.50.662] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:42.50.664] [LOG] [GPHOTOS:CORE] Indexing photos now. total: 0
[29.12.2022 20:42.50.681] [LOG] [GPHOTOS] successfully loaded cache of 6 photos
[29.12.2022 20:42.50.682] [LOG] [GPHOTOS] num to ref: 5 , DesChunk: 5 , totalLength: 6 , Pntr: 0
[29.12.2022 20:42.50.685] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:42.50.686] [LOG] [GPHOTOS:CORE] received: 5 to refresh
[29.12.2022 20:42.51.400] [LOG] [GPHOTOS] Got 6 photo(s) from 'MagicMirror'
[29.12.2022 20:42.51.407] [LOG] [GPHOTOS] Total indexed photos: 6
[29.12.2022 20:42.51.413] [LOG] [GPHOTOS] Photo list cache saved
[29.12.2022 20:42.51.697] [LOG] [GPHOTOS] refreshed: 5 , totalLength: 6 , Pntr: 5
[29.12.2022 20:42.51.698] [LOG] [GPHOTOS] just sent 5 more pics
[29.12.2022 20:44.51.299] [LOG] [GPHOTOS] Used last pic in list
[29.12.2022 20:44.51.304] [LOG] [GPHOTOS] num to ref: 1 , DesChunk: 40 , totalLength: 6 , Pntr: 5
[29.12.2022 20:44.51.308] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:44.51.309] [LOG] [GPHOTOS:CORE] received: 1 to refresh
[29.12.2022 20:44.51.810] [LOG] [GPHOTOS] refreshed: 1 , totalLength: 6 , Pntr: 6
[29.12.2022 20:44.51.811] [LOG] [GPHOTOS] just sent 1 more pics
[29.12.2022 20:44.51.814] [LOG] [GPHOTOS] Used last pic in list
[29.12.2022 20:44.51.815] [LOG] [GPHOTOS] num to ref: 6 , DesChunk: 40 , totalLength: 6 , Pntr: 0
[29.12.2022 20:44.51.817] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:44.51.817] [LOG] [GPHOTOS:CORE] received: 6 to refresh
[29.12.2022 20:44.52.316] [LOG] [GPHOTOS] refreshed: 6 , totalLength: 6 , Pntr: 6
[29.12.2022 20:44.52.317] [LOG] [GPHOTOS] just sent 6 more pics
[29.12.2022 20:47.21.299] [LOG] [GPHOTOS] Used last pic in list
[29.12.2022 20:47.21.300] [LOG] [GPHOTOS] num to ref: 6 , DesChunk: 40 , totalLength: 6 , Pntr: 0
[29.12.2022 20:47.21.301] [LOG] [GPHOTOS:AUTH] Token is alive.
[29.12.2022 20:47.21.302] [LOG] [GPHOTOS:CORE] received: 6 to refresh
[29.12.2022 20:47.21.774] [LOG] [GPHOTOS] refreshed: 6 , totalLength: 6 , Pntr: 6
[29.12.2022 20:47.21.775] [LOG] [GPHOTOS] just sent 6 more pics
[29.12.2022 20:48.46.278] [LOG] Shutting down server...
Hello there,
It appears that this module does not work if the screen position is set to "middle_third". When this position is used, main.js fails on line 36
wrapper.appendChild(dom);
I have no idea why this is so, but it appears to work with all other positions I have tested. I am not sure if this is an issue with this module or MagicMirror itself.
I have found a solution that works for me, but I don't know if I should close this issue?? Thanks.
Kind regards,
Daniel
My bad, there is no screen position "middle_third", just "middle_center". Closing this issue.
Observed behaviour : Photos from Google Photos library not displayed on MagicMirror
Expected behaviour : Photos from Google Photos library are displayed when MMM-GooglePhotos is enabled.
Additional Information : I just set up magic mirror 2 days ago on a RasPi 4
Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
To debug the issue:
Any suggestions welcome. Thank you !
Kind regards,
Terminal output log
Console log