Issues with email backups - #497
Replies: 1 comment
-
Was able to fix this usse. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since a couple of days ago I'd bene getting the following error every time that I attempt to do a local backup for a user. This command used to work correctly until now:
gyb --email user@mydomain.com --local-folder "D:\GYBWorking\user_email_backup_yyyymmdd"
So, all selections done, chrome opens up for the validation, I get the link (below in the script), but as I'm getting the link, the page opens up for the credentials, immediately I'm already getting the scrip error exception. It's like there is no wait all of the sudden or something fails that the script no longer waits for the response.
Basically I'm not even authenticating in the web browser and this is already failing.
https://gyb-shortn.jaylee.us/some-code-here
IMPORTANT: If you get a browser error that the site can't be reached AFTER you
click the Allow button, copy the URL from the browser where the error occurred
and paste that here instead.
Enter verification code or browser URL:
Traceback (most recent call last):
File "gyb.py", line 1047, in run_dual
File "google_auth_oauthlib\flow.py", line 285, in fetch_token
File "requests_oauthlib\oauth2_session.py", line 278, in fetch_token
ValueError: Please supply either code or authorization_response parameters.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gyb.py", line 2897, in
File "gyb.py", line 2120, in main
File "gyb.py", line 422, in getValidOauth2TxtCredentials
File "gyb.py", line 540, in requestOAuthAccess
File "gyb.py", line 1076, in _run_oauth_flow
File "gyb.py", line 1052, in run_dual
NameError: name 'display' is not defined
[6000] Failed to execute script 'gyb' due to unhandled exception!
I have recreated the Auth and still getting the same error.
Regards,
Dave
Beta Was this translation helpful? Give feedback.
All reactions