yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 167 forks source link

'acd_cli sync' warning "End of change request not reached" returns succes #488

Open notDavid opened 7 years ago

notDavid commented 7 years ago

Hi, so if i run acd_cli sync and get this warning:

Last sync was very recent or has invalid date. Waiting 3m 27s.
Getting changes......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Inserting nodes......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
16-11-17 19:07:51.050 [WARNING] [acdcli.api.metadata] - End of change request not reached.

this returns exit status success; I think it would be nice to return an error instead, so we can loop acd_cli sync in a script until it returns success (since it takes many hours to do a fresh sync, if the cache got corrupt.)

(acd_cli 0.3.2, api 0.9.0 ; Python 3.4.2 ; Linux-3.16.0-4-amd64-x86_64-with-debian-8.6)

yadayada commented 7 years ago

For now, I put in a check to look for the existence of the root node after syncing.

notDavid commented 7 years ago

Thanks..! but uhh, would you please briefly explain what the hell that means in English? ;-)

freakytoad1 commented 7 years ago

Had the same issue that when I ran acdcli sync when it was done getting changes and before inserting nodes I got the end of change request not reached. This was after doing a acdcli cc and then running acdcli sync. I have then tried the acdcli old-sync and that tells me to try again later. I then completely removed acdcli from my machine and reinstalled, reauthorized. Same issue. When I run acdcli sync I get end of change request not reached. When I do acdcli old-sync I get requesterror 429: System unavailable. Please back off for a while and try again later.

I didn't have these issues until I updated my linux machine today though so I don't know if that had something to do with it.