Comments (4)
Quick update, it always seems to crash out at email num 6228. Here is the trace:
Process email num 6228 (imap_id:12157) from 2006-11.
error message = System Error. traceback:Traceback (most recent call last):
File "/Users/me/bin/gmvault-v1.0-beta/lib/gmv/imap_utils.py", line 109, in wrapper
return the_func(*args, **kwargs)
File "/Users/me/bin/gmvault-v1.0-beta/lib/gmv/imap_utils.py", line 316, in fetch
return self.server.fetch(a_ids, a_attributes)
File "/Users/me/bin/gmvault-v1.0-beta/lib/python-lib/lib/python2.7/site-packages/imapclient/imapclient.py", line 673, in fetch
typ, data = self._imap._command_complete('FETCH', tag)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 903, in _command_complete
self._check_bye()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 815, in _check_bye
raise self.abort(bye[-1])
abort: System Error
from gmvault.
Thanks for reporting this potential problem.
First be also sure to not have the 1000 emails limit by folders activated in Gmail Setting -> IMAP (see http://flic.kr/p/bUwNK9).
I would like to understand why it fails always on the same email.
Could you please run it in debug mode (--debug) as I would like to see the error.
Gmail in the past has corrupted some of the emails. I had this issue where some of my emails cannot be read anymore.
Gmvault flags these emails and they are ignored. You might be in a case that I did not encountered.
Now Gmvault does not re-download the email if it has already been stored locally. It only gets the metadata information (gm id, imap id, dates, ...) so it should be much shorter the second time.
To even shorter the backup process I have added a restart mode in sync like there was one in restore. It will be available in the next version of Gmvault (available in one to two weeks).
from gmvault.
The trace above (ending with abort: System Error
) is what I see repeated 5 or 6 times in a row. It's the same thing reported here #4.
I'm rerunning now and will look more closely at that last email that fails.
from gmvault.
Unfortunately I'm unable to find the exact email that is failing. gmvault throws the exception and does not write the message / metadata to the db.
I took a quick look in the code but it was non-obvious where I could inject a variable dump to capture the email after it was fetched from google but before the exception occurred.
If you have an idea of where to inject an if nb_emails_processed == 6228: ...
please let me know. Happy to test it.
from gmvault.
Related Issues (20)
- Can other users of the gmail account see if this script has been used/ is being used?
- Buhle00.com HOT 1
- https://buhle00#330
- Installation failure HOT 5
- How to install 1.9.2 (beta) or upgrade 1.9.1 to 1.9.2(beta) under Win10
- see https://github.com/gaubert/gmvault/blob/ee915c2799927a30e95963a9c406b415f4825cce/src/gmv/credential_utils.py#L38-L58 HOT 1
- Are deletions propagated? HOT 1
- "This app is blocked" HOT 4
- Gmail claims Im using 50GB, backup is 17GB HOT 1
- email from Google: [Action Required] Migrate your OAuth out-of-band flow to an alternative method before Oct. 3, 2022 HOT 23
- uth
- [Question] Full Documentation of gmvault_default.conf? HOT 1
- Error: Problems when trying to connect to Google oauth2 endpoint: https://accounts.google.com/o/oauth2/token HOT 1
- Error 400: invalid_request at installation/setup HOT 1
- ImportError: cannot import name 'Feature' from 'setuptools' HOT 1
- Windows 10 Uninstall
- improvement: Allow export to pst file HOT 2
- All chats being deleted HOT 1
- Access blocked: Gmvault’s request is invalid - Mac OSX HOT 1
- Chocolatey package version of Gmvault is out of date. Can you please update it with new package attached here? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmvault.