Open bns14288 opened 5 years ago
I ran into this same issue, and I believe this can occur when the number of emails you have gets large. I used the workaround mentioned here, except you need to use a larger number because _MAXLINE has been since updated to 1000000.
I monkey patched the imaplib library in my venv. I added imaplib._MAXLINE = 10000000
below import imaplib
in gmvault-venv/lib/python2.7/site-packages/imapclient/imapclient.py
import imaplib
imaplib._MAXLINE = 10000000
I'm no longer getting the error.
My python chops are terrible, but I suspect mod_imap.py could be changed to accommodate this.
I have a Business gmail account. It synced 10000 emails approx but suddenly when i restarted from the gmvault shell.
It is throwing an error : Received an IMAP abort error. Wait 1 second(s) and retrying.
Received an IMAP abort error. Wait 1 second(s) and retrying. Disconnecting from Gmail Server and sleeping ... Reconnecting to the from Gmail Server. Get OAuth2 credential from C:\Users\Evosys/.gmvault/bhaveshs@evosysglobal.com.oauth2.
i have also reviewed the conf file and enable_imap_compression = false. I have tried all the scenarios mentioned in #154 but still my issue exists. but it still fails i m not able to take my backup please help me on the same. I also tried reinstalling gmvault but no luck. Its a bit urgent.