wk8 / Brive

Google Drive Backup app
The Unlicense
34 stars 6 forks source link

Suspended Google Users Crash Brive #10

Open shawniverson opened 9 years ago

shawniverson commented 9 years ago

oauth2client.client.AccessTokenRefreshError: invalid_request

wk8 commented 9 years ago

Mind elaborating a bit more?

shawniverson commented 9 years ago

When a user is marked as suspended in Google, Brive fails with the above message when it reaches the user. There doesn't appear to be a way to skip or exclude suspended users.

wk8 commented 9 years ago

Ah. Indeed that would make it crash. I guess I had never encountered that case before.

However, please note that you can exclude a user with the --user-regex option set to ^((?!login)|login.).*$ but I agree that's a bit convoluted :-/ will add a --user-exclude-regex option when I get some time, and also give a more meaningful error message in that case.

wk8 commented 9 years ago

This might be solved by https://github.com/wk8/Brive/pull/13 but I don't have a Google domain account handy to test it. Mind doing that for me? Thanks!

shawniverson commented 9 years ago

Yes, I'll test that.