Comments (15)
Please run it again with the option --debug and send me the logs (there is a gmvault.log file in the dir from where you run the tool). You can instead send me the console output.
from gmvault.
thanks. i just reran restore will debug switch.
btw: i am restoring 20000+ emails. it took 12 hours to get to the error last run.
On May 9, 2012, at 2:47 AM, Guillaume [email protected] wrote:
Please run it again with the option --debug and send me the logs (there is a gmvault.log file in the dir from where you run the tool). You can instead send me the console output.
Reply to this email directly or view it on GitHub:
#24 (comment)
from gmvault.
I forgot to mention it but use the --restart option to restart few seconds (up to 20 emails) where you failed. It should not take 20 hours :-).
You might have a bad email in Gmail (corrupted or not readable). I will write some blog posts about that.
Anyway I would like to catch the error to have something understandable by users.
from gmvault.
Here's the error with debug switch on:
Restore email with id 1372316080664518749.
Unburied email with id 1372316080664518749.
Created labels [] for email with id 1372316080664518749.
Before to Append
Appended data with flags [u'\Seen'] and internal time 2011-06-22 07:36:39
Pushed email with id 1372316080664518749.
Restore email with id 1372317707363560697.
Unburied email with id 1372317707363560697.
Error 'int' object has no attribute 'split'. For more information see log
file
Traceback (most recent call last):
File "gmv_cmd.py", line 475, in run
File "gmv_cmd.py", line 383, in _restore
File "gmvault.pyc", line 858, in restore
File "imap_utils.pyc", line 377, in create_gmail_labels
File "imap_utils.pyc", line 350, in _get_dir_from_labels
AttributeError: 'int' object has no attribute 'split'
Traceback (most recent call last):
File "gmv_cmd.py", line 475, in run
File "gmv_cmd.py", line 383, in _restore
File "gmvault.pyc", line 858, in restore
File "imap_utils.pyc", line 377, in create_gmail_labels
File "imap_utils.pyc", line 350, in _get_dir_from_labels
AttributeError: 'int' object has no attribute 'split'
from gmvault.
I've observed that:
- emails that has caused this error contains at least one URL in the messagebody
from gmvault.
Ok thanks I will check that tonight.
from gmvault.
It has to do with the label you use. Could you please send me via email (guillaume((dot))aubert((at))gmail((dot))com)
the file 1372317707363560697.meta. I would like to check its content.
There is no confidential info in it (no worries).
Thanks
from gmvault.
{"thread_ids": 1372317707363560697, "msg_id": null, "flags": ["\Seen"], "gm_id": 1372317707363560697, "internal_date": 1308729751, "labels": [0, "\Sent"], "subject": null}
from gmvault.
You should not have a 0 in labels. Could you let me know what are the original labels.
I will recreate a test with your configuration.
from gmvault.
I have a label called "00000"
from gmvault.
that's where the message should be restored to be it errors
from gmvault.
You have "00000" in addition to the Sent label ?
I will add that in my test and see why Gmvault stores a 0 (the int number) and not a string. This is probably what I get from the imaplib. I will let you know, thanks for the help.
from gmvault.
Yes, it is a message I sent to myself (as a reminder) then I flag it with a "00000" label. The "00000" label is sorted to the top, that is why I have it.
from gmvault.
I have reproduced the error and when you use a number as label, imap return me the number. So for you it is 0.
Cool :-(. I need to understand if it is Gmail IMAP or the python lib that does this.
In the mean time I could add a quick fix. If it is a number convert it as a string. So your restored label would be "0" instead of "0000".
It isn't fully satisfying but I might not be able to do better than that.
from gmvault.
I've already global searched and replace the 0 to a string and did a successful full restore. thanks for the efforts and hard work.. Awaiting for the next version.
from gmvault.
Related Issues (20)
- 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
- Invalid request error returned when attempting to connect HOT 4
- Build fails on 2 separate Ubuntu 22.04 with pip and sudo python3 setup.py install HOT 2
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.