perkeep / gphotos-cdp

This program uses the Chrome DevTools Protocol to drive a Chrome session that downloads your photos stored in Google Photos.
Apache License 2.0
651 stars 36 forks source link

Timeout waiting for left navigation #12

Closed mwgnr closed 4 years ago

mwgnr commented 4 years ago

I'm getting the following error message after downloading the last item: "timeout waiting for left navigation". As a workaround, I get the url of the first item and compare it with the "location" variable. If they are the same "navN" breaks. Is this expected behavior?

mpl commented 4 years ago

Are you saying you're seeing an error for the very last item to be downloaded (i.e. the most recent one) in your collection? If yes, no that is not expected, but otoh tbh I didn't do a full rerun on all my collection after the latest changes, so it's not that surprising either. I'll retest and confirm, thanks.

mwgnr commented 4 years ago

Yes, I get this error after downloading the most recent photo:

2020/04/06 16:04:44 Marking https://photos.google.com/u/0/photo/A...k_ as done
2020/04/06 16:05:44 error at https://photos.google.com/u/0/photo/A...k_: timeout waiting for left navigation
JakeWharton commented 4 years ago

Same for both my incremental sync's. They're hanging on the most recent photo.

mpl commented 4 years ago

ok, I can reproduce, thanks.

mpl commented 4 years ago

Alright, https://github.com/perkeep/gphotos-cdp/pull/14 should take care of the problem, even though it's not very fancy.

Can you please try it out and let me know if it works for you?