-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - gmvault_defaults.conf overwritten #245
Comments
This is a bad behavior of this great app. $> gmvault sync --type custom --imap-req 'Since 1-Nov-2011 Before 10-Nov-2011' '[email protected]' -c no |
This is fixed here - #273 |
@lalinsky @LeoFCardoso @Stufo76 you can test the latest beta version here (beta windows and mac os x package available): or from the branch gmv-1.9.2 Help required for testing to see if I missed something. Many thanks for the testing. |
@Stufo76 @lalinsky @LeoFCardoso version 1.9.2-beta-1 available for test and fixing many additional problems (especially in the restore). Please test it and let me know if this is fine within 6 days. Many thanks. https://www.dropbox.com/sh/d5ceo77juacr03y/AACUGcTt6Um-6j6JmBizGPA2a?dl=0 |
@gaubert , I've been using 1.92-beta-1 and it appears to have fixed the gmvault_defaults.conf overwrite bug. However, a couple of times since installing this beta version I have experienced the following error when doing a full sync using gmvault sync -d FolderName [email protected] -c no (and then after the 1st crash: gmvault sync --resume -d FolderName [email protected] -c no ): Error: [Errno -1] Unexpected EOF. The crashes occurred after email num 31935 & 126066 I have never experienced this error before with 1.91. Here is a screenshot of the Exception traceback: https://www.dropbox.com/s/e3ifr2hf14imo0c/2017-02-14%2009_14_34-GMVAULT-SHELL.png?dl=0 |
@aberja ok thanks a lot I have encountered that problem during my testing. I need to check. |
@aberja there seem to be problems with the python ssl support in the imap lib. |
@gaubert Yes, I think that makes sense. It would be nice if gmvault would actually --resume automatically after the error. I've done more testing over the last couple of days and I only see the error when syncing emails >10k. This could be a coincidence, but I thought I would mention it just in case it helps. |
@gaubert As I was testing the beta version I came across another error: Error: Problems when trying to connect to Google oauth2 endpoint: https://accounts.google.com/o/oauth2/token The Screenshot of the error can be found here: https://www.dropbox.com/s/yixx2zo4srv9wl5/2017-02-18%20GMVAULT-SHELL%20Error%20400.png?dl=0 The error occurs when one adds 2 step authorization to a Gmail account after having set the account up in gmvault. I'm not sure why this occurs because I thought using oauth got around this type of issue. Perhaps Google terminates all existing tokens when it adds 2 step authorization? I had a Gmail account without 2 step authorization which I was syncing with gmvault for the past couple of months. Today I decided to add 2 step authorization and see what would happen with gmvault. The result was an error 400 and no ability to continue syncing the account. |
Just a quick follow-up to my last post about the oauth2 error. I worked around the issue by deleting the respective .oauth2 file in gmvault/.gmvault and rerunning the sync command in gmvault. gmvault then obtained a new token and I was able to sync the account. |
My conf:
Hi all,
I have to backup and restore daily, so I tried to change /root/.gmvault/gmvault_defaults.conf
but, if I run:
gmvault sync -type quick -d /my/db/folder [email protected]
gmavault says:
and $HOME/.gmvault/gmvault_defaults.conf was overwritten with defaults.
Same for restore.
How can I permanent change sync and restore of last 24 hours?
Or, can I pass arguments to gmvault in order to have same result?
Thank you very much.
The text was updated successfully, but these errors were encountered: