-
Notifications
You must be signed in to change notification settings - Fork 71
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
Error encoding mail #7
Comments
Which Python versione are you using? |
Python 2.7.11 Oh and i missed to tell you (but I think it's not the same problem), at the first launch i've had this error : So, i've installed oauth2client package (pip install...), but the last version of this package (2.0) don't fix, so i've installed the old 1.5.2 : |
Hi Settler, did installing the older version of oauth2client fix that ImportError for you? I'm having the same problem but struggling to overwrite the newer oauth with the older one.. Thanks |
Hi shirkethic, No, i've write a poor hot fix with my poor knowledge in python to import these type of mail (<5% of all mail) with a bad encoding. |
With regards to the encoding issue: I think I managed to fix it, I'll upload a new release shortly. With regards to the Thanks for reporting! |
Fixed in commit f049fa4. |
@Settler6079SW and @shirkethic, can you try the new version? Please let me know whether it works now. Thanks! |
Hi Liron, Should we upgrade again back to the latest v of pip install oauth2client which version is correct for this build? Many thanks! Paul
|
@shirkethic the correct version is the latest version of oauth2client. You'd need to use |
Hello @eesheesh Here is the message :
If you want, i have exported the 'message' object with pickle library. |
Ok, I think I have it fixed now: https://github.com/google/import-mailbox-to-gmail/releases/tag/v1.3 If it still fails, would it be possible for you to send me the message object, if it doesn't contain any private information? |
Hello @eesheesh I think it's ok, thanks for your support. |
Thanks for confirming! |
Hello,
(Sorry for my bad english)
For some e-mail, i've an UnicodeDecodeError, it seems the e-mail is already in UTF-8.
The text was updated successfully, but these errors were encountered: